Quantcast
Channel: Validating XML with multiple XSDs in Java - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Cephalopod for Validating XML with multiple XSDs in Java

Who ever designed the Java XML API must have been using drugs...public void parseAndValidate(File xmlFile, ContentHandler handler) { SchemaFactory schemaFactory =...

View Article


Validating XML with multiple XSDs in Java

I want to parse an XML file with Java and validate it in the same step against an XSD schema. An XML file may contain content of several schemas, like this:<outer xmlns="my.outer.namespace"...

View Article

Browsing all 2 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>