Edit

kc3-lang/libxml2/result/ent3.sax

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2008-08-28 15:36:32
    Hash : 0161e638
    Message : completely different fix for the recursion detection based on entity * parser.c include/libxml/parser.h: completely different fix for the recursion detection based on entity density, big cleanups in the entity parsing code too * result/*.sax*: the parser should not ask for used defined versions of the predefined entities * testrecurse.c: automatic test for entity recursion checks * Makefile.am: added testrecurse * test/recurse/lol* test/recurse/good*: a first set of tests for the recursion Daniel svn path=/trunk/; revision=3783

  • result/ent3.sax
  • 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(xml)
    SAX.startElement(EXAMPLE, prop1='a&b', prop2='&xml;')
    SAX.characters(
      Test of entities in attribu, 35)
    SAX.endElement(EXAMPLE)
    SAX.endDocument()