...
Usually, this means that additional elements and/or PCDATA are necessary to make the document valid.
Fields of the class provide information about enclosing tag. (In case of the above example, it is html.)
html
113114115116117118119120121122123
public void startElement( String ns, String local, String qname, Attributes atts ) throws SAXException { ErrorInfo ei = null; boolean unknownError = false; try { super.startElement(ns,local,qname,atts); // there is no error.
161162163164165166167168169170171
indent++; } public void endElement( String ns, String local, String qname ) throws SAXException { ErrorInfo ei = null; try { super.endElement(ns,local,qname); // there is no error. } catch( ValidityViolation vv ) {