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>
---


Reply via email to