[oXygen-user] configuring a catalog


Mon Sep 26 01:07:28 CDT 2005


Hi,

I've run into a problem using my catalog with oXygen.

The catalog works successfully when transforming my files from the command-line
using saxon/xerces/fop etc, but it isn't working when I edit with oXygen. 
Version 6.0 running on Windows XP SP2

I have unchecked the Use default catalog option in the Preferences and added my
own catalog to the list.  I made sure I restarted oXygen before testing but
still no luck.  I have set my CLASSPATH to include the directory where the
catalog and the properties files are located.  Have I missed something obvious?

Thanks for your help,

Geoff.

This is my catalog:

<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">

  <!-- DTD files installed under d:\doc_workarea\zzuncontrolled\docbook-dtd-4.3
-->
  <group prefer="public"
xml:base="file:///d:\doc_workarea\zzuncontrolled\docbook-dtd-4.3\">

    <public
      publicId="-//OASIS//DTD DocBook XML V4.3//EN"
      uri="docbookx.dtd"/>

    <system
      systemID="http://doctools.its.utas.edu.au/docbook/dtd/docbookx.dtd"
      uri="docbookx.dtd"/>

    <!-- Resolve DTD PUBLIC identifiers -->
    <nextCatalog catalog="catalog.xml"/>

  </group>

  <!-- find the xinclude module -->
  <system
    systemID="http://doctools.its.utas.edu.au/custom/xinclude.mod"
    uri="file:///d:\doc_workarea\zzuncontrolled\xinclude.mod"/>


  <!-- Default stylesheet files installed under
d:\doc_workarea\zzuncontrolled\docbook-xsl-1.68.1\ -->
  <rewriteURI
    uriStartString="http://doctools.its.utas.edu.au/docbook/xsl/"
    rewritePrefix="file:///d:/doc_workarea/zzuncontrolled/docbook-xsl-1.68.1/"/>


  <!-- ITR stylesheet files installed under d:\doc_workarea\single-source\ -->
  <rewriteURI
    uriStartString="http://doctools.its.utas.edu.au/custom/"
    rewritePrefix="file:///d:/doc_workarea/single-source/"/>


</catalog>

My CatalogManage.properties file is:

catalogs=gmp-catalog.xml;zzuncontrolled/docbook-dtd-4.3/catalog.xml
relative-catalogs=false
static-catalog=yes
catalog-class-name=org.apache.xml.resolver.Resolver
verbosity=1



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the oXygen-user mailing list