[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: encoding on parameters for document function (usin

Subject: RE: encoding on parameters for document function (using saxon)
From: Sylvain Hellegouarch <sh@xxxxxxxxxx>
Date: Tue, 11 Oct 2005 16:49:48 +0200
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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.