db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson" <...@bristowhill.com>
Subject Doc build fails with DERBY-1655 patch (was Re: [jira] Updated: (DERBY-1655) Document XML functionality for 10.2)
Date Fri, 25 Aug 2006 03:49:04 GMT
Army wrote:
...
> Just in case Jira is still backlogged, I vote +1 to have the
> derby1655_ref5.diff changes committed.

After applying derby1655_ref5.diff 'ant html' succeeds for me but,
unfortunately, 'ant pdf' and 'ant monohtml' both fail with these initial
warnings:

     [xslt]
file:/home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/xsl/xslfo/dita2fo-links.xsl:148:57:
Warning! Can not load requested doc: White spaces are required between
publicId and systemId.
     [xslt]
file:/home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/xsl/xslfo/dita2fo-links.xsl:148:57:
Warning! Can not load requested doc: White spaces are required between
publicId and systemId.

And these final build errors:

BUILD FAILED
/home/jta/DB-DERBY-SVN/derby/docs/trunk/build.xml:182: The following
error occurred while executing this line:
/home/jta/DB-DERBY-SVN/derby/docs/trunk/build.xml:198: The following
error occurred while executing this line:
/home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/conductor.xml:209:
The following error occurred while executing this line:
/home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/ditatargets.xml:78:
org.apache.fop.apps.FOPException:
file:/home/jta/DB-DERBY-SVN/derby/docs/trunk/out/ref/refderby.fo:16396:40
internal-destination or external-destination must be specified in basic-link

These warnings and errors aren't very helpful. Oddly enough 'ant all'
seems to provide what looks like helpful details about specific files.
In particular two new files (rreffuncxmlexists.dita and
rreffuncxmlquery.html) both have these processing problems:

     [xslt] Processing
/home/jta/DB-DERBY-SVN/derby/docs/trunk/temp/rreffuncxmlexists.dita to
/home/jta/DB-DERBY-SVN/derby/docs/trunk/out/reftemp/rreffuncxmlexists.html
     [xslt]
file:/home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/xsl/common/output-message.xsl:43:16:
Warning! ------------------------------------------------------------------
     [xslt] IDXS015E Error: (File =
/home/jta/DB-DERBY-SVN/derby/docs/trunk/src/ref/rreffuncxmlexists.dita,
Element = xref:1)
     [xslt] Unknown file extension in href: http://www.w3.org/TR/xpath
     [xslt] If this is a link to a non-DITA resource, set the format
attribute to match the resource (for example, 'txt', 'pdf', or 'html').
     [xslt] If it's a link to a DITA resource, the file extension must
be .dita or .xml .
     [xslt]
file:/home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/xsl/common/output-message.xsl:43:16:
Warning! ------------------------------------------------------------------
     [xslt] IDXS015E Error: (File =
/home/jta/DB-DERBY-SVN/derby/docs/trunk/src/ref/rreffuncxmlexists.dita,
Element = xref:2)
     [xslt] Unknown file extension in href: http://www.w3.org/TR/xquery/
     [xslt] If this is a link to a non-DITA resource, set the format
attribute to match the resource (for example, 'txt', 'pdf', or 'html').
     [xslt] If it's a link to a DITA resource, the file extension must
be .dita or .xml .


I hope this is helpful for isolating the problem. I think the key is to
run at least 'ant pdf', 'ant html' and 'ant monohtml'. 'ant all' is
best, especially for debugging it would seem, but I appreciate how long
that takes.

 -jean




Mime
View raw message