Barbara Estes wrote:
> I updated standard XXE-Editor from version 2.7 to 3.2.  I had edited the
> XXE-Editor catalog previously to rewrite URI's for use with xi:included
> files.  I edited the catalog with the new version to include my rewrite
> URI paths but it is not happening.  It is throwing errors saying the
> path cannot be found.
> 
> After the standard rewriteURI that comes in the catalog (shown below), I
> added the following:
>  <rewriteURI uriStartString="xxe-config:" rewritePrefix="." />
>  <rewriteURI uriStartString="file:///core/"
> rewritePrefix="file:///E:/wip/core/help/" />
>  <rewriteURI uriStartString="file:///gen/"
> rewritePrefix="file:///E:/wip/gen/help/" />
> 
> When I load the file in XXE-Editor, I get the following warning message:
> /chapter/sect1/xi:include:
> cannot load file "\core\generic\genericText.xml":
> \core\generic\genericText.xml (The system cannot find the path specified)
> 
> In the file, the xi:include looks like this:
> 
> <xi:include href="file:///core/generic/genericText.xml"
> xpointer="genericText_configuration"
> xmlns:xi="http://www.w3.org/2001/XInclude";>
>    </xi:include>
> 
> So why did this work before, but will not work now.  I can't figure it out.
> 

What you did is OK, and the XML Catalog works fine in XXE, but starting
from version V2.8 Patch 1 (November 29, 2004), *xi:includes* are no
longer XML Catalog enabled. (Yes, this is a regression.)

Why?

- "File|Save As" cannot handle modular documents where an XML catalog is
used to resolve the locations found in the href attribute of xi:include.

- xi:includes are supposed to be used *internally* by XXE to create
modular documents. In such case, the fact that xi:includes are not XML
Catalog enabled is not a problem.


Reply via email to