[libxml-devel] Namespace issue with validate_schema?

Charlie Savage cfis at savagexi.com
Wed Jan 7 16:11:59 EST 2009


> This is likely a PEBKAC issue rather than a bug. I hope I'm submitting
> to the right list.
> 
> I'm getting different validation results from libxml in Ruby than I am
> from a command-line tool (xmllint). I'm using a schema definition from
> ASTM to validate the output, for what it cost me the schema should be
> correct. I'm using libxml 0.9.4.
> 
> 
> I expect a failure, since I haven't added a required node yet
> (Patient), but I'm trying to reconcile the discrepancy between xmllint
> and libxml.

Yeah, that sure is interesting. My first thought is if libxml-ruby is 
using the same version of libmxl that xmllint is using?  Is this on 
Windows, Linux, OS X or some other OS?

> Is this a usage error on my part? Am I misusing libxml or is the xml
> incorrect?
> 
> If this is a bug, has it been patched? If not, what information can I
> provide to help get it fixed?

I see the xml you are validating, but can you provide the schema?  Mind 
submitting a bug report at ruby forge?

http://rubyforge.org/tracker/?group_id=494

Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://rubyforge.org/pipermail/libxml-devel/attachments/20090107/3085b9c8/attachment-0001.bin>


More information about the libxml-devel mailing list