Re: [xml] Schema import namespace
- From: Daniel Veillard <veillard redhat com>
- To: dnorrell gmx net
- Cc: xml gnome org
- Subject: Re: [xml] Schema import namespace
- Date: Tue, 15 Jul 2008 11:29:30 -0400
On Tue, Jul 15, 2008 at 03:20:11PM +0200, dnorrell gmx net 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/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]