[MacPorts] #22708: docbook2X uses the wrong XML catalog
#22708: docbook2X uses the wrong XML catalog ---------------------------------+------------------------------------------ Reporter: neil_mayhew@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: docbook2X ---------------------------------+------------------------------------------ {{{db2x_xsltproc}}} sets the hardcoded value {{{/etc/xml/catalog}}} into {{{XML_CATALOG_FILES}}} isn't already set in the environment. This should probably be "{{{${prefix}/etc/xml/catalog /etc/xml/catalog}}}" instead, so it can pick up DTDs from MacPorts. This can be tested as follows, using one of the test documents (eg {{{leidert-example.xml}}}) from the {{{docbook2X}}} source or from [http://docbook2x.cvs.sourceforge.net/viewvc/docbook2x/docbook2X/test/refentr... /leidert-example.xml?revision=1.1&view=markup CVS]: {{{ docbook2man leidert-example.xml }}} This results in the error: {{{ I/O error : Attempt to load network entity http://www.oasis- open.org/docbook/xml/4.4/docbookx.dtd }}} BTW, I think {{{docbook-xml}}} should probably be added as a dependency of {{{docbook2X}}} since it doesn't work without locally-stored DTDs. -- Ticket URL: <http://trac.macports.org/ticket/22708> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22708: docbook2X uses the wrong XML catalog ---------------------------------+------------------------------------------ Reporter: neil_mayhew@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: docbook2X ---------------------------------+------------------------------------------ Comment(by neil_mayhew@…): And it does work if you set {{{XML_CATALOG_FILES="/opt/local/etc/xml/catalog /etc/xml/catalog"}}} first. -- Ticket URL: <http://trac.macports.org/ticket/22708#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22708: docbook2X uses the wrong XML catalog ---------------------------------+------------------------------------------ Reporter: neil_mayhew@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: docbook2X ---------------------------------+------------------------------------------ Changes (by jmr@…): * owner: macports-tickets@… => markd@… -- Ticket URL: <http://trac.macports.org/ticket/22708#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22708: docbook2X uses the wrong XML catalog ----------------------------------+----------------------------------------- Reporter: neil_mayhew@… | Owner: markd@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: docbook2X | ----------------------------------+----------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r75829 -- Ticket URL: <https://trac.macports.org/ticket/22708#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts