Validate XML with schema XSD.
Posted: Thu Nov 27, 2014 5:47 am
Hello,
I have an XML file, I want validate it with a schema XSD.
In all tests performed I get the following message:
27/11/2014 11:41:01 INFO File 'C:\pruebasXML\noteresult.xml' (166 bytes) was created successfully
27/11/2014 11:41:09 ERROR [8098 - xmlWrite] schema_reference.4: Failed to read schema document 'file://pruebasXML/note.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>.
27/11/2014 11:41:09 INFO Finished project 'Verificar XML con XSD'
Does anyone know what could be the problem?
Thanks.
Antonio Garcia
[email protected]
I have an XML file, I want validate it with a schema XSD.
In all tests performed I get the following message:
27/11/2014 11:41:01 INFO File 'C:\pruebasXML\noteresult.xml' (166 bytes) was created successfully
27/11/2014 11:41:09 ERROR [8098 - xmlWrite] schema_reference.4: Failed to read schema document 'file://pruebasXML/note.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>.
27/11/2014 11:41:09 INFO Finished project 'Verificar XML con XSD'
Does anyone know what could be the problem?
Thanks.
Antonio Garcia
[email protected]