mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-26 12:25:09 +03:00
807b4de282
* valid.c TODO: applied patch from Malcolm Tredinnick fixing errata E20 concerning NMTOKENS and co. validation #153722 * result/VC/AttributeNmtokens test/VC/AttributeNmtokens test/VCM/AttributeNmtokens.xml: also added tests from Malcolm Daniel
15 lines
236 B
XML
15 lines
236 B
XML
<!DOCTYPE doc [
|
|
<!ELEMENT doc (norm+)>
|
|
<!ELEMENT norm EMPTY>
|
|
<!ATTLIST norm attr NMTOKENS #IMPLIED>
|
|
]>
|
|
<doc>
|
|
<norm attr = ' foo bar
|
|
'/>
|
|
<norm attr = 'foobar
|
|
|
|
'/>
|
|
<norm attr = 'foo bar '/>
|
|
<norm attr = ' foo  bar'/>
|
|
</doc>
|