Hi, I think you want a URIRsolver. That is what is used to resolve document(href, [base]) and xsl:include/import.
What is happening sounds correct. Since you did not supply a base arg to the document() it uses the stylesheet location. best, -Rob > -----Original Message----- > From: Brian Quinlan [mailto:brian@;sweetapp.com] > Sent: Thursday, October 17, 2002 11:56 AM > To: [EMAIL PROTECTED] > Subject: EntityResolver not allowed to do enough > > > Hi, > > I am having a problem accomodating some of my users because of the > limitations of EntityResolvers. This is really a Xerces problem but it > affects XSLT transformation. > > Some of my users have XSL code like this: > > <xsl:value-of select="document('myscheme:foo/bar')"/> > > According to them, using EntityResolvers, in Saxon, XalanJ and 4Suite, > the above can be made to work. In XalanC, the above URI will get > transformed to file://<current path>/myscheme:foo/bar and an exception > will be throw in realpath (on Linux). > > Is there any way to work around this problem and should I fill a bug > report? > > Cheers, > Brian >
