Re: [xslt] forward and back slashes in URI
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] forward and back slashes in URI
- Date: Wed, 8 Aug 2001 20:28:55 -0400
On Wed, Aug 08, 2001 at 06:16:02PM -0600, Vakoc, Mark wrote:
>
> Hello all,
>
> on win32 the directory deliminator in a path is a backslash '\' instead of a
> forward slash '/'.
>
> When using URI functions such as document(), it currently works using full
> paths built using a forward slash for the path, i.e.
> <xsl:variable name="test"
> select="document('f:/some%20directory/file.xml')"/>
yes
> but wouldn't work using
> <xsl:variable name="test"
> select="document('f:\some%20directory\file.xml')"/>
yes
> Is this the correct (to spec) behavior? I now simply convert backslashs to
> forward slashes. However, shouldn't a URI be able to use the native
> deliminating convention?
no see RFC 2396
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]