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: Wed, 21 Aug 2002 11:21:32 +0200
Message-ID: <3D635B9C.4010902@tiscalinet.it>
To: www-html@w3.org

Gabriele Fava 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.


Excuse me, I just saw badly the AttValue rule.

[10]    AttValue    ::=    '"' ([^<&"] | Reference)* '"'
                            |  "'" ([^<&'] | Reference)* "'"
Received on Wednesday, 21 August 2002 07:08:29 GMT

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