XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Difficulties with catalog

On 18.7.2018 15:28, Christophe Marchand wrote:
> I have an XML file, that starts like this :
> 
> <!DOCTYPE imported SYSTEM "import.dtd">

In this context import.dzd is relative URI and will be expanded to
something like file:/location/of/xml/file/on/your/machine/import.dtd

> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
>   <system systemId="import.dtd"
> uri="file:/opt/eu/lefebvre-sarrut/el/workflow/dp48/imported/import-xml.dtd"/>

And as import.dtd is not matching above mentioned absolute URI this
catalog entry will not be used. You have to use systemSuffix entry
instead (see
https://www.oasis-open.org/committees/download.php/14809/xml-catalogs.html#s.systemsuffix)

<systemSuffix systemIdSuffix="import.dtd"

uri="file:/opt/eu/lefebvre-sarrut/el/workflow/dp48/imported/import-xml.dtd"/>

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
     Professional XML and Web consulting and training services
DocBook/DITA customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS