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 21:45, Christophe Marchand wrote:
> For next XML Prague, I promise I'll learn the whole xml-catalogs
> specification ! ;-)

OK, we will give you badge only if you will correctly resolve dozen of
difficult test cases ;-)

> But there is something strange : if I parse xml file with an InputSource
> where systemId is not set, the import.dtd is expanded to import.dtd, as
> a relative path, and import.dtd was not found into catalog. Doesn't
> matter, having null systemId is always a bad practise...

AFAIK, JAXP is underspecified in this area, so result really depends on
actual parser you are using and other factors as well. Kind of dark
magic. :-(

-- 
------------------------------------------------------------------
  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