Hash :
dbaab1f3
Author :
Date :
2017-06-16T21:38:57
Test SAX2 callbacks with entity substitution This detects regressions like bug 760367.
SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(doc, , )
SAX.entityDecl(YN, 1, (null), (null), "Yes")
SAX.getEntity(YN)
SAX.entityDecl(WhatHeSaid, 1, (null), (null), He said &YN;)
SAX.getEntity(WhatHeSaid)
SAX.externalSubset(doc, , )
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.getEntity(WhatHeSaid)
SAX.characters(He said , 8)
SAX.getEntity(YN)
SAX.characters("Yes", 5)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()