Opened 8 months ago

Closed 8 months ago

#5539 closed defect (fixed)

URI of DocBook XSL doesn't work on Trisquel 10.0.1, which is our build-test docker image

Reported by: strk Owned by: strk
Priority: blocker Milestone: PostGIS 3.5.0
Component: build Version: master
Keywords: Cc:

Description

The URI we're using right now (DOCBOOK_XSLBASE) is http://cdn.docbook.org/release/xsl/current but some systems are not able to resolve it correctly with their xml catalog.

On Trisquel 10.0.1 which is our current postgis-docker.osgeo.org:postgis/build-test docker image those URIs don't work:

# xmlcatalog '' http://cdn.docbook.org/release/xsl/current
No entry for SYSTEM http://cdn.docbook.org/release/xsl/current
No entry for URI http://cdn.docbook.org/release/xsl/current

But older (legacy) uri work:

# xmlcatalog '' http://docbook.sourceforge.net/release/xsl-ns/current/html/docbook.xsl
file:///usr/share/xml/docbook/stylesheet/docbook-xsl-ns/html/docbook.xsl

This ticket is use the legacy URL or eventually add a configure-time check to see which URI works or give up if none work. Doing this at configure time would be similar to what we were doing before commit [b6583e98323ffe1a8438b51f3a9c70205fdbcf6b/git] that is allow some kind of configure-time switch to find those xsl. See also ticket #5537 and #5538

Change History (4)

comment:1 by Sandro Santilli <strk@…>, 8 months ago

In 2a366e9/git:

Use the legacy URI for docbook.xsl

References #5539

comment:2 by strk, 8 months ago

OOps, debbie would fail the legacy url:

debbie:~# xmlcatalog "" http://docbook.sourceforge.net/release/xsl-ns/html/docbook.xsl
No entry for SYSTEM http://docbook.sourceforge.net/release/xsl-ns/html/docbook.xsl
No entry for URI http://docbook.sourceforge.net/release/xsl-ns/html/docbook.xsl

See also https://github.com/docbook/xslt10-stylesheets/pull/259

comment:4 by Sandro Santilli <strk@…>, 8 months ago

Resolution: fixed
Status: newclosed

In 119b6e4/git:

Go back to find docbook XSL at configure time

This reverts commit b6583e98323ffe1a8438b51f3a9c70205fdbcf6b
bringing —with-xsldir support back.

Closes #5538 #5539

References #5537

Note: See TracTickets for help on using tickets.