Commit 4a5a964c authored by Daniel Veillard's avatar Daniel Veillard
Browse files

added SAXv2 regression tests apparently missing. added SAX1/SAX2 checks.

* result/*.sax2 MAkefile.am: added SAXv2 regression tests apparently
  missing.
* runtest.c: added SAX1/SAX2 checks.
Daniel
parent bc0e3c6b
Mon Jun 27 11:39:50 CEST 2005 Daniel Veillard <daniel@veillard.com>
* result/*.sax2 MAkefile.am: added SAXv2 regression tests apparently
missing.
* runtest.c: added SAX1/SAX2 checks.
Mon Jun 27 12:24:54 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net> Mon Jun 27 12:24:54 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* tree.c include/libxml/tree.h: Added * tree.c include/libxml/tree.h: Added
......
...@@ -726,7 +726,7 @@ Readertests : xmllint$(EXEEXT) ...@@ -726,7 +726,7 @@ Readertests : xmllint$(EXEEXT)
SAXtests : testSAX$(EXEEXT) SAXtests : testSAX$(EXEEXT)
@(echo > .memdump) @(echo > .memdump)
@echo "## SAX callbacks regression tests" @echo "## SAX1 callbacks regression tests"
-@(for i in $(srcdir)/test/* ; do \ -@(for i in $(srcdir)/test/* ; do \
name=`basename $$i`; \ name=`basename $$i`; \
if [ ! -d $$i ] ; then \ if [ ! -d $$i ] ; then \
...@@ -741,6 +741,21 @@ SAXtests : testSAX$(EXEEXT) ...@@ -741,6 +741,21 @@ SAXtests : testSAX$(EXEEXT)
if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \ if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
rm result.$$name ; \ rm result.$$name ; \
fi ; fi ; done) fi ; fi ; done)
@echo "## SAX2 callbacks regression tests"
-@(for i in $(srcdir)/test/* ; do \
name=`basename $$i`; \
if [ ! -d $$i ] ; then \
if [ ! -f $(srcdir)/result/$$name.sax2 ] ; then \
echo New test file $$name ; \
$(CHECKER) $(top_builddir)/testSAX --sax2 $$i > $(srcdir)/result/$$name.sax2 2> /dev/null ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
else \
log=`$(CHECKER) $(top_builddir)/testSAX --sax2 $$i > result.$$name 2> /dev/null ; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
diff $(srcdir)/result/$$name.sax2 result.$$name` ; \
if [ -n "$$log" ] ; then echo $$name result ; echo $$log ; fi ; \
rm result.$$name ; \
fi ; fi ; done)
Validtests : xmllint$(EXEEXT) Validtests : xmllint$(EXEEXT)
@(echo > .memdump) @(echo > .memdump)
......
SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElementNs(doc, NULL, NULL, 0, 1, 0, attr='to n...', 28)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()
SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElementNs(doc, NULL, NULL, 0, 1, 0, attr='to n...', 27)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()
SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElementNs(select, NULL, NULL, 0, 1, 0, onclick='aaaa...', 17)
SAX.characters(f, 1)
SAX.characters( , 2)
SAX.characters(oo, 2)
SAX.endElementNs(select, NULL, NULL)
SAX.endDocument()
This diff is collapsed.
SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(doc, , )
SAX.attributeDecl(normId, attr, 8, 3, NULL, ...)
SAX.externalSubset(doc, , )
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.characters(
, 3)
SAX.comment( no normalization )
SAX.characters(
, 3)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' '...', 3)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' f...', 13)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' fo...', 8)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' foo...', 9)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr='foob...', 8)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(amp)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' &#3...', 7)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(amp)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' f...', 17)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(amp)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' fo...', 13)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(amp)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr='&#38...', 13)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(amp)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr='foob...', 13)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(lt)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' < ...', 3)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(lt)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' f...', 13)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(lt)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr=' fo...', 9)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(lt)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr='<foo...', 9)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(lt)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr='foob...', 9)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.startElementNs(norm, NULL, NULL, 0, 1, 0, attr='
...', 6)
SAX.endElementNs(norm, NULL, NULL)
SAX.characters(
, 3)
SAX.comment( normalization )
SAX.characters(
, 3)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr=''/>
...', 0)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='foo ...', 7)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='foob...', 6)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='foo ...', 7)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='foob...', 6)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(amp)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='&#38...', 5)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(amp)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='foo&...', 11)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(amp)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='foob...', 11)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(amp)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='&#38...', 12)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(amp)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='foob...', 12)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(lt)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='<...', 1)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(lt)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='foo<...', 7)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(lt)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='foob...', 7)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(lt)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='<foo...', 8)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.getEntity(lt)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='foob...', 8)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters(
, 3)
SAX.startElementNs(normId, NULL, NULL, 0, 1, 0, attr='
...', 3)
SAX.endElementNs(normId, NULL, NULL)
SAX.characters( , 1)
SAX.comment( PBM serializing back )
SAX.characters(
, 1)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()
SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElementNs(Invoice, NULL, 'urn:oasis:names:tc:ubl:Invoice:1.0:0.70', 4, xmlns:ccts='urn:oasis:names:tc:ubl:CoreComponentParameters:1.0:0.70', xmlns:cct='urn:oasis:names:tc:ubl:CoreComponentTypes:1.0:0.70', xmlns:cat='urn:oasis:names:tc:ubl:CommonAggregateTypes:1.0:0.70', xmlns='urn:oasis:names:tc:ubl:Invoice:1.0:0.70', 0, 0)
SAX.characters(
, 4)
SAX.startElementNs(ReferencedOrder, cat, 'urn:oasis:names:tc:ubl:CommonAggregateTypes:1.0:0.70', 0, 0, 0)
SAX.characters(
, 7)
SAX.getEntity(gt)
SAX.startElementNs(SellersOrderID, cat, 'urn:oasis:names:tc:ubl:CommonAggregateTypes:1.0:0.70', 0, 11, 0, schemeID='pval...', 47, schemeAgencyID='pval...', 53, schemeVersionID='pval...', 54, schemeAgencySchemeID='pval...', 59, schemeAgencySchemeAgencyID='pval...', 65, schemeDataURI='pval...', 52, schemeURI='pval...', 48, UID='pval...', 42, UIDRef='pval...', 45, UIDRefs='pval...', 47, language='pval...', 47)
SAX.characters(pvalue-, 7)
SAX.getEntity(gt)
SAX.characters(>, 1)
SAX.characters(ReferencedOrder.SellersOrderID, 30)
SAX.endElementNs(SellersOrderID, cat, 'urn:oasis:names:tc:ubl:CommonAggregateTypes:1.0:0.70')
SAX.characters(
, 4)
SAX.endElementNs(ReferencedOrder, cat, 'urn:oasis:names:tc:ubl:CommonAggregateTypes:1.0:0.70')
SAX.characters(
, 1)
SAX.endElementNs(Invoice, NULL, 'urn:oasis:names:tc:ubl:Invoice:1.0:0.70')
SAX.endDocument()
SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(x, , )
SAX.elementDecl(x, 4, ...)
SAX.elementDecl(test, 1, ...)
SAX.attributeDecl(test, att, 1, 1, attvalue, ...)
SAX.entityDecl(test.ent, 1, (null), (null), <test/>)
SAX.getEntity(test.ent)
SAX.externalSubset(x, , )
SAX.startElementNs(x, NULL, NULL, 0, 0, 0)
SAX.characters(
, 5)
SAX.startElementNs(test, NULL, NULL, 0, 1, 1, att='attv...', 8)
SAX.endElementNs(test, NULL, NULL)
SAX.characters(
, 5)
SAX.getEntity(test.ent)
SAX.startElementNs(test, NULL, NULL, 0, 1, 1, att='attv...', 8)
SAX.endElementNs(test, NULL, NULL)
SAX.reference(test.ent)
SAX.characters(
, 1)
SAX.endElementNs(x, NULL, NULL)
SAX.endDocument()
SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElementNs(response, ino, 'http://namespaces.softwareag.com/tamino/response2', 2, xmlns:ino='http://namespaces.softwareag.com/tamino/response2', xmlns:xql='http://metalab.unc.edu/xql/', 2, 0, ino:sessionid='556"...', 3, ino:sessionkey='1590...', 10)
SAX.startElementNs(query, xql, 'http://metalab.unc.edu/xql/', 0, 0, 0)
SAX.characters(/bsk:DocPart[@docId=, 20)
SAX.getEntity(apos)
SAX.characters(', 1)
SAX.characters(20040308152601345236, 20)
SAX.getEntity(apos)
SAX.characters(', 1)
SAX.characters( and @docPartNo=1], 18)
SAX.endElementNs(query, xql, 'http://metalab.unc.edu/xql/')
SAX.startElementNs(message, ino, 'http://namespaces.softwareag.com/tamino/response2', 0, 1, 0, ino:returnvalue='0"><...', 1)
SAX.startElementNs(messageline, ino, 'http://namespaces.softwareag.com/tamino/response2', 0, 0, 0)
SAX.characters(XQL Request processing, 22)
SAX.endElementNs(messageline, ino, 'http://namespaces.softwareag.com/tamino/response2')
SAX.endElementNs(message, ino, 'http://namespaces.softwareag.com/tamino/response2')
SAX.startElementNs(result, xql, 'http://metalab.unc.edu/xql/', 0, 0, 0)
SAX.startElementNs(DocPart, bsk, 'http://www.heitec.net/sara4/tamino/basket', 1, xmlns:bsk='http://www.heitec.net/sara4/tamino/basket', 3, 0, docId='2004...', 20, docPartNo='1" i...', 1, ino:id='1529...', 5)
SAX.startElementNs(File, bsk, 'http://www.heitec.net/sara4/tamino/basket', 0, 2, 0, name='4898...', 13, size='7519...', 5)
SAX.characters( , 1)
SAX.endElementNs(File, bsk, 'http://www.heitec.net/sara4/tamino/basket')
SAX.endElementNs(DocPart, bsk, 'http://www.heitec.net/sara4/tamino/basket')
SAX.endElementNs(result, xql, 'http://metalab.unc.edu/xql/')
SAX.startElementNs(message, ino, 'http://namespaces.softwareag.com/tamino/response2', 0, 1, 0, ino:returnvalue='0"><...', 1)
SAX.startElementNs(messageline, ino, 'http://namespaces.softwareag.com/tamino/response2', 0, 0, 0)
SAX.characters(XQL Request processed, 21)
SAX.endElementNs(messageline, ino, 'http://namespaces.softwareag.com/tamino/response2')
SAX.endElementNs(message, ino, 'http://namespaces.softwareag.com/tamino/response2')
SAX.endElementNs(response, ino, 'http://namespaces.softwareag.com/tamino/response2')
SAX.endDocument()
SAX.setDocumentLocator()
SAX.startDocument()
SAX.getEntity(apos)
SAX.startElementNs(item, NULL, NULL, 0, 5, 0, title='Icro...', 173, url='http...', 24, first_time='9850...', 9, last_time='9850...', 9, visits='1"/>...', 1)
SAX.endElementNs(item, NULL, NULL)
SAX.endDocument()
SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(doc, , )
SAX.entityDecl(very_big_entity_name01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789_end_of_very_big_ent_name, 1, (null), (null), "Yes")
SAX.getEntity(very_big_entity_name01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789_end_of_very_big_ent_name)
SAX.entityDecl(WhatHeSaid, 1, (null), (null), He said &very_big_entity_name01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789_end_of_very_big_ent_name;)
SAX.getEntity(WhatHeSaid)
SAX.externalSubset(doc, , )
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.getEntity(WhatHeSaid)
SAX.characters(He said , 8)
SAX.getEntity(very_big_entity_name01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789_end_of_very_big_ent_name)
SAX.characters("Yes", 5)
SAX.reference(very_big_entity_name01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789_end_of_very_big_ent_name)
SAX.reference(WhatHeSaid)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()
This diff is collapsed.
This diff is collapsed.
SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.characters(
, 1)
SAX.pcdata(<greeting>Hello, wor, 34)
SAX.characters(
, 1)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()
SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElementNs(collection, NULL, NULL, 0, 0, 0)
SAX.characters(
, 3)
SAX.startElementNs(test, NULL, NULL, 0, 0, 0)
SAX.pcdata(
<![CDATA[abc], 18)
SAX.characters(], 1)
SAX.getEntity(gt)
SAX.characters(>, 1)
SAX.pcdata(
, 3)
SAX.endElementNs(test, NULL, NULL)
SAX.characters(
, 1)
SAX.endElementNs(collection, NULL, NULL)
SAX.endDocument()
SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.characters(
, 1)
SAX.comment( document start )
SAX.characters(
, 1)
SAX.startElementNs(empty, NULL, NULL, 0, 0, 0)
SAX.endElementNs(empty, NULL, NULL)
SAX.characters(
, 1)
SAX.comment( document end )
SAX.characters(
, 1)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()
SAX.setDocumentLocator()
SAX.startDocument()
SAX.comment( document start )
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.characters(
, 1)
SAX.startElementNs(empty, NULL, NULL, 0, 0, 0)
SAX.endElementNs(empty, NULL, NULL)
SAX.characters(
, 1)
SAX.endElementNs(doc, NULL, NULL)
SAX.comment( document end )
SAX.endDocument()
SAX.setDocumentLocator()
SAX.startDocument()
SAX.comment( test of very very long comments and buffer limits
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789
)
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()
SAX.setDocumentLocator()
SAX.startDocument()
SAX.comment( test of non ascii comments like là et très )
SAX.comment(à another one )
SAX.comment( another one à)
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()
SAX.setDocumentLocator()
SAX.startDocument()
SAX.comment( test of hyphen and line break handling
some text - interrupted -
- - - - - - - - - - - - - - - - - - - - - -
this should stop here^
)
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()
result/dav1.sax2 0 → 100644