mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-24 21:33:51 +03:00
0161e638c6
* parser.c include/libxml/parser.h: completely different fix for the recursion detection based on entity density, big cleanups in the entity parsing code too * result/*.sax*: the parser should not ask for used defined versions of the predefined entities * testrecurse.c: automatic test for entity recursion checks * Makefile.am: added testrecurse * test/recurse/lol* test/recurse/good*: a first set of tests for the recursion Daniel svn path=/trunk/; revision=3783
13 lines
432 B
Plaintext
13 lines
432 B
Plaintext
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.internalSubset(EXAMPLE, , example.dtd)
|
|
SAX.entityDecl(xml, 1, (null), (null), Extensible Markup Language)
|
|
SAX.getEntity(xml)
|
|
SAX.externalSubset(EXAMPLE, , example.dtd)
|
|
SAX.getEntity(xml)
|
|
SAX.startElementNs(EXAMPLE, NULL, NULL, 0, 2, 0, prop1='a...', 7, prop2='&xml...', 5)
|
|
SAX.characters(
|
|
Test of entities in attribu, 35)
|
|
SAX.endElementNs(EXAMPLE, NULL, NULL)
|
|
SAX.endDocument()
|