On 06/24/2010 05:22 AM, Brett Zamir wrote:
> I do not see any reference to this in the XHTML 1.0 specification (nor
> XHTML 1.1), and in XML, section 2.4, it states only that it must be
> escaped if part of the sequence "]]>" in "content", which I guess means
> only element content. E4X also does not escape ">" in attribute values
> (only in element content).

The spec does not mention it as far as I can see.  On the other hand,
validator.w3.org on XHTML 1.1 content says things like 'character ">" is
not allowed in the value of attribute "rel"'.  Possibly as a result, XHTML
generators typically escape this character, because otherwise they would
fail validation.

HTML5 is about making a spec that matches common practice, right?  In
practice, no one puts ">" in attribute values.

--Ben

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to