[xmlsec] Re: non us-ascii filenames in user locale

Igor Zlatkovic igor at zlatkovic.com
Fri Jun 25 04:04:54 PDT 2004


On 25.06.2004 11:46, Roumen Petrov wrote:

>  >From A. I expect in Reference node URI to be in document encoding.

Wrong. Read it again. The part you quoted rather explains why it isn't so.

>  >From B. I see that we are free to use in URI any charset.

That is URI spec and URI has nothing to do with XML. URIs can also 
appear in HTTP responses and in subject header of your mails.

> C.  define that we should use UTF-8 encoding.

Which is exactly what should be done in XML in general.

I see. W3C made a grave mistake by not restricting encodings for XML 
version 1.0. Right at the beginning, XML 1.0 should have considered 
every non-Unicode document as invalid.

Ciao,
Igor



More information about the xmlsec mailing list