1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-28 07:21:26 +03:00
libxml2/result/ent9.sax
Daniel Veillard 0df3bc3f28 fixed a serious problem when substituing entities using the Reader, the
* parser.c xmlreader.c include/libxml/parser.h: fixed a serious
  problem when substituing entities using the Reader, the entities
  content might be freed and if rereferenced would crash
* Makefile.am test/* result/*: added a new test case and a new
  test operation for the reader with substitution of entities.
Daniel
2004-06-08 12:03:41 +00:00

311 lines
6.7 KiB
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(doc, , )
SAX.entityDecl(test1, 1, (null), (null), <a/>,<b/>,<c/>,<d/>)
SAX.getEntity(test1)
SAX.externalSubset(doc, , )
SAX.startElement(doc)
SAX.characters(
, 4)
SAX.startElement(ent)
SAX.getEntity(test1)
SAX.startElement(a)
SAX.endElement(a)
SAX.characters(,, 1)
SAX.startElement(b)
SAX.endElement(b)
SAX.characters(,, 1)
SAX.startElement(c)
SAX.endElement(c)
SAX.characters(,, 1)
SAX.startElement(d)
SAX.endElement(d)
SAX.reference(test1)
SAX.endElement(ent)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(p)
SAX.characters( WE need lot of garbage now to, 50)
SAX.endElement(p)
SAX.characters(
, 4)
SAX.startElement(ent)
SAX.getEntity(test1)
SAX.startElement(a)
SAX.endElement(a)
SAX.characters(,, 1)
SAX.startElement(b)
SAX.endElement(b)
SAX.characters(,, 1)
SAX.startElement(c)
SAX.endElement(c)
SAX.characters(,, 1)
SAX.startElement(d)
SAX.endElement(d)
SAX.reference(test1)
SAX.endElement(ent)
SAX.characters(
, 1)
SAX.endElement(doc)
SAX.endDocument()