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

RE: Saxon and XT both exhibit unexpected document() be

Subject: RE: Saxon and XT both exhibit unexpected document() behaviour
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Sun, 7 Dec 2003 21:42:31 -0000
RE:  Saxon and XT both exhibit unexpected document() be
> Can anyone justify from the XSLT specification why both XT 
> and Instant 
> Saxon 6.5.3 find the dir1/data.xml file when the relative URI is 
> "../data.xml" and the stylesheet fragment is dir2/ss2.xsl?  I 
> believe both 
> should be reporting the error that the parent directory of 
> dir2 does not 
> contain the file "data.xml", but if they both are doing the 
> same behaviour 
> then it must be something I'm missing from the spec.

Both Saxon and xt have a version that is prepackaged to use the
Microsoft JVM, and (probably) both are using the java.net.URL class to
resolve relative URIs. So if the answer is wrong, you can probably blame
the Microsoft JVM. As others have pointed out, this comes down to a
question of whether the JVM is handling "\" in accordance with RFC 2396.

Michael Kay


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


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.