W3C home > Mailing lists > Public > public-html@w3.org > March 2010

Re: Change proposal for issue 103, was: ISSUE-103 change proposal

From: Philip Taylor <pjt47@cam.ac.uk>
Date: Thu, 18 Mar 2010 10:47:28 +0000
Message-ID: <4BA204C0.5090400@cam.ac.uk>
To: Anne van Kesteren <annevk@opera.com>
CC: public-html@w3.org
Anne van Kesteren wrote:
> On Thu, 18 Mar 2010 11:26:48 +0100, Julian Reschke 
> <julian.reschke@gmx.de> wrote:
>> Replace the last sentence by:
>>
>> "Note: Due to restrictions of the XML syntax, in XML the U+003C 
>> LESS-THAN SIGN (<) needs be escaped as well."
> 
> That seems incomplete. The sequence ]]> comes to mind.

That's not an issue in attribute values, as far as I'm aware.

But in attribute values, U+000D and U+000A and U+0009 must be escaped 
too. (Depending on DTD you might also need to escape any leading or 
trailing U+0020 and at least one of any adjacent pair of U+0020s, I think.)

-- 
Philip Taylor
pjt47@cam.ac.uk
Received on Thursday, 18 March 2010 10:48:00 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:59 UTC