xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] setting an URIResolver - who is correct, saxon or xalan


Subject: [xsl] setting an URIResolver - who is correct, saxon or xalan
From: "Robert Koberg" <rob@xxxxxxxxxx>
Date: Sat, 31 May 2003 08:32:25 -0700

Hi,

I just figured out why I am having problems switching between XSL
processors, namely Xalan, Saxon and the Resin servlet container's own Impl.

With Saxon I can set the URIResolver once on the TransformerFactory and it
is also used by the Transformer.

But with Xalan, I need to set the URIResolver on both the TransformerFactory
and the Transformer. 

I haven't tested Resin yet, but I would bet is the same as Xalan.

I can see benefits to both approaches, but I would hope for standard way to
do it. I will set them both, which works in Saxon regardless. It seems
correct to me that the Transformer should inherit it's factory's resolver.
It seems overkill to set it twice since the transformer comes from the
factory.

Have I simply stumbled on a Saxon 'feature' but really been doing it wrong
all this time?

Who is right? Or if there is no right way, what are your thoughts?

Best,
-Rob


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



Current Thread
Keywords
xsl
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor