Re: Ampersand not permitted in AttValue

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 UTC