On Tue, Jul 15, 2008 at 03:20:11PM +0200, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I'm writing code that's doing XSD validation, and my schemas include <import 
> namespace=".." schemaLocation="http://...";> references. What I want to do is 
> optimize the resolution of schema imports, so that schemas are not retrieved 
> via http, or whatever scheme is being used. The only way I've worked out to 
> do this is via a custom I/O handler (xmlRegisterInputCallbacks). This isn't 
> ideal as it can only be configured globally for an application. Does anyone 
> know a better way to import schemas?

  use the standard catalog mechanism
    http://xmlsoft.org/catalog.html

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to