Bonjour Hussein,
I don't understand because I have a xcatalog file "xcatalog.xml" in a specific 
directory specified in the XXE_ADDON_PATH.
I see this file in the about box, and my XML file is edited without problem.
The problem is in the call of the Saxon engine.
Here is my DOCTYPE (extracted from __doc.xml):
---
 <!DOCTYPE FicheJurisprudence PUBLIC "UNEDIC//FicheJurisprudence//FR" 
"d:\XML\FicheJurisprudence\FicheJurisprudence.dtd">
---
the "d:\XML" directory is a old one, and now it's "d:/GestionFonds/DTD" that's 
why I have a catalog file with the entries :
---
 PUBLIC "UNEDIC//FicheJurisprudence//FR" 
"file:///d:/GestionFonds/DTD/FicheJurisprudence.dtd"
---
and I had for testing after your remark :
---
 URI "file:///D:/XML/FicheJurisprudence/FicheJurisprudence.dtd" 
"file:///d:/GestionFonds/DTD\FicheJurisprudence.dtd"
---
I have always the same error :
---
Traitement du fichier XML "C:\Documents and Settings\Marc\Local 
Settings\Temp\xxe9407\__doc.xml"
Erreur fatale: Failure reading 
file:/C:/Documents%20and%20Settings/Marc/Local%20Settings/Temp/xxe9407/__doc.xml
---
if I create the d:\xml directory all is all-right
-- 
Cordialement,
 Marc                            Courriel : Marc.Liste at free.fr
-----------------------------------------
Le lundi 7 janvier 2008 ? 12:23:09, vous ?criviez :

HS> Marc wrote:
>> I find the problem with the FileNotFound error in the use of <transform> 
>> process command.
>> It's because of the public Doctype (my own DTD) and the declaration of the 
>> catalog.
>> The catalog file is ok XXE, but it is not the same for the XSLT process. I 
>> don't find where is the catalog for the XSLT engine.

HS> All the catalog files (their name must end with suffix "atalog.xml") 
HS> found by XXE during its startup in its two addon/ directories are 
HS> dynamically merged and after that used *almost* everywhere. This 
HS> includes resolving import, document(), etc, URLs in the bundled XSLT 
HS> engine (Saxon 6.5.5).

HS> Therefore make sure you have a catalog.xml file in your configuration 
HS> directory and in addition to declarations such as this one:

HS>    <public publicId="My DTD" uri="mydtd.dtd"/>

HS> add declarations, *for* *example*, such as this one:

HS>    <uri name="http://mycom.com/xslt/myxslt.xslt";
HS>         uri="myxslt.xslt"/>


 
HS> --
HS> XMLmind XML Editor Support List
HS> xmleditor-support at xmlmind.com
HS> http://www.xmlmind.com/mailman/listinfo/xmleditor-support


Reply via email to