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
149 lines
3.1 KiB
Plaintext
149 lines
3.1 KiB
Plaintext
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.internalSubset(doc, , )
|
|
SAX.attributeDecl(normId, attr, 8, 3, NULL, ...)
|
|
SAX.externalSubset(doc, , )
|
|
SAX.startElement(doc)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.comment( no normalization )
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' foo bar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' foobar')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' foo bar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr='foobar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' & ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' foo&bar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' foobar&')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr='&foo bar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr='foobar &')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' < ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' foo<bar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' foobar<')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr='<foo bar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr='foobar <')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr='
|
|
')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.comment( normalization )
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' foo bar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' foobar')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' foo bar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr='foobar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' & ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' foo&bar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' foobar&')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr='&foo bar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr='foobar &')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' < ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' foo<bar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' foobar<')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr='<foo bar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr='foobar <')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr='
|
|
')
|
|
SAX.endElement(normId)
|
|
SAX.characters( , 1)
|
|
SAX.comment( PBM serializing back )
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endElement(doc)
|
|
SAX.endDocument()
|