From: Wolfgang <wol...@ex...> - 2008-08-08 19:18:26
|
Hi, > I just want to add one more thing to this problem, I can't save a > record which is validated, Here is the error message: > > 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' I guess you need to make sure that both, Oxygen and eXist have access to the schema. For eXist, you can set up catalog.xml to locate the schema. I think you already did that. If everything is correct, eXist should no longer allow you to store an invalid document. However, to get feedback while editing the document in Oxygen, the editor needs access to the schema as well. This can be done in several ways, e.g. by storing the schema into eXist and referencing it with an absolute URI in xsi:schemaLocation. Wolfgang |