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. The version (4.1.0), config files, and installation > directories are the same for both networks, as far as I can tell. Clearly > I'm missing something, but after re-installing XXE on the "bad" PC, > re-installing our local config files, etc., I still can't tell why it > works on one network and not the other. I'm hoping that you'll have a > guess where I have failed. > > The error msg is: > ---------- > Errors found in configuration files > > file:/S:/TTO1308/XMLEditor/addon/CASLGrammar/0CASLGrammar.xxe > > * "file:/S:/TTO1308/XMLEditor/addon/CASLGrammar/0CASLGrammar.xxe", > line 17, column 58: missing or invalid attribute "location" > ---------- > > The line in question looks like this: > ---------- > <include location="xxe-config:docbook5/docbook5.xxe" /> > ---------- > and column 58 is the newline at the end of that line. If I'm > understanding correctly, xxe-config should point on our WinXP machines to > C:\Program Files\XMLmind_XML_Editor\addon\config\
The "xxe-config:" prefix must be replaced by an URI. "C:\Program Files\XMLmind_XML_Editor\addon\config\" is a filename and not an URI. > which I can confirm is there, and the docbook5/docbook5.xxe file is in the > expected place and (as far as I can tell) intact. We verified that there > is no environment var xxe-config defined on the "bad" PC, so presumably > XXE interprets this variable correctly; in which case it should find the > docbook5.xxe file. You would think. No. The error message means that "xxe-config:docbook5/docbook5.xxe" is a malformed URL. The URL is malformed because the "xxe-config:" prefix is not properly defined in an XML catalog. 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. Or: * You have redefined the "xxe-config:" prefix in an XML catalog of yours. > > (We do have the environment variable XXE_ADDON_PATH set to > "S:\Public\TTO1308\XMLEditor\addon;+", which is where it's finding the > file whose line 17 is reported as the erroneous line.) > > Any suggestions of other things I should check for, or other ways to debug > this problem? The XML catalogs loaded by XXE are displayed in the About box. Please check the "xxe-config:" prefixes defined in *all* these files. Normally you should find a single one, defined as: --- <rewriteURI uriStartString="xxe-config:" rewritePrefix="." /> --- in XXE_install_dir/addon/config/catalog.xml. If this is actually the case, then you have found a bug.

