Hi All,
I'm using DOMConfiguration.normalizeDocument() method to validate an
existing DOM object. This works fine when I use a single schema like below

DOMConfiguration config = document.getDomConfig()
config.setParameter("schema-location","employee.xsd");

But if I use more than one to schema like below 

config.setParameter("schema-location","employee.xsd , employee2.xsd");

I get the error 

Failed to read schema document 'employee.xsd , employee2.xsd', because 1)
could not find the document; 2) the document could not be read; 3) the root
element of the document is not <xsd:schema>.

Any ideas ?
Thanks
Jimmy

Reply via email to