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] | [Elist Home]


Subject: DOCBOOK-APPS: docbook & xalan XSLT Error


Hi,

i have a problem to generate some docbook files to html with xalan. 
if the docbook file, it is a article, have a informaltable and she have
more than 2 columns, i get an error.

here the file thad works :

<?xml version="1.0" encoding="UTF-8"?>
<article lang="">
  <title>TITLE</title>
  <subtitle>SUBTITLE</subtitle>
  <informaltable>
     <tgroup cols="2">
       <colspec colname="c1" colwidth="3.399cm"/>
       <colspec colname="c2" colwidth="3.399cm"/>
       <tbody>
         <row>
           <entry><para>entry 1</para></entry>
           <entry><para>entry 2</para></entry>
         </row>
       </tbody>
    </tgroup>
  </informaltable>
</article>

and here the file with i get an error:

<?xml version="1.0" encoding="UTF-8"?>
<article lang="">
  <title>TITLE</title>
  <subtitle>SUBTITLE</subtitle>
  <informaltable>
     <tgroup cols="3">
       <colspec colname="c1" colwidth="3.399cm"/>
       <colspec colname="c2" colwidth="3.399cm"/>
       <colspec colname="c3" colwidth="3.399cm"/>
       <tbody>
         <row>
           <entry><para>entry 1</para></entry>
           <entry><para>entry 2</para></entry>
           <entry><para>entry 3</para></entry>
         </row>
       </tbody>
    </tgroup>
  </informaltable>
</article>

the error output of xalan :

$ xalan -IN /tmp/foo.db -XSL ~/docbook-xsl-1.51.1/html/docbook.xsl -OUT
/tmp/foo.html 

file:///home/user/mpfeiffer/docbook-xsl-1.51.1/common/table.xsl; Line
25; Column 76; XSLT Error (javax.xml.transform.TransformerException): 2
>= 2 

if i have more columns(i.e. with four) in the docbook file, the output
is like this :

file:///home/user/mpfeiffer/docbook-xsl-1.51.1/common/table.xsl; Line
25; Column 76; XSLT Error (javax.xml.transform.TransformerException): 69
>= 3

my question: is it a error from xalan or from docbook ? 

when i make the same with saxon instead of xalan, it works fine. 
 
testet on a linux debian box with jdk 1.3.1_02-b02 and docbook 1.51.1 



-- 
Martin Pfeiffer
mpfeiffer@rationalizer.com



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


Powered by eList eXpress LLC