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

angela commented on JCR-833:
----------------------------

the bug report isn't very specific... so a couple of assumptions:

- you are using the simple server
- you are using the default set of IOHandlers

if this is the case PUTting a xml file will result in a 
Session.importXML(String, InputStream, int)

actually, nothing webdav specific will happen otherwise. In this case Jukkas 
analysis would apply.
But my assumptions my be wrong...


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

Reply via email to