OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Transforming DocBook to PDF with FOP


Frederic Demians wrote:
> 
> I use FOP to transform a DocBook XML file. My source file contains a lot of
> screen shot.
> 
> Step 1: I transform XML DocBook file to a FO file with Norman XSL.
> References to image file look like :
> 
> <fo:external-graphic height="auto" width="auto" content-height="auto"
> content-width="auto" src="url(file:img/resultat_image.jpg)"/>
> 
> Step 2: I use FOP to transform my FO file to a PDF file. And I get an error
> message for each image file reference:
> 
> Error while creating area : no protocol : url(file:/img/resultat.jpg)
> 
I get this same problem with the 1.39 stylesheets.
[java] Error while creating area : no protocol:
url(file:images/classdia1.jpg)

<mediaobject>
  <imageobject>
    <imagedata fileref="images/classdia1.jpg" format="JPG"/>
  </imageobject>
</mediaobject>

The HTML generation works okay. Is this a FOP bug or something missing
in my src?
Eric


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC