This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Error with Xalan-J 2.4.0 and DocBook XSL 1.58.1
- From: Patrick Hartling <patrick at vrac dot iastate dot edu>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 03 Dec 2002 10:43:37 -0600
- Subject: DOCBOOK-APPS: Error with Xalan-J 2.4.0 and DocBook XSL 1.58.1
I just downloaded version 1.58.1 of the DocBook XSL stylesheets for
testing, and I am getting this error quite a bit using Xalan-J 2.4.0:
file:///home/users/patrick/docbook-xsl-1.58.1/common/gentext.xsl; Line
130; Column 57; XSLT Error (javax.xml.transform.TransformerException):
Variable accessed before it is bound!
If I use Saxon, there is no error (though I have not reviewed the
rendered documents for correctness yet). Before I switch everything over
to Saxon, I want to be sure that this is a problem with Xalan and not the
new stylesheets. I have attached the smallest example I could come up
with that causes the error. Thanks.
-Patrick
--
Patrick L. Hartling | Research Assistant, VRAC
patrick@vrac.iastate.edu | 2624 Howe Hall: 1.515.294.4916
http://www.137.org/patrick/ | http://www.vrac.iastate.edu/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<article>
<section>
<title>Sample Section</title>
<para>Refer to <xref linkend="example.table"/>.</para>
<table id="example.table">
<title>Table</title>
<tgroup>
</tgroup>
</table>
</section>
</article>