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] | [List Home]


Subject: AW: [docbook-apps] <xsl:call-template name="fo-external-image"> returns error ':1:1: Content is not allowed in prolog'


Hi Bob,

thank you for your quick answer. I didn't mentioned before that I am using
fop 0.91beta. fop.extensions is/was not set because I always try to work as
near as possible to the standard at least for keeping portability. And I
thougt not to need the extensions.

I checked this issue with fop 0.20.5. The error didn't appears any more but
some other do. Especially it seems that 0.20.5 handles the image scaling
different to 0.91beta. Regarding my core issue I guess now the scaling
problem is the reason because the image do not appear in the page header.
Furthermor 0.20.5 is very verbose and blows me up the log regarding other
issues (which I knew before). So for the moment I shall continue with
0.91beta, resolve the other problems and step back to 0.20.5 later. When I
have any news to report I shall do.

If you are interested in details concerning the latest activities you can
find my notes attached.

Thank you for your quick answer and 

Best Regards

Joerg Moebius


-----Ursprüngliche Nachricht-----
Von: Bob Stayton [mailto:bobs@sagehill.net] 
Gesendet: Sonntag, 12. März 2006 10:38
An: Jörg Möbius; 'docbook-apps List'
Betreff: Re: [docbook-apps] <xsl:call-template name="fo-external-image">
returns error ':1:1: Content is not allowed in prolog'


Well, fop.extensions should be set when using FOP 0.20.5.  Then the
fo-external-graphic template will output the correct syntax for FOP 0.20.5.
Is there some reason fop.extensions is not being set?  You will likely run
into other problems if you don't use it.

Bob Stayton
bobs@sagehill.net


Àg-
----- Original Message ----- 
From: "Jörg Möbius" <joerg.moebius@hamburg.de>
To: "'docbook-apps List'" <docbook-apps@lists.oasis-open.org>
Sent: Saturday, March 11, 2006 10:28 PM
Subject: [docbook-apps] <xsl:call-template name="fo-external-image"> returns
error ':1:1: Content is not allowed in prolog'


Hi,
I solved the problem so this is just to inform/discuss.

My issue was/is to place a graphic within the page header. I am using FOP
('fop.extensions' is not set) in an eclipse environment. When I have to
reference files I try to use only relative paths like
'figures/xsdtrans-logo-small.gif'.

According Chapter 12. Print customizations/../Graphic in header or footer) I
tried to do within my customizing layer with

<xsl:when test="($sequence='odd' or $sequence='even') and $position='left'">
  <xsl:if test="$pageclass != 'titlepage'">
    <fo:external-graphic content-height="30%">
      <xsl:attribute name="src">
        <xsl:call-template name="fo-external-image">
          <xsl:with-param name="filename"
select="figures/xsdtrans-logo-small.gif"/>
        </xsl:call-template>
      </xsl:attribute>
    </fo:external-graphic>
  </xsl:if>
</xsl:when>

and FOP aborted processing with error: ':1:1: Content is not allowed in
prolog'

When I do without <xsl:call-template name="fo-external-image"> like

<xsl:when test="($sequence='odd' or $sequence='even') and $position='left'">
  <xsl:if test="$pageclass != 'titlepage'">
    <fo:external-graphic content-height="30%">
      <xsl:attribute name="src">
        figures/xsdtrans-logo-small.gif
      </xsl:attribute>
    </fo:external-graphic>
  </xsl:if>
</xsl:when>

I get the intended result.

Casting a glance at <xsl:call-template name="fo-external-image"> it seems
that - without using processor extensions - the template expects the
filename in a valid url-format.

Regards

Joerg Moebius


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
current fop version: 0.91beta

->  set fop.extensions and add again <xsl:call-template name="fo-external-image">:
    <xsl:param name="fop.extensions" select="1"></xsl:param>
    .
    .
    <xsl:call-template name="fo-external-image">
      <xsl:with-param name="filename" select="figures/xsdtrans-logo.gif"/>
    </xsl:call-template>
