RE: [xsl] encoding on parameters for document function (using saxon)

Subject: RE: [xsl] encoding on parameters for document function (using saxon)
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 11 Oct 2005 15:34:08 +0100
The XSLT 2.0 spec (and indeed the F+O spec) recently changed to clarify that
when it says the argument to document() must be a URI, it doesn't really
mean it: rather it now allows what I call a "wannabe URI", that is, a string
that would become a valid URI if you applied %HH-escaping to it.

This change will be implemented in Saxon 8.6. Meanwhile, you have to do the
escaping yourself using functions such as escape-uri() or the new
iri-to-uri().

Michael Kay
http://www.saxonica.com/

Current Thread