views:

35

answers:

2

Does anyone know if its possible to validate an XML schema with another XML schema? If so, is there a reference implementation out there? I would like to parse a Schema doc using JAXB.

+2  A: 

Of course. Most of the time you can just point your browser to the URL that serves as the namespace for the XML document. This also works with XML Schema: http://www.w3.org/2001/XMLSchema

The XSD is linked from there.

musiKk
+1 The XML Schema schema will let you validate whether your schema file is XML Schema valid.
Mads Hansen
A: 

Also check XSOM. This is what JAXB RI uses to load and process XSDs.

lexicore