Branch
Hash :
0161e638
Author :
Date :
2008-08-28T15:36:32
completely different fix for the recursion detection based on entity * 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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElementNs(RDF, RDF, 'http://www.w3.org/TR/WD-rdf-syntax#', 2, xmlns:p3p='http://www.w3.org/TR/1998/WD-P3P10-syntax#proposal.DTD', xmlns:RDF='http://www.w3.org/TR/WD-rdf-syntax#', 0, 0)
SAX.characters(
, 1)
SAX.startElementNs(PROP, NULL, NULL, 0, 4, 0, realm='http...', 37, entity='Cool...', 11, agreeID='94df...', 16, assurance='http...', 22)
SAX.characters(
, 3)
SAX.startElementNs(USES, NULL, NULL, 0, 0, 0)
SAX.characters(
, 3)
SAX.startElementNs(STATEMENT, NULL, NULL, 0, 4, 0, purp='2,3"...', 3, recpnt='0" i...', 1, id='0"
...', 1, consq='a si...', 37)
SAX.characters(
, 5)
SAX.startElementNs(WITH, NULL, NULL, 0, 0, 0)
SAX.startElementNs(PREFIX, NULL, NULL, 0, 1, 0, name='User...', 5)
SAX.characters(
, 6)
SAX.startElementNs(REF, NULL, NULL, 0, 1, 0, name='Name...', 10)
SAX.endElementNs(REF, NULL, NULL)
SAX.characters(
, 6)
SAX.startElementNs(REF, NULL, NULL, 0, 2, 0, name='Bdat...', 10, optional='1"/>...', 1)
SAX.endElementNs(REF, NULL, NULL)
SAX.characters(
, 6)
SAX.startElementNs(REF, NULL, NULL, 0, 1, 0, name='Gend...', 6)
SAX.endElementNs(REF, NULL, NULL)
SAX.characters(
, 5)
SAX.endElementNs(PREFIX, NULL, NULL)
SAX.endElementNs(WITH, NULL, NULL)
SAX.characters(
, 3)
SAX.endElementNs(STATEMENT, NULL, NULL)
SAX.characters(
, 3)
SAX.endElementNs(USES, NULL, NULL)
SAX.characters(
, 3)
SAX.startElementNs(USES, NULL, NULL, 0, 0, 0)
SAX.characters(
, 3)
SAX.startElementNs(STATEMENT, NULL, NULL, 0, 4, 0, action='read...', 14, purp='0" r...', 1, recpnt='0" i...', 1, id='1">
...', 1)
SAX.characters(
, 5)
SAX.startElementNs(REF, NULL, NULL, 0, 1, 0, name='User...', 14)
SAX.endElementNs(REF, NULL, NULL)
SAX.characters(
, 3)
SAX.endElementNs(STATEMENT, NULL, NULL)
SAX.characters(
, 3)
SAX.endElementNs(USES, NULL, NULL)
SAX.characters(
, 3)
SAX.startElementNs(DISCLOSURE, NULL, NULL, 0, 3, 0, discURI='http...', 47, access='3" o...', 1, other='0,1"...', 3)
SAX.endElementNs(DISCLOSURE, NULL, NULL)
SAX.characters(
, 1)
SAX.endElementNs(PROP, NULL, NULL)
SAX.endElementNs(RDF, RDF, 'http://www.w3.org/TR/WD-rdf-syntax#')
SAX.endDocument()