Attribute value normalization
Ron Bourret
rbourret at dvs1.informatik.tu-darmstadt.de
Wed May 27 10:35:30 BST 1998
Lars Marius Garshol wrote:
> | xp says that the type of the attribute "a" is CDATA.
>
> This is correct behaviour for a non-validating parser.
>
<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:
"All attributes for which no declaration has been read should be treated by a
non-validating parser as if declared CDATA."
However, attribute a has been declared, so the paragraph doesn't apply. I
believe AElfred's behavior is the correct one for both validating and
non-validating parsers.
-- Ron Bourret
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list