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

RE: FW: failure notice

Subject: RE: FW: failure notice
From: "Markus Karg" <karg@xxxxxxxxx>
Date: Thu, 18 Mar 2010 18:16:34 +0100
RE:  FW: failure notice
> Markus Karg wrote:
> > In my XSL stylesheet I am loading data at runtime using
> >
> > document('xyz.xml')
> >
> > inside of INNER.xsl, which itself is included by OUTER.xsl, which in
> > turn is processed by a Java application (JAXP)
> >
> > When processing the stylesheet using the XALAN found in Java RE
> > 1.6.0_17, this effectively loads from 'path-of-INNER.xsl/xyz.xml',
> while
> > XALAN 2.7.1 effectively loads from
> > 'current-working-dir-of-CALLING-PROCESS/xyz.xml' (not even
> > 'path-of-OUTER.xsl/xyz.xml', which I could understand).
> >
> > So my question is: Which of both processors is doing a fault here?
> How
> > to make XALAN 2.7.1 load from either path-of-INNER.xsl or
> > path-of-OUTER.xsl instead from current-working-dir-of-CALLING-
> PROCESS?
>
> Looking at http://www.w3.org/TR/xslt#document a relative URI should be
> resolved to the base URI of the node the "document()" call is in, if
no
> second argument is passed in.
> So that looks as if Xalan 2.7.1 is wrong.
> As for trying to make it resolve the URI differently, try
>    document('xyz.xml', document(''))

The question is, whether it makes any sense to report a bug in XALAN,
since latest release is from 2007... :-(

Ok, I'll give the two-argument version a tree... :-)

Thanks!
Markus

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.