Error when adding XML file with relative DTD path defined.
----------------------------------------------------------
Key: JCR-833
URL: https://issues.apache.org/jira/browse/JCR-833
Project: Jackrabbit
Issue Type: Bug
Affects Versions: 1.2.3
Environment: Windows XP Professional
JBoss 4.0.5
Reporter: thierry lach
I'm trying to load some XML files into jackrabbit. These files have the
following doctype for their DTD.
<!DOCTYPE SurveyList SYSTEM "surveylist_1_0.dtd">
I have defined my survey repository under Windows "Network Places".
When I try to add the XML files, I get an error from Windows "An error occured
copying some or all of the selected files", and the JBoss log has the message:
jvm 1 | 05.04.2007 13:18:25 *ERROR* DavResourceImpl: Error while importing
resource: java.io.FileNotFoundException: C:\jboss-4.0.5\bin\surveylist_1_0.dtd
(DavResourceImpl.java, line 522)
The dtd does in fact exist in the folder that I am attempting to copy the file
into.
It appears that the dtd file is resolved relative to the launch directory of
JBoss (which is the current directory) as opposed to the directory in which the
file is found.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.