mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-31 17:17:37 +03:00
7b68df974b
* 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
17 lines
317 B
XML
17 lines
317 B
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>
|