xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miroslav Pukhalsky <miros...@dekasoft.com.ua>
Subject Re: fo:simple-page-master is missing child elements
Date Tue, 04 Mar 2008 08:25:06 GMT
Hi there,

When I try to prform your FO file I have got error (FOP 0.93)

04.03.2008 10:21:07 org.apache.fop.cli.Main startFOP
SEVERE: Exception
javax.xml.transform.TransformerException: 
org.apache.fop.fo.expr.PropertyException: Border and padding for region 
"xsl-region-body" must be '0' (See 6.4.13 in XSL 1.0).
     at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
     at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
     at org.apache.fop.cli.Main.startFOP(Main.java:160)
     at org.apache.fop.cli.Main.main(Main.java:191)

---------

javax.xml.transform.TransformerException: 
org.apache.fop.fo.expr.PropertyException: Border and padding for region 
"xsl-region-body" must be '0' (See 6.4.13 in XSL 1.0).
     at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
     at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
     at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
     at org.apache.fop.cli.Main.startFOP(Main.java:160)
     at org.apache.fop.cli.Main.main(Main.java:191)
Caused by: org.apache.fop.fo.expr.PropertyException: Border and padding 
for region "xsl-region-body" must be '0' (See 6.4.13 in XSL 1.0).
     at org.apache.fop.fo.pagination.Region.bind(Region.java:89)
     at org.apache.fop.fo.pagination.RegionBody.bind(RegionBody.java:56)
     at org.apache.fop.fo.FObj.processNode(FObj.java:118)
     at 
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:321)
     at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185)
     at 
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
     at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
Source)
     at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown 
Source)
     at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
Source)
     at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown

Source)
     at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
     at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
     ... 4 more
---------
org.apache.fop.fo.expr.PropertyException: Border and padding for region 
"xsl-region-body" must be '0' (See 6.4.13 in XSL 1.0).
     at org.apache.fop.fo.pagination.Region.bind(Region.java:89)
     at org.apache.fop.fo.pagination.RegionBody.bind(RegionBody.java:56)
     at org.apache.fop.fo.FObj.processNode(FObj.java:118)
     at 
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:321)
     at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185)
     at 
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
     at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
Source)
     at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown 
Source)
     at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
Source)
     at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown

Source)
     at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
     at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
     at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
     at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
     at org.apache.fop.cli.Main.startFOP(Main.java:160)
     at org.apache.fop.cli.Main.main(Main.java:191)


After killing border from the second fo:region-body I have got result 
PDF. May be it will help you?

Regards,

Miroslav.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message