[Chandler-dev] Re: [Cosmo-dev] dealing with characters that XML 1.0 doesn't allow

Phillip J. Eby pje at telecommunity.com
Thu May 24 15:16:19 PDT 2007


At 02:58 PM 5/24/2007 -0700, Heikki Toivonen wrote:
>Morgen Sagen wrote:
> > #3 feels like the right thing to do.  One suggestion is to encode all
> > non-allowed by XML characters using %XX where the XX are hex digits.
> > Should we take that route?
>
>I said this on IRC, posting here to keep everyone in the loop.
>
>I think characters not allowed should be encoded with the standard XML
>way, for example ©.

Characters that are not allowed can't be encoded in this way - that's 
what it means that they're not allowed.  The resulting XML is not 
well-formed, by definition.



More information about the chandler-dev mailing list