OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] DocBook XSL 1.79.2 released

On 15.12.2016 20:14, DeanNelson@aol.com wrote:
> Good questions ;-)
> I downloaded the file "docbook-xsl-nons-1.79.2.zip" from
> https://github.com/docbook/xslt10-stylesheets/releases
> I have a template that pulls the docbook xsl version ($VERSION)
> variable out and displays it (along with other info).
> ---
>   <xsl:message>
>     <xsl:text>DocBook XSL VERSION is: </xsl:text>
>     <xsl:value-of select="$VERSION"/> <xsl:text>
> </xsl:text>
>     <xsl:text>XSLT Version: </xsl:text> <xsl:value-of
> select="system-property( 'xsl:version' ) "/>
>     <xsl:text>   XSLT Processor: </xsl:text> <xsl:value-of
> select="system-property( 'xsl:vendor' ) "/>
>   </xsl:message>
> ---
> This $VERSION is coming from the distribution. It looks like it is
> from VERSION.xsl:
> <xsl:param name="VERSION" select="string(document('')//fm:Version[1])"/>
> and  then fm:version is set
>   <fm:Version>snapshot</fm:Version>

I'm not sure how meaningful that is. In fact, I'm not sure the
VERSION.xsl file should actually be part of a package. (It is right now
being used by the build process, but as I have been working hard to
simplify that, I'm actually considering to get rid of that file. There
is a lot of obsolete logic in it.

(I can reproduce your findings, though: the 'nons' VERSION.xsl file
reports 'snapshot', while the one from the namespace package reports
'1.79.2'. I'm confident that the stylesheets correspond to the correct
version, though, so I recommend to disregard the content of the
VERSION.xsl file. (We may want to think about some other way to
represent package metadata, if that is important. But I'd definitely
argue against using an XSL file to carry that. :-) )

Meanwhile, feel free to submit an issue about 'snapshot' being reported
in VERSION.xsl, so we can make sure the error either gets fixed or the
file removed from future releases.



      ...ich hab' noch einen Koffer in Berlin...

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]