RE: [xsl] Integrating SAX filters produced streams with XSLT

Subject: RE: [xsl] Integrating SAX filters produced streams with XSLT
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Fri, 07 Sep 2001 13:25:21 +0200
"Michael Kay" <mhkay@xxxxxxxxxxxx> wrote:
> Write a URIResolver. This is invoked when you call document(), it looks at
> the URI and returns any kind of Source, e.g. a StreamSource or SAXSource.

I want to note that Saxon (up to version 6.3) doesn't like the
URI-Resolver to return anything other than a SAXSource (didn't test
with 6.4.x). I consider this a deficiency, as the interfaces only
says 'Source'. But then, the spec doesn't mandate the processor to
be able to cope with any class implementing the Source interface.
After all, someone could invent a FooSource (<grin/>).

J.Pietschmann

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


Current Thread