|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: encoding on parameters for document function (usin
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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








