[oXygen-user] Setting up A Catalog

Sorin Ristache
Thu Jul 5 02:49:11 CDT 2007


Hello,

There is a problem with resolving the DOCTYPE declaration of XML Catalog 
1.1 files when the catalog resolver parses such a catalog. We will fix 
the problem in the next version of oXygen. As workaround please comment 
or remove the DOCTYPE declaration from your XML Catalog 1.1 file.


Regards,
Sorin


Chris Chiasson wrote:
> I dunno. Try posting the exact error message text for both problems.
> Maybe someone will recognize one of them.
> 
> lol, I just realized this is on the oxygen-user list. I thought we
> were on the docbook-apps lists.
> 
> On 7/4/07, Jeff Sese <> wrote:
>> Tried it, it seems the browser can see the file, because it reports an
>> XML parsing error that points to a parameter entity declaration.
>>
>> Maybe this be the cause of the problem? Do I need to specify in the
>> catalog that I have external entities in the DTD that I'm trying to 
>> resolve?
>>
>> Thanks,
>> Jeff
>>
>> Chris Chiasson wrote:
>> > Enter this URL into a web browser on your validation machine:
>> >
>> > file:///D:/RND/Hachette/DTD/DTD_LG_XMLV24.DTD
>> >
>> > If the web browser can find the file, then you know the problem isn't
>> > with the URL. If it can't find the file, try cutting pieces off the
>> > end of the URL and navigating until you can find it.
>> >
>> > Also, I am not sure if the colon character is technically allowed in
>> > the path segment. If it isn't you could try percent escaping it.
>> >
>> > On 7/4/07, Jeff Sese <> wrote:
>> >> Hi,
>> >>
>> >> I'm trying out the editor and tried to use a custom XML Catalog for my
>> >> project. Below is the catalog that i've careated:
>> >>
>> >> <?xml version="1.0" encoding="UTF-8"?>
>> >> <!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.1//EN"
>> >> "http://www.oasis-open.org/committees/entity/release/1.1/catalog.dtd">
>> >> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
>> >>     <systemSuffix systemIdSuffix="DTD_LG_XMLV24.DTD"
>> >> uri="file:///D:/RND/Hachette/DTD/DTD_LG_XMLV24.DTD"/>
>> >>     <uriSuffix uriSuffix="DTD_LG_XMLV24.DTD"
>> >> uri="file:///D:/RND/Hachette/DTD/DTD_LG_XMLV24.DTD"/>
>> >> </catalog>
>> >>
>> >> I'm not familiar with catalogs so please bear with me. From my
>> >> understanding this catalog will resolve my DOCTYPE declarations to 
>> find
>> >> a local copy of my DTD. So if I have a <!DOCTYPE livre SYSTEM
>> >> "DTD_LG_XMLV24.DTD"> in my declaration this will eventually map-out to
>> >> file:///D:/RND/Hachette/DTD/DTD_LG_XMLV24.DTD. Right?
>> >>
>> >> I have added this catalog in the XML Catalog section in the 
>> preferences
>> >> and already restarted the editor, but upon validation I still get a
>> >> FileNotFoundException-D:\RND\Hachette\DTD_LG_XMLV24.DTD (The system
>> >> cannot find the file specified). What am I doing wrong here?
>> >>
>> >> Thanks,
>> >> Jeff Sese




More information about the oXygen-user mailing list