Cannot add an XML resource to Exist DB
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 71
- Joined: Fri Apr 30, 2004 8:00 pm
- Location: Texas
Cannot add an XML resource to Exist DB
I can save a DTD to the eXist DB, but not an XML file..
I get:
I get:
Any ideas for this?Cannot save the file. 500 Internal Server Error for: http://mphhome5:8080/exist/webdav/db/te ... Events.xml
--------------------------
- mike
GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
- mike
GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
-
- Posts: 71
- Joined: Fri Apr 30, 2004 8:00 pm
- Location: Texas
It seems to have something to do with the
If I remove this, it saves ok.
I've tried the explicit path to the disk, a relative path in the eXist database structure and a webdav URL. None seem to work. How should this DOCTYPE be declared?
Code: Select all
<!DOCTYPE Section SYSTEM "file:///c:/mphare/Development/structured-fm/NMIE-Structured-Environment/NMIS/NMIS.dtd" [
<!-- Begin Document Specific Declarations -->
<?Fm Validation Off?>
<!-- End Document Specific Declarations -->
]>
I've tried the explicit path to the disk, a relative path in the eXist database structure and a webdav URL. None seem to work. How should this DOCTYPE be declared?
--------------------------
- mike
GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
- mike
GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
I get this error only when I try to save an XML file that declares a DTD with a relative path to an eXist database through WebDAV using the File -> Save to URL action in oXygen. Without the DTD declaration I can execute the save without getting an error. It is an eXist server problem. You can see a clear error message instead of Internal Server Error if you try to save the same XML file in the same location (the same eXist collection) using the Add resource action of the popup menu of the Database Explorer view on that collection. The error message is:
That means the server resolves yourFile.dtd that you refer in the XML file relative to the eXist server home directory. It does not resolve it relative to the current eXist collection. That happens because you did not register your DTD on the server using a catalog file as specified in the eXist documentation.
Regards,
Sorin
I get this error only when I try to save an XML file that declares a DTD with a relative path to an eXist database through WebDAV using the File -> Save to URL action in oXygen. Without the DTD declaration I can execute the save without getting an error. It is an eXist server problem. You can see a clear error message instead of Internal Server Error if you try to save the same XML file in the same location (the same eXist collection) using the Add resource action of the popup menu of the Database Explorer view on that collection. The error message is:
Code: Select all
Cannot save the file: FileNotFoundException: /home-dir/of/eXist-server/yourFile.dtd
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service