Validate XML with schema XSD.
Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
3 posts
Page 1 of 1
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]
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
Antonio,
Can you provide the Project XML and full Job Log so that we can review? You can email them to [email protected] if you'd rather do that.
Thanks!
Can you provide the Project XML and full Job Log so that we can review? You can email them to [email protected] if you'd rather do that.
Thanks!
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
It looks to me like Director can't access the xsd path.
You are using file://pruebasXML/note.xsd which Windows will take to mean \\pruebasXML\note.xsd if the path is on the local drive like the noteresult.xml this URI should be something like file:///C:/prubasXML/note.xsd
You are using file://pruebasXML/note.xsd which Windows will take to mean \\pruebasXML\note.xsd if the path is on the local drive like the noteresult.xml this URI should be something like file:///C:/prubasXML/note.xsd
3 posts
Page 1 of 1