# Tests for the XML parser # (c) 2008 Pavel Charvat Run: ../obj/ucw-xml/xml-test In: Out: PULL: start PULL: eof Run: ../obj/ucw-xml/xml-test -s In: text1&amp;<text2 Out: PULL: start SAX: document_start SAX: xml_decl version=1.0 standalone=0 fb_encoding=ISO-8859-1 SAX: stag SAX: stag a1='val1' a2='val2' SAX: chars text='text1&<' SAX: etag SAX: chars text='text2' SAX: etag SAX: document_end PULL: eof Run: ../obj/ucw-xml/xml-test -sptd In: "> %pe1; ]> &e1;&e2; Out: PULL: start SAX: document_start SAX: xml_decl version=1.0 standalone=0 fb_encoding=UTF-8 SAX: doctype_decl type=root public='' system='' extsub=0 intsub=1 SAX: dtd_start SAX: dtd_end SAX: stag PULL: stag SAX: chars text='text' PULL: chars text='text' SAX: stag PULL: stag SAX: chars text='' PULL: chars text='' PULL: etag SAX: etag PULL: etag SAX: etag SAX: document_end PULL: eof DOM: element DOM: chars text='text' DOM: element DOM: chars text=''