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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: RE: DOCBOOK: Colwidth attribute of colspec not processed?


Hello,

I did turn both use.extensions and tablecolumns.extension on and got the
following error:

Q:\Documents\XML\test2>set
classpath=N:\XML\DocBook\docbook-xsl-1.48\extensions\
saxon65.jar

Q:\Documents\XML\test2>n:\xml\t\saxon\saxon.exe doc.xml
n:\xml\t\docbook-xsl-1.4
8\html\docbook.xsl  1>doc.html

Error at xsl:copy-of on line 211 of
file:/n:/xml/t/docbook-xsl-1.48/html/table.x
sl:
  Exception in extension function java.lang.NoSuchMethodError:
java/lang/Float:
method parseFloat(Ljava/lang/String;)F not found
Transformation failed: Run-time errors were reported

Any ideas on how to fix this?

Thanks,

Simon.

From table.xsl:

    <xsl:choose>
      <xsl:when test="$use.extensions != 0
                      and $tablecolumns.extension != 0">
        <xsl:choose>
          <xsl:when test="function-available('stbl:adjustColumnWidths')">
            <xsl:copy-of select="stbl:adjustColumnWidths($colgroup)"/>
          </xsl:when>
          <xsl:when test="function-available('xtbl:adjustColumnWidths')">
            <xsl:copy-of select="xtbl:adjustColumnWidths($colgroup)"/>
          </xsl:when>
          <xsl:otherwise>
            <xsl:message terminate="yes">
              <xsl:text>No adjustColumnWidths function available.</xsl:text>
            </xsl:message>
          </xsl:otherwise>
        </xsl:choose>
      </xsl:when>
      <xsl:otherwise>
        <xsl:copy-of select="$colgroup"/>
      </xsl:otherwise>
    </xsl:choose>

-----Original Message-----
From: Bob Stayton [mailto:bobs@caldera.com]
Sent: dinsdag 19 maart 2002 18:13
To: Kraa de Simon; 'docbook@lists.oasis-open.org'
Subject: Re: DOCBOOK: Colwidth attribute of colspec not processed?


On Tue, Mar 19, 2002 at 03:48:42PM +0100, Kraa de Simon wrote:
> Hello,
> 
> The colwidth attribute of colspec isn't processed when I use
> docbook-xsl-1.48\html\docbook.xsl.
> 
> Any ideas how I can get the width into the resulting HTML?

There are two Docbook XSL parameters that must be turned on
when processing:

use.extensions = 1
tablecolumns.extension = 1

And you need to be using either Saxon or Xalan
since those are the only processors that support
the tablecolumns.extension.  The xsltproc
processor doesn't yet have it (but coming soon,
I hope).

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


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


Powered by eList eXpress LLC