Quantcast
Channel: Validating XML with multiple XSDs in Java - Stack Overflow
Browsing latest articles
Browse All 2 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 latest articles
Browse All 2 View Live