Page 1 of 1

Error Adding Resources to eXist DB

Posted: Thu Apr 03, 2008 7:48 pm
by mphare
Hi,

Now that I have my Oxygen 8.2 running with my eXist, I'm trying to add files to the DB.

When I try to add an XML file I get this error:
Error:
Could not parse file D:\mphare\NE Documents\NMIS-Exporting\data_orig_28Jan08\data_orig_28Jan08\FLASHWAVE_9500\01-01\tl1_data\fnc\Cmd\ALARM\init-ao_v0.xml:
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'tl1Valid.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>.

Location: ALARMS
I understand the XSD/DTD can't be found, but why can't I upload the file anyway? Is there a way to turn off the validation of the file for upload?

Re: Error Adding Resources to eXist DB

Posted: Thu Apr 03, 2008 9:17 pm
by mphare
I think I've asked this question before..
so please disregard.

Thanks!

Re: Error Adding Resources to eXist DB

Posted: Mon Apr 07, 2008 12:40 pm
by sorin_ristache
Hello,
mphare wrote:I understand the XSD/DTD can't be found, but why can't I upload the file anyway? Is there a way to turn off the validation of the file for upload?
You have to turn off validation in the eXist server. Set the attribute validation to yes for element indexer in file conf.xml.


Regards,
Sorin