docbook-apps

  • 1.  Compiled xslt

    Posted 01-27-2009 20:44
    Hello all,
    I am trying to compile the xslt stylesheet for docbook 1.74 pdf using
    xalan xsltc. Here's the putput before it fails:

    Compiler warnings:
    file:/opt/docbook/fo/table.xsl: line 415: Attribute
    'border-left-style' outside of element.
    file:/opt/docbook/fo/table.xsl: line 416: Attribute
    'border-right-style' outside of element.
    file:/opt/docbook/fo/table.xsl: line 417: Attribute 'border-top-style'
    outside of element.
    file:/opt/docbook/fo/table.xsl: line 418: Attribute
    'border-bottom-style' outside of element.
    file:/opt/docbook/fo/index.xsl: line 350: Attribute 'rx:key' outside
    of element.
    Compiler errors:
    The first argument to the non-static Java function 'insertCallouts' is
    not a valid object reference.
    The first argument to the non-static Java function 'insertCallouts' is
    not a valid object reference.
    The first argument to the non-static Java function 'highlight' is not
    a valid object reference.
    Error checking type of the expression
    'org.apache.xalan.xsltc.compiler.ApplyTemplates@353c375'.


    Anyone have seen this or have any idea around this ?





  • 2.  RE: [docbook-apps] Compiled xslt

    Posted 02-03-2009 19:29
    | -----Original Message-----
    | From: Mansour
    |
    | Compiler errors:
    | The first argument to the non-static Java function
    | 'insertCallouts' is
    | not a valid object reference.
    | The first argument to the non-static Java function
    | 'insertCallouts' is
    | not a valid object reference.
    | The first argument to the non-static Java function
    | 'highlight' is not
    | a valid object reference.
    | Error checking type of the expression
    | 'org.apache.xalan.xsltc.compiler.ApplyTemplates@353c375'.
    |
    | Anyone have seen this or have any idea around this ?


    The error messages refer to extension functions that are available in
    xalan27.jar (from the DocBook-XSL distribution) and xslthl-2.0.0.jar (from
    https://sourceforge.net/projects/xslthl).

    As far as I can tell, adding these JARs to the classpath does not help; you
    still get compiler errors. And turning off the "use.extensions" and
    "highlight.source" parameters has no effect either. I have no idea how to
    make XSLTC work with the DocBook stylesheets.

    Mauritz