I found out what the problem is. The element that causes the error is this:
<listitem><para><link
xlink:href="http://xmlsoft.org/xslt/xsltproc2.html">XSLTProc</link>,
part of the XSLT library. This library lives on top of <link
xlink:hef="http://xmlsoft.org/">LibXML</link>. Install LibXML first
and then LibXSLT otherwise XSLTProc will not work. You need to have
LibXML installed before installing LibXSLT and
XSLTProc.</para></listitem>
When I comment out the second link inside the listitem>para the
document converts without a problem.
Should I file this on github issues tracker?
Carlos
On Wed, Jun 20, 2012 at 7:11 PM, Carlos Araya <[email protected]> wrote:
> In working with the 2.0.3 distribution of the XSLT2. I am getting the
> following error when trying to convert a valid docbook document using
> SaxonHE 9.0.4.3 and Ant as the driver.
>
> The file converts when using the XSLT1 snapshot distribution and XSLTproc.
>
> Any ideas of what may be causing this problem?
>
> Thanks,
> Carlos
>
> validate-xml:
> [echo] Generating HTML Single File using Saxon and XSLT2.0
> [echo] Saxon 9 or another XSLT2 processor must be used
> [java] Error on line 83 of xref.xsl:
> [java] XTTE0790: An empty sequence is not allowed as the first
> argument of f:findid()
> [java] at xsl:apply-templates
> (file:/usr/local/docbook/2.0/release/2.0.3/xslt/base/html/blocks.xsl#86)
> [java] processing
> /book/chapter[5]/sect1[1]/itemizedlist[1]/listitem[5]/para[1]/link[2]
> [java] at xsl:apply-templates
> (file:/usr/local/docbook/2.0/release/2.0.3/xslt/base/html/lists.xsl#69)
> [java] processing
> /book/chapter[5]/sect1[1]/itemizedlist[1]/listitem[5]/para[1]
> [java] at xsl:apply-templates
> (file:/usr/local/docbook/2.0/release/2.0.3/xslt/base/html/lists.xsl#29)
> [java] processing
> /book/chapter[5]/sect1[1]/itemizedlist[1]/listitem[5]
> [java] at xsl:apply-templates
> (file:/usr/local/docbook/2.0/release/2.0.3/xslt/base/html/section.xsl#19)
> [java] processing /book/chapter[5]/sect1[1]/itemizedlist[1]
> [java] at xsl:apply-templates
> (file:/usr/local/docbook/2.0/release/2.0.3/xslt/base/html/component.xsl#25)
> [java] processing /book/chapter[5]/sect1[1]
> [java] at xsl:apply-templates
> (file:/usr/local/docbook/2.0/release/2.0.3/xslt/base/html/division.xsl#23)
> [java] processing /book/chapter[5]
> [java] at xsl:apply-templates
> (file:/usr/local/docbook/2.0/release/2.0.3/xslt/base/html/docbook.xsl#89)
> [java] processing /book
> [java] Transformation failed: Run-time errors were reported
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]