Re: [xml] Any xsd:import fixes lately?

On Wed, Aug 16, 2006 at 07:30:19PM +0200, Svenn-Ivar Svendsen wrote:


(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="";

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, 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.


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]