A
Armel Asselin
Hello,
I've been using XML for a while in a rather 'free' manner (i.e. as long as
IE accept it it's OK), I read recently (again) the Xml standard 1.0 (3rd
edition) and found this sentence:
Well-formedness constraint: No < in Attribute Values
The replacement text of any entity referred to directly or indirectly in an
attribute value MUST NOT contain a <.
it's seems to imply that:
<tag attr="<" />
is not good XML. but for example the doc of XSL shows numerous samples where
< is used in attributes. is the XSL doc wrong? or is this well-formedness
rule obsolete? or not enforced by anybody? or is this something else?
Regards
Armel
I've been using XML for a while in a rather 'free' manner (i.e. as long as
IE accept it it's OK), I read recently (again) the Xml standard 1.0 (3rd
edition) and found this sentence:
Well-formedness constraint: No < in Attribute Values
The replacement text of any entity referred to directly or indirectly in an
attribute value MUST NOT contain a <.
it's seems to imply that:
<tag attr="<" />
is not good XML. but for example the doc of XSL shows numerous samples where
< is used in attributes. is the XSL doc wrong? or is this well-formedness
rule obsolete? or not enforced by anybody? or is this something else?
Regards
Armel