Re: [xsl] xmlns created literally

Subject: Re: [xsl] xmlns created literally
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 26 Feb 2009 15:41:47 GMT
> According to "Namespaces in XML 1.0 (Second Edition)", "An XML namespace is 
> identified by a URI reference [RFC3986]". '{' and '}' are not valid 
> characters in a URI according to RFC3986.

but it explitly says % encoding shouldnt be done.

[Definition: The two URIs are treated as strings, and they are identical
if and only if the strings are identical, that is, if they are the same
sequence of characters. ] The comparison is case-sensitive, and no
%-escaping is done or undone.  


> 1) emit the string in its invalid form. Output is not valid XML - I don't 
> like this one.

It's well formed xml, and namespace wellformed.
The serialiser should not change the namespace of the elements being output.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread