db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson" <...@bristowhill.com>
Subject Re: DITA PDF build is broken on trunk ( was Re: devguide build errors? ...)
Date Wed, 23 Aug 2006 20:23:29 GMT
Laura Stewart wrote:
> After running ant pdf on this doc, I cannot locate this problem in the
> dita files.
> As I look at the log file for the ant transform, it calls several
> files from the DTA toolkit files, for example:
> 
> ******* BEGIN example ****************
> 
> preprocess:
> 
> dita-preprocess:
> 
> map2pdf:
> 
> dita.map.fo:
>     [xslt] Processing
> C:\Authoring\Derby\Derby1655\docs\trunk\temp\derbydev.ditamap to
> C:\Authoring\Derby\Derby1655\docs\trunk\temp\derbydev_MERGED.xml
>     [xslt] Loading stylesheet
> C:\Authoring\Derby\Derby1655\docs\trunk\DITA-OT1.1.2.1\xsl\topicmerge.xsl
>     [xslt] Processing
> C:\Authoring\Derby\Derby1655\docs\trunk\temp\derbydev_MERGED.xml to
> C:\Authoring\Derby\Derby1655\docs\trunk\out\devguide\derbydev.fo
>     [xslt] Loading stylesheet
> C:\Authoring\Derby\Derby1655\docs\trunk\DITA-OT1.1.2.1\xsl\dita2fo-shell.xsl
> 
>     [xslt]
> file:/C:/Authoring/Derby/Derby1655/docs/trunk/DITA-OT1.1.2.1/xsl/xslfo/dita2fo-links.xsl:148:57:
> 
> Warning! Can not load requested doc: The element type "meta" must be
> terminated by the matching end-tag "</meta>".
> 
> ******* END example ****************
> 
> I believe that the problem might be with one of the files in
> DITA-OT1.1.2.1 and not in the source.  The files in DITA-OT1.1.2.1 do
> have "meta" tags, whereas the source files do not.
> 
> It might be that the DITA-OT1.1.2.1/xsl/xslfo/dita2fo-links.xsl file
> or the DITA-OT1.1.2.1\xsl\dita2fo-shell.xsl file calls one of the
> other DITA toolkit files.

Here's what I suggest.

'svn up' your working copy to the most recent version that I reverted
the commit.

Apply your patch, and 'svn status' should show these changes (the ?
being for the new file):

   ?      src/devguide/cdevstandardsxml.dita
   M      src/devguide/derbydev.ditamap
   M      src/devguide/cdevstandards805975.dita
   M      src/devguide/cdevdvlp30653.dita

Save the ditamap and revert its change that adds the new file:

  cp src/devguide/derbydev.ditamap save
  svn revert src/devguide/derbydev.ditamap

Now run 'ant pdf' again -- it should succeed and output pdf files.

Now add your derbydev.ditamap back:

 cp save src/devguide/derbydev.ditamap

'ant pdf' now fails for me.

So even though the warning gets report elsewhere in the toolkit,
something about the new addition is causing that error.

 -jean


> On 8/23/06, Jean T. Anderson <jta@bristowhill.com> wrote:
> 
>> Jean T. Anderson wrote:
>> > Jean T. Anderson wrote:
>> >>Jean T. Anderson wrote:
>> > ...
>> >>>So, the pdf build appears to be broken.
>> >
>> > the PDFs build on the 10.2 branch (though with errors). At any rate,
>> the
>> > breakage appears to have happened in the last week since Rick's mega
>> > merge on Aug 18.
>>
>> The problem is the DERBY-1655 patch to the Developer's Guide that I
>> committed in revision 433708 -- sorry about that, everyone! More
>> specifically, there's a problem with the new cdevstandardsxml.dita file
>> (or perhaps with the corresponding update to the derbydev.ditamap file).
>>
>> I'll revert that commit and post details to DERBY-1655.
>>
>>  -jean
>>
>>
>>
>>
> 
> 


Mime
View raw message