Edit

kc3-lang/libxml2/result/ent2.sax

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2005-08-24 14:46:07
    Hash : 53bd1f3c
    Message : found another bug while looking at #309616 on missing entities. this * parser.c: found another bug while looking at #309616 on missing entities. * result/ent2.sax* result/ent7.sax* result/xml2.sax*: this changed the SAX stream in missing conditions for a few tests Daniel

  • result/ent2.sax
  • SAX.setDocumentLocator()
    SAX.startDocument()
    SAX.internalSubset(EXAMPLE, , example.dtd)
    SAX.entityDecl(xml, 1, (null), (null), Extensible Markup Language)
    SAX.getEntity(xml)
    SAX.entityDecl(title, 2, -//MY-TITLE//FR, title.xml, (null))
    SAX.unparsedEntityDecl(image, (null), img.gif, GIF)
    SAX.externalSubset(EXAMPLE, , example.dtd)
    SAX.startElement(EXAMPLE)
    SAX.characters(
      , 3)
    SAX.getEntity(title)
    SAX.error: Entity 'title' not defined
    SAX.reference(title)
    SAX.characters(
      This text is about XML, the, 31)
    SAX.getEntity(xml)
    SAX.characters(Extensible Markup Language, 26)
    SAX.reference(xml)
    SAX.characters( and this is an embedded , 25)
    SAX.startElement(IMG, src='image')
    SAX.endElement(IMG)
    SAX.characters(
    , 1)
    SAX.endElement(EXAMPLE)
    SAX.endDocument()