[xsl] \

Subject: [xsl] \
From: David Tolpin <dvd@xxxxxxxxxxxxxx>
Date: Thu, 4 Dec 2003 17:42:17 +0400 (AMT)
> sometimes it will work, but if it does that is a non conforming
> application being "kind" and at some point you'll come up against a
> conforming application that will fail (See Ken Holman's message from a
> minute ago)

'\'  by itself is not prohibited in URLs, is it? It is just not a part separator.
Or am I getting this wrong? The problem Ken Holman met is a bug in Microsoft JVM,
I think. Sun 1.4.1 handles his example just fine (that is, gives error) and has a comment 
in win32 code about a bug in Microsoft's implementation of _fullpath.

Is "http://example.com/\data\file.xsl"; an invalid URL? 

(If I misused terminology, it is because I do it all the time).

Putting it another way, I think it is legal to write

<xsl:import href="module1\stylesheet1.xsl"/> 

if the target operating system can handle it (Win32).  "..\module1\stylesheet1.xsl" is
good too. Leading drive letter is problematic, but "\D:\module1\stylesheet1.xsl" should
still be valid. 

If a problem arises, then the problem is in the underlying operating
system or runtime environment, not in the implementation. As long as the implementation
has resolved it to be the file part, the rest is handled outside its code.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread