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(_at_)saxonica(_dot_)com>:
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/
--~------------------------------------------------------------------
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>
--~--
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--~------------------------------------------------------------------
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>
--~--