.
.
BUILD FAILED
C:\dev\tests\eclipse\net.sourceforge.xsdtrans\doc\buildDoc.xml:85: 
  javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: 
  file:///C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/temp_en.fo:1:28946: 
  Error(1/28946): No element mapping definition found for fox:outline

-> download and install fop version 0.20.5


current fop version: 0.20.5
.
.
BUILD FAILED
C:\dev\tests\eclipse\net.sourceforge.xsdtrans\doc\buildDoc.xml:85: 
The <fop> type doesn't support the "force" attribute.

->  replace force with a preceding delete task:
    .
    .
    <delete dir="${output.dir}">
        <fileset dir="."
            includes="xsdtrans.pdf"/>
    </delete>
    <fop
        fofile="${temp}_en.fo"
        outfile="${inTrunk}.pdf"
        format="application/pdf"
        >
    </fop>


      [fop] [INFO] Using org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser as SAX2 Parser
      [fop] [INFO] Using org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser as SAX2 Parser
      [fop] C:\dev\tests\eclipse\net.sourceforge.xsdtrans\doc\temp_en.fo -> C:\dev\tests\eclipse\net.sourceforge.xsdtrans\doc\xsdtrans.pdf
      [fop] [INFO] building formatting object tree
      [fop] [INFO] setting up fonts
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [INFO] JAI support was not installed (read: not present at build time). Trying to use Jimi instead
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error while recovering Image Informations (http://docbook.sourceforge.net/release/images/draft.png) : Connection timed out: connect
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] Error creating background image: Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image library not available
      [fop] [ERROR] Error in content-height property value '10%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '10%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-width property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-width property value '10%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '10%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in width property value 'px': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-width property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-width property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-width property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-width property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [INFO] [1]
      [fop] [INFO] [2]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [3]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [4]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [5]
      [fop] [ERROR] Error while creating area : Error creating FopImage object (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/images/callouts/1.png) : Jimi image library not available
      [fop] [ERROR] Error while creating area : Error creating FopImage object (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/images/callouts/2.png) : Jimi image library not available
      [fop] [ERROR] Error while creating area : Error creating FopImage object (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/images/callouts/2.png) : Jimi image library not available
      [fop] [ERROR] Error while creating area : Error creating FopImage object (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/images/callouts/1.png) : Jimi image library not available
      [fop] [ERROR] Error while creating area : Error creating FopImage object (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/images/callouts/3.png) : Jimi image library not available
      [fop] [ERROR] Error while creating area : Error creating FopImage object (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/images/callouts/1.png) : Jimi image library not available
      [fop] [ERROR] Error while creating area : Error creating FopImage object (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/images/callouts/2.png) : Jimi image library not available
      [fop] [ERROR] Error while creating area : Error creating FopImage object (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/images/callouts/3.png) : Jimi image library not available
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [6]
      [fop] [ERROR] Error while creating area : Error creating FopImage object (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/images/callouts/2.png) : Jimi image library not available
      [fop] [ERROR] Error while creating area : Error creating FopImage object (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/images/callouts/1.png) : Jimi image library not available
      [fop] [ERROR] Error while creating area : Error creating FopImage object (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/images/callouts/3.png) : Jimi image library not available
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [7]
      [fop] [INFO] area contents overflows area in line
      [fop] [INFO] area contents overflows area in line
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [8]
      [fop] [INFO] area contents overflows area in line
      [fop] [INFO] area contents overflows area in line
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [9]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [10]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [11]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [12]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [13]
      [fop] [INFO] area contents overflows area in line
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [14]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [15]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [16]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [17]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [18]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [19]
      [fop] [ERROR] Error while creating area : Error creating FopImage object (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/figures/sflogo.php.png) : Jimi image library not available
      [fop] [ERROR] Error while creating area : Error creating FopImage object (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/figures/docbook-website-logo.png) : Jimi image library not available
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] No spaces to justify text in line de-
      [fop] [INFO] No spaces to justify text in line ter-
      [fop] [INFO] No spaces to justify text in line mine
      [fop] [INFO] No spaces to justify text in line appro-
      [fop] [INFO] No spaces to justify text in line priate
      [fop] [INFO] No spaces to justify text in line xforms
      [fop] [INFO] No spaces to justify text in line se-
      [fop] [INFO] No spaces to justify text in line quence
      [fop] [INFO] No spaces to justify text in line or
      [fop] [INFO] No spaces to justify text in line grand-
      [fop] [INFO] No spaces to justify text in line child
      [fop] [INFO] No spaces to justify text in line before
      [fop] [INFO] No spaces to justify text in line another
      [fop] [INFO] No spaces to justify text in line element
      [fop] [INFO] No spaces to justify text in line or
      [fop] [INFO] No spaces to justify text in line grand-
      [fop] [INFO] No spaces to justify text in line child
      [fop] [INFO] No spaces to justify text in line de-
      [fop] [INFO] No spaces to justify text in line ter-
      [fop] [INFO] No spaces to justify text in line mine
      [fop] [INFO] No spaces to justify text in line appro-
      [fop] [INFO] No spaces to justify text in line priate
      [fop] [INFO] No spaces to justify text in line xforms
      [fop] [INFO] No spaces to justify text in line minOc-
      [fop] [INFO] No spaces to justify text in line maxOc-
      [fop] [INFO] No spaces to justify text in line curs>1
      [fop] [INFO] No spaces to justify text in line (incl.
      [fop] [INFO] No spaces to justify text in line un-
      [fop] [INFO] No spaces to justify text in line bounde
      [fop] [INFO] No spaces to justify text in line restric-
      [fop] [INFO] No spaces to justify text in line grand-
      [fop] [INFO] No spaces to justify text in line child
      [fop] [INFO] No spaces to justify text in line before
      [fop] [INFO] No spaces to justify text in line another
      [fop] [INFO] No spaces to justify text in line element
      [fop] [INFO] No spaces to justify text in line or
      [fop] [INFO] No spaces to justify text in line grand-
      [fop] [INFO] No spaces to justify text in line child
      [fop] [INFO] No spaces to justify text in line annota-
      [fop] [INFO] No spaces to justify text in line tion/
      [fop] [INFO] No spaces to justify text in line ap-
      [fop] [INFO] No spaces to justify text in line pinfo/
      [fop] [INFO] No spaces to justify text in line appear-
      [fop] [INFO] No spaces to justify text in line ance=te
      [fop] [INFO] No spaces to justify text in line annota-
      [fop] [INFO] No spaces to justify text in line tion/
      [fop] [INFO] No spaces to justify text in line ap-
      [fop] [INFO] No spaces to justify text in line de-
      [fop] [INFO] No spaces to justify text in line ter-
      [fop] [INFO] No spaces to justify text in line mine
      [fop] [INFO] No spaces to justify text in line appro-
      [fop] [INFO] No spaces to justify text in line priate
      [fop] [INFO] No spaces to justify text in line xforms
      [fop] [INFO] No spaces to justify text in line pinfo/
      [fop] [INFO] No spaces to justify text in line appear-
      [fop] [INFO] No spaces to justify text in line ance=se
      [fop] [INFO] No spaces to justify text in line annota-
      [fop] [INFO] No spaces to justify text in line tion/
      [fop] [INFO] No spaces to justify text in line ap-
      [fop] [INFO] No spaces to justify text in line pinfo/
      [fop] [INFO] No spaces to justify text in line appear-
      [fop] [INFO] No spaces to justify text in line ance=o
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line ate
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line ate
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line de-
      [fop] [INFO] No spaces to justify text in line ter-
      [fop] [INFO] No spaces to justify text in line mine
      [fop] [INFO] No spaces to justify text in line appro-
      [fop] [INFO] No spaces to justify text in line priate
      [fop] [INFO] No spaces to justify text in line xforms
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line peat
      [fop] [INFO] No spaces to justify text in line do
      [fop] [INFO] No spaces to justify text in line xforms:nodeset="vchr:title"
      [fop] [INFO] No spaces to justify text in line xforms:required="true()"
      [fop] [INFO] No spaces to justify text in line <xforms:label>title</xforms:
      [fop] [INFO] Area overflow in line For affecting the behaviour of xsd2df you can place particular elements within annotation/ap-
      [fop] [DEBUG] Last page-sequence produced 19 pages.
      [fop] [INFO] Parsing of document complete, stopping renderer
      [fop] [DEBUG] Initial heap size: 23748Kb
      [fop] [DEBUG] Current heap size: 6799Kb
      [fop] [DEBUG] Total memory used: -16948Kb
      [fop] [DEBUG]   Memory use is indicative; no GC was performed
      [fop] [DEBUG]   These figures should not be used comparatively
      [fop] [DEBUG] Total time used: 93204ms
      [fop] [DEBUG] Pages rendered: 19
      [fop] [DEBUG] Avg render time: 4905ms/page
BUILD SUCCESSFUL

pdf result:
- images appears in original size (scale attribute has no effect)
- some images (gifs?) don't appear
- no image in page header

-> download jai-1_1_3-dr-b01-lib-windows-i586.zip
    jai-core.jar, jai-codec.jar, mlibwrapper-jai.jar: copy to .../fop-0.20.5/lib and add to classpath

      [fop] [INFO] Using org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser as SAX2 Parser
      [fop] [INFO] Using org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser as SAX2 Parser
      [fop] C:\dev\tests\eclipse\net.sourceforge.xsdtrans\doc\temp_en.fo -> C:\dev\tests\eclipse\net.sourceforge.xsdtrans\doc\xsdtrans.pdf
      [fop] [INFO] building formatting object tree
      [fop] [INFO] setting up fonts
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] property - "background-position-horizontal" is not implemented yet.
      [fop] [ERROR] property - "background-position-vertical" is not implemented yet.
      [fop] [ERROR] Error in content-height property value '10%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '10%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-width property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-width property value '10%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '10%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in width property value 'px': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-width property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-width property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-width property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-width property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [ERROR] Error in content-height property value '50%': org.apache.fop.fo.expr.PropertyException: No conversion defined
      [fop] [INFO] [1]
      [fop] [INFO] [2]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [3]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [4]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [5]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [6]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [7]
      [fop] [INFO] area contents overflows area in line
      [fop] [INFO] area contents overflows area in line
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [8]
      [fop] [INFO] area contents overflows area in line
      [fop] [INFO] area contents overflows area in line
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [9]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [10]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [11]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [12]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [13]
      [fop] [INFO] area contents overflows area in line
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [14]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [15]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [16]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [17]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [18]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] [19]
      [fop] [ERROR] Could not load external SVG: Content is not allowed in prolog.
      [fop] [ERROR] Error while creating area : No ImageReader for this type of image (file:/C:/dev/tests/eclipse/net.sourceforge.xsdtrans/doc/)
      [fop] [INFO] No spaces to justify text in line <img>
      [fop] [INFO] No spaces to justify text in line de-
      [fop] [INFO] No spaces to justify text in line ter-
      [fop] [INFO] No spaces to justify text in line mine
      [fop] [INFO] No spaces to justify text in line appro-
      [fop] [INFO] No spaces to justify text in line priate
      [fop] [INFO] No spaces to justify text in line xforms
      [fop] [INFO] No spaces to justify text in line se-
      [fop] [INFO] No spaces to justify text in line quence
      [fop] [INFO] No spaces to justify text in line or
      [fop] [INFO] No spaces to justify text in line grand-
      [fop] [INFO] No spaces to justify text in line child
      [fop] [INFO] No spaces to justify text in line before
      [fop] [INFO] No spaces to justify text in line another
      [fop] [INFO] No spaces to justify text in line element
      [fop] [INFO] No spaces to justify text in line de-
      [fop] [INFO] No spaces to justify text in line ter-
      [fop] [INFO] No spaces to justify text in line mine
      [fop] [INFO] No spaces to justify text in line appro-
      [fop] [INFO] No spaces to justify text in line priate
      [fop] [INFO] No spaces to justify text in line xforms
      [fop] [INFO] No spaces to justify text in line or
      [fop] [INFO] No spaces to justify text in line grand-
      [fop] [INFO] No spaces to justify text in line child
      [fop] [INFO] No spaces to justify text in line minOc-
      [fop] [INFO] No spaces to justify text in line maxOc-
      [fop] [INFO] No spaces to justify text in line curs>1
      [fop] [INFO] No spaces to justify text in line (incl.
      [fop] [INFO] No spaces to justify text in line un-
      [fop] [INFO] No spaces to justify text in line bounde
      [fop] [INFO] No spaces to justify text in line restric-
      [fop] [INFO] No spaces to justify text in line grand-
      [fop] [INFO] No spaces to justify text in line child
      [fop] [INFO] No spaces to justify text in line before
      [fop] [INFO] No spaces to justify text in line another
      [fop] [INFO] No spaces to justify text in line element
      [fop] [INFO] No spaces to justify text in line or
      [fop] [INFO] No spaces to justify text in line grand-
      [fop] [INFO] No spaces to justify text in line child
      [fop] [INFO] No spaces to justify text in line annota-
      [fop] [INFO] No spaces to justify text in line tion/
      [fop] [INFO] No spaces to justify text in line ap-
      [fop] [INFO] No spaces to justify text in line pinfo/
      [fop] [INFO] No spaces to justify text in line appear-
      [fop] [INFO] No spaces to justify text in line ance=te
      [fop] [INFO] No spaces to justify text in line de-
      [fop] [INFO] No spaces to justify text in line ter-
      [fop] [INFO] No spaces to justify text in line mine
      [fop] [INFO] No spaces to justify text in line appro-
      [fop] [INFO] No spaces to justify text in line priate
      [fop] [INFO] No spaces to justify text in line xforms
      [fop] [INFO] No spaces to justify text in line annota-
      [fop] [INFO] No spaces to justify text in line tion/
      [fop] [INFO] No spaces to justify text in line ap-
      [fop] [INFO] No spaces to justify text in line pinfo/
      [fop] [INFO] No spaces to justify text in line appear-
      [fop] [INFO] No spaces to justify text in line ance=se
      [fop] [INFO] No spaces to justify text in line annota-
      [fop] [INFO] No spaces to justify text in line tion/
      [fop] [INFO] No spaces to justify text in line ap-
      [fop] [INFO] No spaces to justify text in line pinfo/
      [fop] [INFO] No spaces to justify text in line appear-
      [fop] [INFO] No spaces to justify text in line ance=o
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line ate
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line ate
      [fop] [INFO] No spaces to justify text in line de-
      [fop] [INFO] No spaces to justify text in line ter-
      [fop] [INFO] No spaces to justify text in line mine
      [fop] [INFO] No spaces to justify text in line appro-
      [fop] [INFO] No spaces to justify text in line priate
      [fop] [INFO] No spaces to justify text in line xforms
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line gener-
      [fop] [INFO] No spaces to justify text in line peat
      [fop] [INFO] No spaces to justify text in line do
      [fop] [INFO] No spaces to justify text in line xforms:nodeset="vchr:title"
      [fop] [INFO] No spaces to justify text in line xforms:required="true()"
      [fop] [INFO] No spaces to justify text in line <xforms:label>title</xforms:
      [fop] [INFO] Area overflow in line For affecting the behaviour of xsd2df you can place particular elements within annotation/ap-
      [fop] [INFO] No spaces to justify text in line [http://docbook.sourceforge.net/]<img>
      [fop] [DEBUG] Last page-sequence produced 19 pages.
      [fop] [INFO] Parsing of document complete, stopping renderer
      [fop] [DEBUG] Initial heap size: 23901Kb
      [fop] [DEBUG] Current heap size: 7709Kb
      [fop] [DEBUG] Total memory used: -16192Kb
      [fop] [DEBUG]   Memory use is indicative; no GC was performed
      [fop] [DEBUG]   These figures should not be used comparatively
      [fop] [DEBUG] Total time used: 15763ms
      [fop] [DEBUG] Pages rendered: 19
      [fop] [DEBUG] Avg render time: 829ms/page
BUILD SUCCESSFUL
Total time: 1 minute 19 seconds

pdf result:
- now all images (within the document) appear
- images appears in original size (scale attribute has no effect)
- no image in page header




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