relative references from xdocs/*.xml resolve incorrectly
--------------------------------------------------------

         Key: MPXDOC-188
         URL: http://jira.codehaus.org/browse/MPXDOC-188
     Project: maven-xdoc-plugin
        Type: Bug

    Versions: 1.9.2    
    Reporter: Kohsuke Kawaguchi


I'm filing this as a separate bug since I couldn't figure out how to re-open 
MPXDOC-38.

The comment on the original bug report is correct that the problem is really an 
issue of dom4j.
Further investigation on the dom4j source code revealed that dom4j 1.4 has a 
lot of issues wrt
SAXReader.read(File). Besides this issue, it ignores the XML encoding 
declaration.

dom4j 1.5 has a proper fix to these issues, so please consider upgrading to 
dom4j 1.5 or later.
If for some reason using a later version of dom4j is not an option, then please 
consider using
other versions of the read method (one that takes URL, by using File.toURL)

File.toURL() is broken for some inputs, but in the context of Maven xdoc 
plugin, it shouldn't be a problem.

See 
http://cvs.sourceforge.net/viewcvs.py/dom4j/dom4j/src/java/org/dom4j/io/SAXReader.java?rev=1.58&view=log
 for the chanlog of SAXReader.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to