[xml] A rare bug?

2008-01-03 Thread David Zhuo
hi All, I have a schema and a XML file and used xmllint to verify that the XML is in fact confirm to the schema. The rare problem I am running into is that different version of xmllint will have very different behavior and I am not certain which version is at fault. Here is an example: $ /usr/bin/

[xml] Validating a single xml node with a schema definition

2008-01-03 Thread dhkuhl
undefined ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] How to validate xml against several xsd files using libxml2?

2008-01-03 Thread Darko Miletic
Darko Miletic wrote: >> if you mean that the schema is delivered in several files, >> then there should be a wrapper schema which includes them. >> >> > I see. Thank you for this suggestion I'll check it out. > > It works with generating third wrapping xsd files. Too bad it is not document

Re: [xml] How to validate xml against several xsd files using libxml2?

2008-01-03 Thread Darko Miletic
Sebastian Rahtz wrote: > if you mean distinct areas in their own namespaces with > different schemas, I recommend you look at NVDL (http://nvdl.org/). > It's designed for just this sort of thing. I'm > not saying its easy to get working, mind... > This looks quite complicated... I'll see if I can u

Re: [xml] How to validate xml against several xsd files using libxml2?

2008-01-03 Thread Sebastian Rahtz
Darko Miletic wrote: > Hi to all, > > Recently I started working with e-learning content that includes > producing, parsing managing SCORM compliant manifest xml files. All > such files have declared parts of structure in several scheme files so > validation must be made using all that files at

[xml] How to validate xml against several xsd files using libxml2?

2008-01-03 Thread Darko Miletic
Hi to all, Recently I started working with e-learning content that includes producing, parsing managing SCORM compliant manifest xml files. All such files have declared parts of structure in several scheme files so validation must be made using all that files at the same time. I tried to vali