--On 16 July 2007 15:11 +0100 Andrew Welch wrote:
If makes it difficult when resolving relative paths in the URIResolver
as something that's a valid xs:anyURI in a call to doc() causes a
URISyntaxException in Java when it hits the resolver - don't they both
sing from the same rec?
No, they do not sign from the same rec.
XML Schema datatypes <http://www.w3.org/TR/xmlschema-2/#anyURI> hands the
problem to <http://www.w3.org/TR/2001/REC-xlink-20010627/#link-locators>
the Linking Language which defines an "escaping procedure" that is to be
applied to locator attributes to turn them into URIs.
One feature of that process is that space characters are converted.
Just to add confusion, the XPath 2 iri-to-uri function performs what seems
to me to be the same conversion, but its specification does not refer to
xs:anyURI - <http://www.w3.org/TR/xpath-functions/#func-iri-to-uri>.
--
Owen Rees
=======================================================
Hewlett-Packard Limited
Registered Office: Cain Road, Bracknell, Berks RG12 1HN
Registered No: 690597 England
--~------------------------------------------------------------------
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>
--~--