1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-19 14:50:07 +03:00

removing the SAXresults tree, keeping result in the same tree, added

* Makefile.am results/*.sax SAXResult/*: removing the SAXresults
  tree, keeping result in the same tree, added SAXtests to the
  default "make tests"
Daniel
This commit is contained in:
Daniel Veillard 2003-09-03 13:10:34 +00:00
parent 6c57dcaff8
commit 3d1e00c421
2 changed files with 19 additions and 0 deletions

6
result/attrib.xml.sax Normal file
View File

@ -0,0 +1,6 @@
SAX.setDocumentLocator()
SAX.startDocument()
SAX.getEntity(apos)
SAX.startElement(item, title='Icrontic.com - Warning: Breakdancing midget with tourette's syndrome on-board                                                ', url='http://www.icrontic.com/', first_time='985034339', last_time='985034339', visits='1')
SAX.endElement(item)
SAX.endDocument()

13
result/ent3.sax Normal file
View File

@ -0,0 +1,13 @@
SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(EXAMPLE, , example.dtd)
SAX.entityDecl(xml, 1, (null), (null), Extensible Markup Language)
SAX.getEntity(xml)
SAX.externalSubset(EXAMPLE, , example.dtd)
SAX.getEntity(amp)
SAX.getEntity(xml)
SAX.startElement(EXAMPLE, prop1='a&b', prop2='&xml;')
SAX.characters(
Test of entities in attribu, 35)
SAX.endElement(EXAMPLE)
SAX.endDocument()