OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] URIResolver for saxon

[ Lists Home | Date Index | Thread Index ]

A question like this would best be asked on the saxon-help list or forum at SourceForge.
The URIResolver interface is part of JAXP, and there is some explanation in the package description for javax.xml.transform in the JDK javadoc specifications: but no specific examples.
There is an example in the TraxExamples.java sample application, though it's a rather trivial one, and it is an XSLT example rather than a XQuery example. However, the interface is really very simple: if you've tried to get it to work and can't, then it should be easy to show you what you've done wrong.
Performance: no, there's no reason why a user-written URIResolver should be less efficient than the system-supplied one, unless of course it is intrinsically inefficient.
Michael Kay

From: Shay Artzi [mailto:shay.artzi@weblayers.com]
Sent: 28 June 2005 16:29
To: xml-dev@lists.xml.org
Subject: [xml-dev] URIResolver for saxon


I’m writing an application in which the user will manage XQuery functions in libraries.

I have two questions:

1) Is there an example/explanation of how to create a URIResolver for Saxon?

I couldn’t find one.

2) Performance: will using a URIResolver for the XQuery import module have a significant effect on performance?

    If so is there a way to overcome/reduce that?









News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS