mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-14 19:24:06 +03:00
283d50279d
* parser.c: when replacing entities and that the entity is CDATA and reference entities then white space character in replacement text need to be replaced by 0x20 * result/noent/att10: correct the output of the associated regression test
19 lines
448 B
XML
19 lines
448 B
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE doc [
|
|
<!ELEMENT doc (tst)*>
|
|
<!ELEMENT tst (#PCDATA)>
|
|
<!ATTLIST tst a NMTOKENS #IMPLIED>
|
|
<!ATTLIST tst b CDATA #IMPLIED>
|
|
<!ENTITY d "
">
|
|
<!ENTITY a "
">
|
|
<!ENTITY da "
">
|
|
]>
|
|
<doc>
|
|
<tst a="xyz" b=" xyz"/>
|
|
<tst a="A B" b=" A B "/>
|
|
<tst a=" A B " b=" A B "/>
|
|
<tst a="x y" b=" x y "/>
|
|
<tst a="a b" b=" a b "/>
|
|
<tst a="a b" b=" a b "/>
|
|
</doc>
|