David Nebauer writes:
> [.. continued]
>
> 6. If refdbxml is edited to set saxon as default processor, the make
> procedure fails.
>
> The problem occurs with file docbk-refdblib.xsl. Here is the output:
>
> $ make html
> refdbxp -t db31x < basic-doc.short.xml > basic-doc.xml
> runbib -d refs_computing -S Eur.J.Pharmacol. -t db31x basic-doc.xml
> 5 reference(s) formatted, 0 failed
>
> refdbxml -s Eur.J.Pharmacol.html.xsl -t html basic-doc.xml
> Error at xsl:with-param on line 74 of
> file:/usr/local/share/refdb/xsl/docbk-refdb-xsl/docbk-html/docbk-refdb-html.xsl:
> Variable ADVSTURLSTYLE has not been declared
This is a typo in docbk-refdb-html.xsl. Change this to ADVSURLSTYLE
(without the 'T' after ADVS). I'm not an XSLT guru but fixing this
might fix the other error messages as well. This does not exactly
explain why xsltproc does not complain, though. I've fixed this in CVS
anyway.
>
> 7. Staying with saxon, if it is ever able to work with refdb, it would
> be good to have an option to run it with the xerces parser. This
> requires a (lengthy) command line option, but it should be rather doable.
>
I'm reluctant to fiddle with this stuff as the Java installations are
even more diverse in terms of install directories between systems than
standard C/C++ programs are. A simple configure test can verify the
installation of xsltproc, but not of saxon and other Java tools (at
least I haven't seen a configure script that I could steal code
from). If you think there is a generally applicable way to handle
this, please let me know. I'll be happy to include this feature.
regards,
Markus
--
Markus Hoenicka
markus.hoenicka@xxxxxxx
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
|