xsl-list
[Top] [All Lists]

Re: [xsl] xmlns created literally

2009-02-26 10:42:09

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. 
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>