Hello,

I get this error when the schema used for validation cannot be found at
the location specified in the XML document. In your case if there is a
works.xsd file on the hard disk and the root element of the works.xsd
file is xsd:schema the location is not specified correctly in the XML
document. Does works.xsd exist in the directory specified in the XML
document that you try to add to eXist?

/export/home/library/eXist/webapp/WEB-INF/entities/works.xsd

If it exists what is the version of your eXist server?


Regards,
Sorin


Jing, Jenny wrote:
Hi,

I'm trying to set up eXist to validate records with schema. But I keep getting 
error message when
I tried to save a record in eXist.

Cannot save the file. org.xml.sax.SAXParseException: schema_reference.4: Failed to 
read schema document 
'file:/export/home/library/eXist/webapp//WEB-INF/entities/works.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>.

Does anyone know what might cause this error message?
The schema's root is <xsd:schema> I am sure about that.

Thanks.

Jenny

_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to