W3C home > Mailing lists > Public > www-html@w3.org > August 2002

Re: Ampersand not permitted in AttValue

From: Gabriele Fava <gabriele.fava@tiscalinet.it>
Date: Sat, 17 Aug 2002 10:53:00 +0200
Message-ID: <3D5E0EEC.2090400@tiscalinet.it>
To: W3 HTML Mailing List <www-html@w3.org>

kelvSYC wrote:

>On 8/16/02 5:11 PM, "Gabriele Fava" <gabriele.fava@tiscalinet.it> wrote:
>
>  
>
>>I encountered a problem in XML 1.0: the AttValue definition specifies
>>that the value of an attribute must be either a reference or a character
>>other than "<" and "&"; but the ampersand "&" is a permitted, and
>>commonly used character in URIs, with this constriction I can't put some
>>types of links in a xml or xhtml document.
>>
>>
>>    
>>
>
>Try attribute="foo&amp;bar"
>
Actually it works (I'm testing on Mozilla) but shoudn't the ampersand of 
the enity reference be forbidden too, in theory?
Received on Saturday, 17 August 2002 04:52:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:52 GMT