You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Kohsuke Kawaguchi (JIRA)" <ji...@codehaus.org> on 2006/01/16 03:03:01 UTC
[jira] Commented: (MPXDOC-188) relative references from xdocs/*.xml
resolve incorrectly
[ http://jira.codehaus.org/browse/MPXDOC-188?page=comments#action_55942 ]
Kohsuke Kawaguchi commented on MPXDOC-188:
------------------------------------------
See MAVEN-1345 for a discussion about the versions of dom4j and their issues.
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org