Vincent Quesniaux wrote:
> Adding an add-on is exactly what I want to do.
> I have read the procedure explained in sub-section 1.1. "The lookup phase
> during XXE startup" and copied my uri-resolver-catalog.xml in the
> Application Data\XMLmind\XMLEditor\addon directory as described in step 1.
> 
> The problem is still the same when I try to open of my docbook files.

I cannot reproduce the problem you have:

[1] Here's the start of my test file toto.dbk :

---
<?xml version='1.0' encoding='ISO-8859-1'?>
<?xml-stylesheet type="text/css"
href="../../../../../../../addon/config/docbook/css/docbook.css"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"../../../../../../../addon/config/docbook/dtd/V4.1.2/docbookx.dtd" [

<!ENTITY % toto SYSTEM "http://doc.solsoft.com/dtd/toto.ent"; >
%toto;

]>
<article status="Committee Specification">
<articleinfo>
<releaseinfo role="cvs">
$Id: cs-docbook-docbook.xml,v 1.2 2002/07/17 16:13:07 nwalsh Exp $
</releaseinfo>
    .
    .
    .
---

[2] I've created a file called uri-resolver-catalog.xml in ~/.xxe/addon/
(I work on a Linux box):

---
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
         prefer="public">

  <rewriteSystem systemIdStartString="http://doc.solsoft.com/dtd/";
                 rewritePrefix="file:///home/hussein/tmp/" />

</catalog>
---

[3] * If now, I restart XXE, I see uri-resolver-catalog.xml listed by
the "About..." dialog box.

* When I open toto.dbk, it works.

* If I move uri-resolver-catalog.xml to /tmp/, it no longer works, etc.




> Is step 2 compulsory too? If yes, where do you define the XXE_ADDON_PATH
> variable? It is not very clear. 

No. This is as simple as described above.

Reply via email to