Petr Nalevka wrote: > Unfortunately it is not the only issue with Xerces and XInclude. There > is a bug in xml:base attribute value for includes inside includes. The > path is no relative to the parent xml:base path. > > This causes for example incorrect resolution of fileref for DocBook > imagedata when inside embedded includes. > > The issue is known since 2005!! :) Still not solved in latest release. > Fortunatelly there is an one line patch which appeared in 2008. > > https://issues.apache.org/jira/browse/XERCESJ-1102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel >
As of v4.2.1 (to be released before the end of this month), XMLmind XML Editor will use a patched Xerces 2.9.1. These patches fix the following bugs: http://issues.apache.org/jira/browse/XERCESJ-1102, http://issues.apache.org/jira/browse/XERCESJ-1113. Note that XMLmind XML Editor has always been immune to these bugs. We needed to apply these patches because a part of the codebase of XMLmind XML Editor is shared with other projects, which unlike the XML editor, use Xerces to process XIncludes. Meanwhile, you can download the patched Xerces 2.9.1 (compiled using javac 1.4.2) from: --- http://www.pixware.fr/_download/patched_xerces_2_9_1/ShortHandPointer.patch 762bytes, Wed Jan 14 10:38:13 AM CET 2009 http://www.pixware.fr/_download/patched_xerces_2_9_1/XIncludeHandler.patch 554bytes, Wed Jan 14 10:38:14 AM CET 2009 http://www.pixware.fr/_download/patched_xerces_2_9_1/xercesImpl.jar 1224523bytes, Wed Jan 14 10:40:12 AM CET 2009 ---

