[postgis-tickets] [PostGIS] #2792: docbook validation preventing regress when trying to access down docbook site
PostGIS
trac at osgeo.org
Wed Nov 11 03:06:07 PST 2020
#2792: docbook validation preventing regress when trying to access down docbook
site
----------------------+---------------------------
Reporter: robe | Owner: Algunenano
Type: defect | Status: new
Priority: low | Milestone: PostGIS 3.0.3
Component: postgis | Version: master
Resolution: | Keywords:
----------------------+---------------------------
Comment (by Algunenano):
Changing to https didn't work because apparently xmllint does not support
https, and that's why it's failing.
In my system, what xmllint does is it tries to open `https://www.oasis-
open.org/docbook/xml/4.5/docbookx.dtd` as a file, which obviously fails.
Then it explores the local environment: `/etc/xml/catalog` -> `/etc/xml
/docbook-xml` which leads to `/usr/share/xml/docbook/xml-
dtd-4.5/docbookx.dtd` which works.
So, AFAICS right now, I think that the only way of being able to pass this
is to have docbook-xml installed in your local system as the remote url
will always fail, but I'm not sure when this started happening. It was
fine a few days ago but not yesterday, so it's likely that www.oasis-
open.org decided to start redirecting http -> https.
There are several solutions to this problem:
- Install docbook-xml in the docker images, which is what I'm planning to
do for now.
- Vendor in the necessary files.
- Remove docbook and use something else.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2792#comment:13>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list