Hi !

That's a catalog issue with 2.6 version again. Under *Linux*, when I 
paste this element in /usr/local/xxe-std-26/config/catalog.xml :

<public publicId="-//UTC//DTD XMLlab V1.2//FR" 
uri="/home/mottelet/XMLlab/dtd/1.2/simulation.dtd"/>

then xxe is ok at loading files using the corresponding DTD,

but when I create the whole file "catalog.xml" :

<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog 
V1.0//EN" 
"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd";>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
        <public publicId="-//UTC//DTD XMLlab V1.2//FR"
                uri="/home/mottelet/XMLlab/dtd/1.2/simulation.dtd"/>
</catalog>


in my .xxe2/config folder, then xxe freezes for a few
minutes, and after that says it cannot load the dtd.

What's the problem here ? Under MacOSX there is not problem
for loading catalogs under .xxe2/config.

Thanks for help

S.

Hussein Shafie wrote:
> Stephane Mottelet wrote:
> 
>> Sous MACOSX (10.3), o? faut-il d?finir la variable
>> d'environnement XXE_CATALOG ? D'autre part, il est
>> impossible de rajouter des URL de catalogues en
>> s?l?ctionnant le menu Options/Schema (cela est possible
>> sous Linux par exemple).
> 
> 
> This public mailing list is in English. Here's the translation of 
> Stephane's question:
> 
> ---
> Using MACOSX (10.3), where do I need to define environment variable 
> XXE_CATALOG? It is not possible to add XML catalog URLs using menu 
> Option/Schema (for example, that's possible with the Linux version).
> ---
> 
> Starting from V2.5 Patch 3 (March 10, 2004), it is no longer possible to 
> specify XML catalog URLs using the Options dialog box, Schema tab. This 
> is true on Linux, MacOSX and Windows.
> 
> The easiest way to add an XML catalog to the list of XML catalogs used 
> by XXE is to copy this XML catalog to ~/.xxe2/config/ after giving it a 
> name ending with "atalog.xml".
> 
> In fact you can drop XML catalogs anywhere XXE usually discovers 
> configuration files (see 
> http://www.xmlmind.com/xmleditor/_distrib/docs/configure/ch04s01s02.html).
> 
> After doing this simply restart XXE.
> 
> Environment variable XXE_CATALOG is an advanced way of specifying XML 
> catalogs. Most users can ignore it. However if you need it (see 
> http://www.xmlmind.com/xmleditor/_distrib/docs/configure/ch04s01s02.html), 
> it is best to specify it in ~/.MacOSX/environment.plist on Mac.
> 
> Like on all other Unices, it is also possible to specify it in 
> ~/.profile, ~/.bashrc, ~/.tcshrc but if you want *graphical* 
> applications to access some environment variables, you need to specify 
> them in ~/.MacOSX/environment.plist.
> 
> Sample environment.plist (already sent to another Mac user):
> 
> ---
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
> <plist version="1.0">
>   <dict>
>     <key>XXE_CONFIG</key>
>     <string>@http://194.98.36.87/xxe/config.list</string>
>   </dict>
> </plist>
> --
> -



-- 
e-mail : Stephane.Mottelet at utc.fr
www : http://www.dma.utc.fr/~mottelet


Reply via email to