Let's be very careful not to give advice for Xalan-J for people who are
using Xalan-C.
There was a patch from a user to let the installed EntityResolver have a go
at any URLs given to the document() function. I applied this patch, but
I'm not sure if the provider ever verified it.
Brian, can you provide a minimal set of input files (stylesheet, source
documents, source code) that illustrates the problem? That way, I can take
a look at it and see what's going on.
Dave
"Robert Koberg"
<[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>
cc: (bcc: David N
Bertoni/Cambridge/IBM)
10/17/2002 01:02 Subject: RE: EntityResolver not allowed
to do enough
PM
Please respond
to xalan-dev
Hi,
> -----Original Message-----
> From: Brian Quinlan [mailto:brian@;sweetapp.com]
> Sent: Thursday, October 17, 2002 12:46 PM
> To: [EMAIL PROTECTED]
> Subject: RE: EntityResolver not allowed to do enough
>
>
> > I think you want a URIRsolver. That is what is used to resolve
> > document(href, [base]) and xsl:include/import.
>
> AFAIK, this API is not available in Xerces-C++, only in Xerces-J.
It is an XSL thing. You set it on the TransformerFactory.
>
> > What is happening sounds correct. Since you did not supply a base arg
> > to the document() it uses the stylesheet location.
>
> If it doesn't recognize the scheme, I don't think that it should
> complain until AFTER it has tried the EntityResolver. And unknown
> schemes should not be considered path fragments.
But document() does not use an EntityResolver. The error is because you are
sending what looks like a protocol (':') for the default resolver to
handle.
best,
-Rob
>
> Cheers,
> Brian
>
RE: EntityResolver not allowed to do enough
David N Bertoni/Cambridge/IBM Fri, 18 Oct 2002 00:37:09 -0700
- DO NOT REPLY [Bug 12308] - Instantiation... bugzilla
- DO NOT REPLY [Bug 12308] - Instanti... bugzilla
- DO NOT REPLY [Bug 12308] - Instanti... bugzilla
- DO NOT REPLY [Bug 12308] - Instanti... bugzilla
- EntityResolver not allowed to do en... Brian Quinlan
- RE: EntityResolver not allowed ... Robert Koberg
- RE: EntityResolver not allo... Brian Quinlan
- RE: EntityResolver not... Robert Koberg
- RE: EntityResolver... David N Bertoni/Cambridge/IBM
- RE: EntityReso... Robert Koberg
- RE: EntityReso... David N Bertoni/Cambridge/IBM
- RE: EntityReso... Robert Koberg
- RE: XALAN-C En... Joseph Kesselman
- RE: XALAN-C En... Mark Weaver
- RE: EntityReso... Brian Quinlan
- RE: EntityReso... David N Bertoni/Cambridge/IBM
- RE: EntityReso... Brian Quinlan
- RE: EntityReso... David N Bertoni/Cambridge/IBM
- RE: EntityReso... Brian Quinlan
