public void ignoreUnknownElements(final String pattern){
  ignoreUnknownElements(Pattern.compile(pattern));
}

public void ignoreUnknownElements ( final String pattern ) { ignoreUnknownElements ( Pattern . compile ( pattern ) ) ; }
add pattern for unknown element names to ignore .
