[Home] [By Thread] [By Date] [Recent Entries]

  • From: Jirka Kosek <jirka@k...>
  • To: Christophe Marchand <cmarchand@o...>, xml-dev@l...
  • Date: Thu, 19 Jul 2018 00:16:18 +0200

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@k...      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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member