Branch
Hash :
283d5027
Author :
Date :
2009-08-25T17:18:39
587663 Incorrect Attribute-Value Normalization * 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
<?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>