Re: Attribute value normalization

Ron Bourret (rbourret@dvs1.informatik.tu-darmstadt.de)
Wed, 27 May 1998 10:15:41 +0200


Lars Marius Garshol wrote:

> | xp says that the type of the attribute "a" is CDATA.=20
>=20
> This is correct behaviour for a non-validating parser. =20
>=20
<URL:http://www.w3.org/TR/1998/REC-xml-19980210.xml#id(AVNormalize).child=
(3,p)>

I assume this URL refers to the last paragraph in section 3.3.3, which =
states:=20
"All attributes for which no declaration has been read should be treated =
by a=20
non-validating parser as if declared CDATA."

However, attribute a has been declared, so the paragraph doesn't apply. =
I=20
believe AElfred's behavior is the correct one for both validating and=20
non-validating parsers.

-- Ron Bourret