Ralesk Ne'vennoyx wrote:
Brion Vibber wrote:
Ralesk Ne'vennoyx wrote:
Digging through HTML sources made me notice that on some places there are ' used as attribute value containers!
Sorry if that offends you. ' is easier to type in a string literal as it doesn't require a backslash escape. :)
*tilts his head* wasn’t though " the one true holy character accepted by W3C? ’Tis not me, it’s the standards :)
Nope.
http://www.w3.org/TR/REC-xml/#sec-common-syn
AttValue ::= '"' ([^<&"] | Reference)* '"' | "'" ([^<&'] | Reference)* "'"
-- brion vibber (brion @ pobox.com)