[MacPorts] #46184: xhtml1: Use file:// scheme in XML catalog

MacPorts noreply at macports.org
Tue Dec 9 15:24:54 PST 2014


#46184: xhtml1: Use file:// scheme in XML catalog
-------------------------+--------------------------------
 Reporter:  mp@…         |      Owner:  macports-tickets@…
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.3.3
 Keywords:               |       Port:  xhtml1
-------------------------+--------------------------------
 There seems to be a regression in libxml2 v2.9.2 regarding the handling of
 files referenced in the XML catalog's URI attribute. In particular, when
 the (absolute) file path lacks a "file://" scheme, libxml2 will append one
 itself and subsequently use it as part of the file name for the locally
 cached file, which fails.

 I have described the issue at
 https://mail.gnome.org/archives/xml/2014-December/msg00000.html.

 Meanwhile, using file://-based URIs in the catalog seems to mitigate the
 problem (at least for my use cases) and also seems to be a good practice.
 For example, Debian/Ubuntu also do it that way.

-- 
Ticket URL: <https://trac.macports.org/ticket/46184>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list