Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] DocBook pdf gen ant task for devguide, adk15guide

Just to let you guys know that the version of docbook that you are using is out-of-date and has at least 1 error.

Trying to fix this damn progguide task is driving me mad. For a start there was the problem with docbook-xsl/fo/table.xsl
old
------
<xsl:attribute name="width">
     <xsl:value-of select="$table.width"/>
</xsl:attribute>

fix in newer version of docbook (I've added this to the version of docbook in aspectj to get past this error)
-------------------
 <xsl:if test="position() = 1">
     <xsl:attribute name="width">
     <xsl:value-of select="$table.width"/>
     </xsl:attribute>
 </xsl:if>

The Saxon/XSL task now completes with no errors (visible errors that is), and the only thing stopping this from working is a strange NullPointerException within FOP.

My guess is that the newest version of FOP (which I'm using) isn't compatible with the slighly older version of docbook that is being used. Debugging this is going to be an exercise in commenting out sections of the original source xml until I can find the root of the problem.

I won't be submitting a working version today (well I doubt I will anyway)!

Kev


Back to the top