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"
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
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
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