- From: Benjamin M. Schwartz <bmschwar@fas.harvard.edu>
- Date: Thu, 24 Jun 2010 09:34:31 -0400
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100624/72024897/attachment.pgp>
Received on Thursday, 24 June 2010 06:34:31 UTC