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] problem by changing to 1.70.1 stylesheets


Well, it seems that Saxon 8 is not happy with the new indexing templates 
that support different index methods.  It appears that Saxon 8 checks for 
the existance of a key even if the key references are in a template that is 
never called.  For example, the reference to the key 'group-code' is in a 
template named 'generate-kosek-index', which should be used only if the 
parameter 'index.method' is set to 'kosek', which it is not in your case.

So if you want to use Saxon 8, you will have to xsl:import 
common/autoidx-ng.xsl.  That isn't included by default because xsltproc has 
problems with extension functions in keys.

You could also use Saxon 6.

The other error about attribute axis from stripns.xsl I don't know about.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Stefan Heuer" <sh127@gmx.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, June 29, 2006 8:09 AM
Subject: [docbook-apps] problem by changing to 1.70.1 stylesheets


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I have a documentation in docbook 4.4 version. Up to now I use the
> 1.69.1 xsl stylesheet to get a pdf file.
>
> To adjust the layout I wrote an customization layer. I create my own
> titlepage, headlines, footers and so on.
>
> If I replace the stylesheets version 1.69.1 with the new version
> 1.70.1 I get the error message:
>
>    [xslt]
> file:/D:/workspace/UserManual_SC-Commander/xsl/docbook-xsl-1.70.1/fo/autoidx.xsl:227:
> Fatal Error! Key group-code has not been defined
>    [xslt]
> file:/D:/workspace/UserManual_SC-Commander/xsl/docbook-xsl-1.70.1/fo/autoidx.xsl:285:
> Fatal Error! Key k-group has not been defined
>    [xslt]
> file:/D:/workspace/UserManual_SC-Commander/xsl/docbook-xsl-1.70.1/fo/autoidx.xsl:401:
> Fatal Error! Key group-code has not been defined
>    [xslt]
> file:/D:/workspace/UserManual_SC-Commander/xsl/docbook-xsl-1.70.1/fo/autoidx.xsl:421:
> Fatal Error! Key group-code has not been defined
>    [xslt]
> file:/D:/workspace/UserManual_SC-Commander/xsl/docbook-xsl-1.70.1/fo/autoidx.xsl:444:
> Fatal Error! Key k-group has not been defined
>    [xslt]
> file:/D:/workspace/UserManual_SC-Commander/xsl/docbook-xsl-1.70.1/fo/autoidx.xsl:455:
> Fatal Error! Key k-group has not been defined
>    [xslt]
> file:/D:/workspace/UserManual_SC-Commander/xsl/docbook-xsl-1.70.1/common/stripns.xsl:310:
> Warning! The attribute axis starting at a document-node() node will
> never select anything
>
> In my customization layer I only deal with layout options like font
> size and color or paper format. In my opinion I don't touch the
> structure of the document.
>
> I'm using:
>    Eclipse 3.2        (Editing and Ant for transformation)
>    Saxon 8.7.3      (XSLT transformation)
>    FOP 0.20.5      (XSLFO transformation)
>
>
> Thanks
>
> Stefan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (MingW32)
> Comment: GnuPT 2.9.2
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD4DBQFEo+0XirQ0Ts08AdMRAmm9AJ9QrvCKGHdgQXBspLYVvB5C1LoGqgCXVYPE
> dwHYZFgA8PxKiIAGHDWfEw==
> =1mm/
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 




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