I (maxwell at umiacs.umd.edu) wrote:
> We have several copies of XXE Professional edition installed on
> WinXP PCs on two different local area networks. It works on one of
> these networks, but not on the other.
Hussein Shafie replied:
> Normally, the "xxe-config:" prefix is specified as follows in
> XXE_install_dir/addon/config/catalog.xml: --- <rewriteURI
> uriStartString="xxe-config:" rewritePrefix="." /> --- This means that
> you have nothing special to do to make "xxe-config:" URLs work.
>
> The error could be caused by a modification you made in an XML
> catalog.
>
> Either: * XXE_install_dir/addon/config/catalog.xml has been deleted
> or corrupted.
XXE_install_dir/addon/config/catalog.xml is present, and it does not
appear to have been corrupted. (We un-installed and re-installed XXE.)
> Or: * You have redefined the "xxe-config:" prefix in an
> XML catalog of yours.
That seems unlikely, but I suppose it's possible. To my knowledge we
don't have any XML catalogs installed on that machine, other than the
ones that XXE itself installs. At any rate, this should show up in your
next suggestion, shouldn't it?:
> The XML catalogs loaded by XXE are displayed in the About box.
On the PCs where XXE is working right , the
XXE_install_dir/addon/config/catalog.xml shows up (as C:\Program
Files\XMLmind_XML_Editor\addon\config\catalog.xml). But on this PC that
isn't working right, it does *not* show up; the only catalog that
appears is the one for the Batik image toolkit plugin.
So that's apparently the problem; the catalog is where it should be, but
for some reason XXE isn't loading it. The question I still have is
*why* it isn't loaded, and what I can do to fix it. I don't see
anything in the XXE Options to add or remove catalogs. AFAIK, the only
non-standard thing we've done is to set the environment variable
XXE_ADDON_PATH to point to a shared directory where we keep our
customizations. This works fine on our PCs that are on the other
network, so I doubt that this is causing the problem. I don't see any
other suspicious looking environment variables on the PC where XXE isn't
working.
So: why would it be that doesn't XXE on this particular PC find the
XXE_install_dir/addon/config/catalog.xml (which is on that PC's C:
drive), and what can we do to tell XXE where this is?
(I'm not sure why the Batik plugin is installed, it's not one we're
using. I'll try uninstalling it and see if that makes any diff.)
All our PCs are running XXE Professional v4.1, under Windows XP.
--
Mike Maxwell
"We signify something too narrow when we say:
Man is a grammatical animal. For although there
is no animal except man with a knowledge of grammar,
yet not every man has a knowledge of grammar."
--Martianus Capella, "The Seven Liberal Arts"