mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-24 21:33:51 +03:00
fdc5ff3657
When parsing with XML_PARSE_DTDLOAD, missing entities are always an
error.
Also consolidate behavior when validating. See b717abdd
.
22 lines
640 B
Plaintext
22 lines
640 B
Plaintext
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.internalSubset(test, , )
|
|
SAX.elementDecl(test, 3, ...)
|
|
SAX.entityDecl(xx, 4, (null), (null), %zz;)
|
|
SAX.getParameterEntity(xx)
|
|
SAX.entityDecl(zz, 4, (null), (null), <!ENTITY tricky "error-prone" >)
|
|
SAX.getParameterEntity(zz)
|
|
SAX.getParameterEntity(xx)
|
|
SAX.getParameterEntity(zz)
|
|
SAX.entityDecl(tricky, 1, (null), (null), error-prone)
|
|
SAX.getEntity(tricky)
|
|
SAX.externalSubset(test, , )
|
|
SAX.startElement(test)
|
|
SAX.characters(This sample shows a , 20)
|
|
SAX.getEntity(tricky)
|
|
SAX.characters(error-prone, 11)
|
|
SAX.reference(tricky)
|
|
SAX.characters( method., 8)
|
|
SAX.endElement(test)
|
|
SAX.endDocument()
|