Edit

kc3-lang/libxml2/test/valid/id3.xml

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2003-03-23 12:02:56
    Hash : ef8dd7be
    Message : fixing bug #108976 get the ID/REFs to reference the ID in the document * parser.c: fixing bug #108976 get the ID/REFs to reference the ID in the document content and not in the entity copy * SAX.c include/libxml/parser.h: more checking of the ID/REF stuff, better solution for #107208 * xmlregexp.c: removed a direct printf, dohhh * xmlreader.c: fixed a bug on streaming validation of empty elements in entities * result/VC/ElementValid8 test/VCM/v20.xml result/valid/xhtml1.xhtml: cleanup of the validation tests * test/valid/id* test/valid/dtds/destfoo.ent result/valid/id*: added more ID/IDREF tests to the suite Daniel

  • test/valid/id3.xml
  • <!DOCTYPE doc [
    <!ELEMENT doc (src | dest)*>
    <!ELEMENT src EMPTY>
    <!ELEMENT dest EMPTY>
    <!ATTLIST src ref IDREF #IMPLIED>
    <!ATTLIST dest id ID #IMPLIED>
    <!ENTITY dest SYSTEM "dtds/destfoo.ent">
    ]>
    <doc>
      <src ref="foo"/>
      &dest;
      <src ref="foo"/>
    </doc>