Edit

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

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2003-08-03 22:58:54
    Hash : 7b68df97
    Message : fixed bug #118712 about mixed content, and namespaced element names. added * valid.c: fixed bug #118712 about mixed content, and namespaced element names. * test/valid/mixed_ns.xml result/valid/mixed_ns*: added a check in the regression tests Daniel

  • test/valid/mixed_ns.xml
  • <?xml version="1.0"?>
    <!DOCTYPE a [
    <!ELEMENT a (#PCDATA|b|s:b)*>
    <!ATTLIST a xmlns:s CDATA #IMPLIED>
    <!ELEMENT b EMPTY>
    <!ATTLIST b xmlns:s CDATA #IMPLIED>
    <!ELEMENT s:b EMPTY>
    <!ATTLIST s:b xmlns:s CDATA #IMPLIED>
    ]>
    <a xmlns:s="http://some.test.ns/a">
      Some text.
    	<b/>
      Some text.
    	<s:b/>
      Some text.
    </a>