[oXygen-user] Setting up A Catalog
Jeff Sese
Wed Jul 4 22:35:10 CDT 2007
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
>>
>> --
>> *Jeferson L. Sese*
>> Asiatype Incorporated
>> Suite 114, Columbia Tower, Ortigas Ave.,
>> Greenhills, Mandaluyong City 1550 Philippines
>> _______________________________________________
>> oXygen-user mailing list
>>
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>
>
>
More information about the oXygen-user
mailing list