Subject: RE: [xsl] encoding on parameters for document function (using saxon) From: Sylvain Hellegouarch <sh@xxxxxxxxxx> Date: Tue, 11 Oct 2005 16:49:48 +0200 |
Hello, OK I must say that the concept of "wannabe URI" seems dangerous to me :) Does the spec now define precisely how XSLT processors should discover what you mean by "wannabe URI"? Don't get me wrong, it sounds like it makes life easier for developers because they don't have to remember to use escape-uri(), but on the other hand doesn't it open a possible hole for misunderstandings when there is a requirement for escaping the URI manually or not? Well I just ask that as a feeling of course not as a string point against the idea :) - Sylvain Selon Michael Kay <mike@xxxxxxxxxxxx>: > > 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/ > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] encoding on parameters fo, Michael Kay | Thread | Re: [xsl] encoding on parameters fo, Colin Paul Adams |
RE: [xsl] encoding on parameters fo, Michael Kay | Date | Re: [xsl] encoding on parameters fo, Colin Paul Adams |
Month |