Menu

#859 html: Error in select-mediaobject-index.

output: HTML
closed-fixed
XSL2 (13)
5
2009-04-03
2006-12-25
No

I'm trying to use the XSLT2 stylesheets to convert a book written against the 5.0RC1 schema, when processing (with Saxon B 8.8) I get the following error:

[xslt] file:/docbook-5-XSL2/common/common.xsl:886: Fatal Error! Cannot compare xs:string to xs:integer

I can resolve this by changing line 888 in the common/common.xsl file from:

<xsl:when test="$useobject != 0">

to:

<xsl:when test="$useobject != '0'">

Cheers,
Ian.

Discussion

  • Michael(tm) Smith

    • summary: Error in select-mediaobject-index. --> html: Error in select-mediaobject-index.
     
  • Robert Stayton

    Robert Stayton - 2009-03-19

    A fix for this issue has been added to the current codebase.
    Please test the fix with the latest snapshot from:

    http://docbook.sourceforge.net/snapshots/

     
  • Robert Stayton

    Robert Stayton - 2009-03-19

    I checked in this fix.

     
  • Robert Stayton

    Robert Stayton - 2009-03-19
    • assigned_to: nobody --> bobstayton
    • status: open --> pending-fixed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
MongoDB Logo MongoDB