Re: [xml] Any xsd:import fixes lately?
- From: Daniel Veillard <veillard redhat com>
- To: Svenn-Ivar Svendsen <ssvendsen atmel com>
- Cc: xml gnome org
- Subject: Re: [xml] Any xsd:import fixes lately?
- Date: Wed, 16 Aug 2006 13:59:43 -0400
On Wed, Aug 16, 2006 at 07:30:19PM +0200, Svenn-Ivar Svendsen wrote:
Hi,
(I tried to seach for info in the archives before posting this, but it seems
there are som problems with the search indexes...)
I'm using xmlstarlet, an xml command line tool which I understand is based
on libxml2.
Including the follwing reference in a schema makes xmlstarlet hang
(presumably somewhere within libxml2) when I use the schema to validate an
xml document:
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
If I do not import the external schema (and remove related elements in the
target xml document) the validation works fine.
The latest build of xmlstarlet dates back to March 2003, and I'm tempted to
get the source (including the libxml2 source on which its based) by CVS and
build a new version myself. Not being fluent in these things, it would take
me a while.
So the question before digging into it is: Is it probable that this problem
is caused by an outdated version of libxml, and is there a chance that it
has been fixed by now?
grab the latest libxml2 (2.6.26) on xmlsoft.org, recompile, and try your
schemas and instance with xmllint --schema . If it fails report the full
schemas , if it doesnt fail it's due to an older version.
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]