
20 Jun
2011
20 Jun
'11
12:45 p.m.
George Cristian Bina wrote: Hi,
The important thing is the PseudoAttValue production that the string needs to match, and that does not allow & directly, only as part of an entity reference:
[3] PseudoAttValue ::= ('"' ([^"<&] | CharRef | PredefEntityRef)* '"' | "'" ([^'<&] | CharRef | PredefEntityRef)* "'")
Yes you're right, I missed the "^" in the character class, thus prohibiting "&" to appear unescaped. Sorry for the noise. Regards, -- Florent Georges http://fgeorges.org/