1 SAX.setDocumentLocator() 2 SAX.startDocument() 3 SAX.internalSubset(doc, , ) 4 SAX.elementDecl(doc, 4, ...) 5 SAX.elementDecl(a, 3, ...) 6 SAX.elementDecl(b, 3, ...) 7 SAX.elementDecl(c, 3, ...) 8 SAX.elementDecl(d, 3, ...) 9 SAX.externalSubset(doc, , ) 10 SAX.startElementNs(doc, NULL, NULL, 0, 0, 0) 11 SAX.startElementNs(b, NULL, NULL, 0, 0, 0) 12 SAX.characters(This, 4) 13 SAX.endElementNs(b, NULL, NULL) 14 SAX.startElementNs(c, NULL, NULL, 0, 0, 0) 15 SAX.characters( is a, 5) 16 SAX.endElementNs(c, NULL, NULL) 17 SAX.startElementNs(d, NULL, NULL, 0, 0, 0) 18 SAX.characters( valid document, 15) 19 SAX.endElementNs(d, NULL, NULL) 20 SAX.endElementNs(doc, NULL, NULL) 21 SAX.endDocument() 22