C
christian.eickhoff
Hi,
I have a general question regarding the parsing of XSD files,
referenced within the namespace using Apache Xerces 2.7.0 (CDT). My
current c++ application can parse and validate an XML file and an XSD
schema, both located on my harddisk, against each other without any
problems. I can therefore also parse the schema file and access it the
same way than a common xml file.
The question now is whether Xerces provides the possibility to parse a
schema file that is just references within the namespace declaration
into a DOMDocument for example so that my application can not just
validate both files against each other but it should be able to parse
the entire schema instance as I need to analyze subsections of the xsd
accordingly.
Anybody some idea or some sample code how to realize this?
Best Regards,
Chris
I have a general question regarding the parsing of XSD files,
referenced within the namespace using Apache Xerces 2.7.0 (CDT). My
current c++ application can parse and validate an XML file and an XSD
schema, both located on my harddisk, against each other without any
problems. I can therefore also parse the schema file and access it the
same way than a common xml file.
The question now is whether Xerces provides the possibility to parse a
schema file that is just references within the namespace declaration
into a DOMDocument for example so that my application can not just
validate both files against each other but it should be able to parse
the entire schema instance as I need to analyze subsections of the xsd
accordingly.
Anybody some idea or some sample code how to realize this?
Best Regards,
Chris