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

Re: Ampersand not permitted in AttValue

From: kelvSYC <kelvsyc@shaw.ca>
Date: Fri, 16 Aug 2002 18:08:30 -0600
To: W3 HTML Mailing List <www-html@w3.org>
Message-id: <B982F01E.231F%kelvsyc@shaw.ca>

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"
Received on Friday, 16 August 2002 20:08:24 GMT

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