1 SAX.setDocumentLocator() 2 SAX.startDocument() 3 SAX.internalSubset(doc, , ) 4 SAX.entityDecl(test1, 1, (null), (null), test 1) 5 SAX.getEntity(test1) 6 SAX.entityDecl(test2, 1, (null), (null), test 2) 7 SAX.getEntity(test2) 8 SAX.externalSubset(doc, , ) 9 SAX.startElement(doc) 10 SAX.characters( 11 , 4) 12 SAX.startElement(Content) 13 SAX.characters(Reten, 5) 14 SAX.characters(, 2) 15 SAX.characters(, 2) 16 SAX.characters(o, 1) 17 SAX.endElement(Content) 18 SAX.characters( 19 , 4) 20 SAX.startElement(Content) 21 SAX.characters(<, 1) 22 SAX.characters(>, 1) 23 SAX.endElement(Content) 24 SAX.characters( 25 , 4) 26 SAX.startElement(Content) 27 SAX.getEntity(test1) 28 SAX.characters(test 1, 6) 29 SAX.reference(test1) 30 SAX.getEntity(test2) 31 SAX.characters(test 2, 6) 32 SAX.reference(test2) 33 SAX.endElement(Content) 34 SAX.characters( 35 , 1) 36 SAX.endElement(doc) 37 SAX.endDocument() 38