Eric Larkin wrote: > > We are exploring the use of XMLMind XML Editor's docbook extensions for the > authoring of technical documentation. As part of that effort, we are trying > (so far unsuccessfully) to centralize the unmodified configuration on an > http server. I am reasonably confident that the XMLMind XML Editor v2.5.1 > installation on my local computer is correct because if I remove the > environment variables pointing to the http server, the application starts > correctly with no errors. > > Here are the steps I have taken: > > (1) I placed a copy of the XMLMind config directory on an http server at > http://<servername>/doc/_xxe-config The contents of this directory are > listed in the attached file. > > (2) I added a file called "arena-config.list" to the directory on the http > server, which contains the following two lines: > > docbook/docbook.xxe > sdocbook/sdocbook.xxe > > (3) I added environment variables to my local computer: > > xxe_conf...@http://doc.arenasolutions.com/doc/_xxe-config/arena-config.list > XXE_CATALOGS=http://doc.arenasolutions.com/doc/_xxe-config/catalog.xml > > After taking these three steps, when I start XMLMind on my local computer > (running Windows XP), I get the following error messages: > > Errors found in configuration files > > http://doc.arenasolutions.com/doc/_xxe-config/sdocbook/sdocbook.xxe > "http://doc.arenasolutions.com/doc/_xxe-config/docbook/common.incl", line > 14, column 2: invalid element "documentHook": > com.xmlmind.xmleditapp.docbook.DocumentHookImpl > > http://doc.arenasolutions.com/doc/_xxe-config/docbook/docbook.xxe > "http://doc.arenasolutions.com/doc/_xxe-config/docbook/common.incl", line > 14, column 2: invalid element "documentHook": > com.xmlmind.xmleditapp.docbook.DocumentHookImpl > > > The cause of the problem seems to be that the files "docbook.jar" and > "docbook-help.jar" specified in the <load> and <help> elements of the > "docbook.xxe" config file are not loading, even those these files are > present on the http server. These elements look like this:
Yes. com.xmlmind.xmleditapp.docbook.DocumentHookImpl is a Java class defined in docbook.jar. I have done something very close to your experiments on a Windows 2000 client running Java 1.4.1_02: (Added this to autoexec.bat and logout/login Windows session) --- set xxe_conf...@http://lupo.pixware.fr/xxe/config/config.list set XXE_CATALOGS=http://lupo.pixware.fr/xxe/config/catalog.xml --- and a Linux+apache 2.0 server (http.conf): --- <Directory /home/hussein/src/xxe/distrib> AllowOverride None Order Deny,Allow Deny from All Allow from 194.98.36 localhost Options Indexes Includes </Directory> Alias /xxe /home/hussein/src/xxe/distrib --- where /home/hussein/src/xxe/distrib/config/config.list contains: --- docbook/docbook.xxe sdocbook/sdocbook.xxe --- I then started XXE using the launcher created by the installer and _everything ran fine_: I created a Simplified DocBook article and I opened the docbook-table.xml demo which uses classes found in docbook.jar. I even *removed* the docbook and sdocbook directories in "C:\Program Files\XMLmind_XML_Editor\config\" on the Windows 2000 client to make sure that they were not accessed. I have not the slighest idea to what is happening to you (arena-config.list seems OK, _xxe-config-listing.txt too) May be your HTTP server refuses to give access to JAR files? > <load location="docbook.jar" /> > <help location="docbook_help.jar" /> > > I have tried modifying the value of the location attribute on these lines in > the docbook.xxe file on the http server, including entering absolute URLs, > entering plainly incorrect filenames, and even deleting the lines entirely. > Regardless of the contents of these two lines, I get the same error message > upon starting XMLMind. Interestingly, the <load> and <help> lines > themselves don't generate errors, even when the content of the location > attribute is clearly wrong. The validity of the URL is checked, not the existence of the resource. For example, you'll get an error if you specify an empty string.

