mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-14 19:24:06 +03:00
dbaab1f369
This detects regressions like bug 760367.
16 lines
444 B
Plaintext
16 lines
444 B
Plaintext
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()
|