Tag
Hash :
97c9ce2e
Author :
Date :
2008-03-25T16:52:41
fix various attribute normalisation problems reported by Ashwin this * parser.c: fix various attribute normalisation problems reported by Ashwin * result/c14n/without-comments/example-4 result/c14n/with-comments/example-4: this impacted the result of two c14n tests :-\ * test/att9 test/att10 test/att11 result//att9* result//att10* result//att11*: added 3 specific regression tests coming from the XML spec revision and from Ashwin Daniel svn path=/trunk/; revision=3715
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
SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(doc, , )
SAX.elementDecl(doc, 4, ...)
SAX.elementDecl(tst, 3, ...)
SAX.attributeDecl(tst, a, 8, 3, NULL, ...)
SAX.attributeDecl(tst, b, 1, 3, NULL, ...)
SAX.entityDecl(d, 1, (null), (null),
)
SAX.getEntity(d)
SAX.entityDecl(a, 1, (null), (null),
)
SAX.getEntity(a)
SAX.entityDecl(da, 1, (null), (null),
)
SAX.getEntity(da)
SAX.externalSubset(doc, , )
SAX.startElement(doc)
SAX.characters(
, 1)
SAX.startElement(tst, a=' xyz', b=' xyz')
SAX.endElement(tst)
SAX.characters(
, 1)
SAX.getEntity(d)
SAX.getEntity(d)
SAX.getEntity(a)
SAX.getEntity(a)
SAX.getEntity(da)
SAX.getEntity(d)
SAX.getEntity(d)
SAX.getEntity(a)
SAX.getEntity(a)
SAX.getEntity(da)
SAX.startElement(tst, a='&d;&d;A&a; &a;B&da;', b='&d;&d;A&a; &a;B&da;')
SAX.endElement(tst)
SAX.characters(
, 1)
SAX.startElement(tst, a='
A
B
', b='
A
B
')
SAX.endElement(tst)
SAX.characters(
, 1)
SAX.startElement(tst, a=' x y ', b=' x y ')
SAX.endElement(tst)
SAX.characters(
, 1)
SAX.startElement(tst, a=' a b ', b=' a b ')
SAX.endElement(tst)
SAX.characters(
, 1)
SAX.startElement(tst, a=' a b ', b=' a b ')
SAX.endElement(tst)
SAX.characters(
, 1)
SAX.endElement(doc)
SAX.endDocument()