configDoc = XmlUtil.parseStream(new StringReader(streamData));
} catch (ParserConfigurationException ee) {
throw new SAXException("Unable to parse Smooks configuration.", ee);
}
XsdDOMValidator validator = new XsdDOMValidator(configDoc);
String defaultNS = validator.getDefaultNamespace().toString();
validator.validate();
configStack.peek().defaultNS = defaultNS;
if(XSD_V10.equals(defaultNS)) {
if(validator.getNamespaces().size() > 1) {
throw new SmooksConfigurationException("Unsupported use of multiple configuration namespaces from inside a v1.0 Smooks configuration. Configuration extension not supported from a v1.0 configuration. Use the v1.1 configuration namespace.");
}
digestV10XSDValidatedConfig(baseURI, configDoc);
} else if(XSD_V11.equals(defaultNS)) {
digestV11XSDValidatedConfig(baseURI, configDoc);