protected boolean isGrammarElement( StartTagInfo tag ) {
return reader.isGrammarElement(tag);
}
public void startElement( String namespaceURI, String localName, String qName, Attributes atts ) {
final StartTagInfo tag = new StartTagInfo(
namespaceURI,localName,qName,new AttributesImpl(atts),(IDContextProvider2)null);
// we have to copy Attributes, otherwise it will be mutated by SAX parser
if( isGrammarElement(tag) ) {
// this is a grammar element.