Re: [xml] libxml2 does xmlSchemaValidateDoc() support xml schema extensions?

2011-12-15 Thread Andy Davidson
Hi PiortrI still can not validate xml that uses xml schema extensions. I think I figured out what the problem might be, but do not know how to resolve i. I wonder if the problem is with the way I set up my xml namespace?zoo:cageRequest xmlns:zoo="http://www.example.org/Zoo"

Re: [xml] libxml2 does xmlSchemaValidateDoc() support xml schema extensions?

2011-12-16 Thread Andy Davidson
Many thanks Piotr Happy Holidays Andy On Dec 15, 2011, at 7:01 PM, Piotr Sipika wrote: Hi Andy, I am setting up the xml schema namespace the same way eclipse does when you create a new XSD or XML file. I entered *http://www.w3.org/2001/XMLSchema-instance*in the address bar of my

[xml] libxml2 does xmlSchemaValidateDoc() support xml schema extensions?

2012-01-02 Thread Andy Davidson
HiI am using libxml2. I usexmlSchemaValidateDoc() to make sure my xml is valid. Recently we started using Extension to define new complexTypes.The description for extensions can be found at http://www.w3.org/TR/xmlschema-0/#DerivExt These instance do not validate using libxml2. I am able to

[xml] is my xsd file valid?

2012-03-12 Thread Andy Davidson
Hi I am able to use to xmllint to validate an xml file against a xsd file. $ xmllint --noout zoo.xml --schema zoo.xsd zoo.xml validates Any idea how I can validate the actual xsd file? I have a large set of xsd files. I want to create a shell script that makes it easy to check the set is