pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/textproc/docbook-xsl



On Thu, Mar 26, 2020 at 02:39:32PM +0100, Leonardo Taccari wrote:
> Hello Thomas,
> 
> Thomas Klausner writes:
> > [...]
> > Log Message:
> > docbook-xsl: update to 1.79.2.
> >
> > This is a minor release. It reflects the state of the code after
> > the migration from sourceforge.net to github.com. As such, it
> > shouldn't contain any user-visible changes, other than the switch
> > to the new DocBook CDN.
> > [...]
> 
> This update seems to break regeneration of htdocs file.
> 
> With docbook-xsl-1.79.2 and docbook-xsl-1.79.2nb1 trying to regenerate
> an htdocs file it fails with:
> 
>  | % cd htdocs/gallery
>  | % touch consultants.xml ; make consultants.html
>  | [xsltproc] consultants.xml -> consultants.html
>  | I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
>  | warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl";
>  | compilation error: file file:///usr/pkg/share/xml/website/xsl/website-common.xsl line 20 element import
>  | xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
>  | *** Error code 5
> 
> With docbook-xsl-1.79.2nb2:
> 
>  | % touch consultants.xml ; make consultants.html
>  | [xsltproc] consultants.xml -> consultants.html
>  | Element sect1 in namespace '' encountered in webpage, but no template matches.
>  | Element para in namespace '' encountered in sect1, but no template matches.
>  | Element ulink in namespace '' encountered in para, but no template matches.
>  | Element para in namespace '' encountered in sect1, but no template matches.
>  | Element table in namespace '' encountered in sect3, but no template matches.
>  | Element tr in namespace '' encountered in table, but no template matches.
>  | [... and several other messages ...]
> 
> ...and then the HTML file is not properly generated.
> 
> 
> Can you please look at it?

Hm, strange. I'll take a look at it, but I don't know much about it
docbook or XSL.

I think that the main difference is that with this version, the
"namespace" variant is the default (I think before it was the
no-namespace variant).

Can you think of anything in htdocs for which this would make a
difference?
 Thomas



Home | Main Index | Thread Index | Old Index