You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "thierry lach (JIRA)" <ji...@apache.org> on 2007/04/12 11:23:33 UTC

[jira] Commented: (JCR-833) Error when adding XML file with relative DTD path defined.

    [ https://issues.apache.org/jira/browse/JCR-833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488314 ] 

thierry lach commented on JCR-833:
----------------------------------

I apparently wasn't clear enough.  I am using the jackrabbit-supplied webdav provider through Windows "Network Places".  I am doing nothing with code at all.

> 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.