On Thu, Oct 02, 2008 at 01:30:34AM +0200, Ben de Groot wrote:
> The xml header in each metadata.xml states that the content is UTF-8
> encoded, and any XML parser has to be able to handle this. Also, when
> used literally in xml, the 5 special characters & ' " < >  cause a
> well-formedness error, as far as I know. U+2019 is the recommended form
> of using the apostrophe. So in my opinion, if we want to use xml, we
> should use unicode properly.
"xmllint --valid" is my check for well-formedness, and it says the
single quotes are fine.

According to http://www.w3.org/TR/xml11/#dt-chardata the chars "&" and
"<", ">" have "MUST" as their requirements for being escaped. Double and
single quotes "MAY" be escaped.

-- 
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail     : [EMAIL PROTECTED]
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

Attachment: pgplXko7fi4vY.pgp
Description: PGP signature

Reply via email to