You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Gerard BUNEL <ge...@ago.fr> on 2003/02/10 14:33:13 UTC

Need help

I already posted about this problem but got no answer.
Can anyone help ?
I've made the test with the attached test.fo file with XEP and with FOP.

With XEP everything is OK but with FOP it fails with the following
error:

D:\Projets\GCLFSBV2\Etudes\Tests>fop -d -c userconfig.xml test.fo -pdf
test.pdf
[DEBUG] Input mode:
[DEBUG] FO
[DEBUG] fo input file: test.fo
[DEBUG] Output mode:
[DEBUG] pdf
[DEBUG] output file: test.pdf
[DEBUG] OPTIONS
[DEBUG] user configuration file: userconfig.xml
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] base directory: file:/D:/Projets/GCLFSBV2/Etudes/Tests/
[INFO] FOP 0.20.5rc
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[INFO] [1]
[WARNING] table-layout=auto is not supported, using fixed!
[INFO] area contents overflows area
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] [2]
[INFO] area contents overflows area
[INFO] [3]
[INFO] area contents overflows area
[ERROR] Flow 'xsl-region-body' does not map to the region-body in
page-master 'b
lank'
org.apache.fop.apps.FOPException: Flow 'xsl-region-body' does not map to
the reg
ion-body in page-master 'blank'
        at
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:
332)
        at
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:30
6)
        at
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:210)
        at
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177)
        at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow
n Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at org.apache.fop.apps.Driver.render(Driver.java:457)
        at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69
)
        at org.apache.fop.apps.Fop.main(Fop.java:19)

--
gerard.bunel@ago.fr - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 - 29608 Brest cedex - France -
Tel. : +33 (0)2 98 05 43 21 - Fax. : +33 (0)2 98 05 20 34 - e-mail:
atlantide-brest@ago.fr
Centre Affaires Oberthur - 74D, rue de Paris -  35700 Rennes - France
Tel. : +33 (0)2 99 84 15 84 - Fax : +33 (0)2 99 84 15 85 - e-mail:
atlantide-rennes@ago.fr


Re: Need help - One more info

Posted by Gerard BUNEL <ge...@ago.fr>.
OK, Thank you.
Given your help and the example in the FAQ, I've understood my mistake.
My 'blank Label' was put into the region-body instead of 'region-before' (I think it should also work with
the region-after ?).

Gerard

Jeremias Maerki a écrit :

> Try deleting the region-name on the fo:region-body for "blank" and
> delete the static-content named "blank-label". When a page is blank it
> doesn't use the flow anway, so you don't have to specify a different
> region-name.
>
> (Strange delays today on the mailing lists)
>
> On 10.02.2003 15:53:24 Gerard BUNEL wrote:
> > One more info about my problem. The result is different using  FOP 0.20.4.
> > It does not fail with an exception as in 20.0rc5 but does not display a label on the last Blank page.
> > Maybe that will help
>
> Jeremias Maerki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org

--
gerard.bunel@ago.fr - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 - 29608 Brest cedex - France -
Tel. : +33 (0)2 98 05 43 21 - Fax. : +33 (0)2 98 05 20 34 - e-mail: atlantide-brest@ago.fr
Centre Affaires Oberthur - 74D, rue de Paris -  35700 Rennes - France
Tel. : +33 (0)2 99 84 15 84 - Fax : +33 (0)2 99 84 15 85 - e-mail: atlantide-rennes@ago.fr



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


Re: Need help - One more info

Posted by Jeremias Maerki <de...@greenmail.ch>.
Try deleting the region-name on the fo:region-body for "blank" and
delete the static-content named "blank-label". When a page is blank it
doesn't use the flow anway, so you don't have to specify a different
region-name.

(Strange delays today on the mailing lists)

On 10.02.2003 15:53:24 Gerard BUNEL wrote:
> One more info about my problem. The result is different using  FOP 0.20.4.
> It does not fail with an exception as in 20.0rc5 but does not display a label on the last Blank page.
> Maybe that will help


Jeremias Maerki


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


Re: Need help - One more info

Posted by Gerard BUNEL <ge...@ago.fr>.
One more info about my problem. The result is different using  FOP 0.20.4.
It does not fail with an exception as in 20.0rc5 but does not display a label on the last Blank page.
Maybe that will help

--
gerard.bunel@ago.fr - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 - 29608 Brest cedex - France -
Tel. : +33 (0)2 98 05 43 21 - Fax. : +33 (0)2 98 05 20 34 - e-mail: atlantide-brest@ago.fr
Centre Affaires Oberthur - 74D, rue de Paris -  35700 Rennes - France
Tel. : +33 (0)2 99 84 15 84 - Fax : +33 (0)2 99 84 15 85 - e-mail: atlantide-rennes@ago.fr



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