Edit

kc3-lang/libxml2/test/warning/ent9

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2000-08-27 21:12:29
    Hash : e0854c3f
    Message : Bunch of new parser cleanup work: - SAX.c tree.c debugXML.c: fixed bogus behaviour when an undeclared namespace prefix was used, added a warning. Cleaned up support w.r.t. entities, spilling out a warning and being pedantic on lookups. - test/warning/ent9 : added testcase for previous example. - TODO: updated - parserInternals.h parser.c: changed the way names are parsed now allow infinite size and decrease penalty for normal use - parser.c: Started a big cleanup/check of the parser code, fixed some of the most tortuous entity code, spotted code unused anymore - test/*: added tests for very long names and related nasty things. Daniel

  • test/warning/ent9
  • <?xml version="1.0"?>
    <!DOCTYPE EXAMPLE SYSTEM "example.dtd" [
    <!ENTITY xml "<prefix:node>prefix is indeclared here</prefix:node>">
    ]>
    <EXAMPLE xmlns:prefix="http://example.com">
        &xml;
    </EXAMPLE>