You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by saikat <sa...@techna.co.in> on 2002/11/14 05:16:22 UTC
html to pdf problem
Hi,
I'm facing problems with converting a html file to pdf format.I'm using cocoon2.0 ,tomcat4.0.3 & j2sdk1.4.0
while running the file it is giving following error -->
org.apache.cocoon.ProcessingException: Could not read resource file:/C:/jakarta-tomcat-4.0.3/webapps/cocoon/mount/html-pdf/pageTwo.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' (page) must be unique across page-masters and page-sequence-masters
so please tell me wat to do
with regards
saikat
Re: html to pdf problem
Posted by Joerg Heinicke <jo...@gmx.de>.
Isn't the error message straightforward? You are using a master-name twice.
I.e. search for the attributes "master-name" in your FO and rename, when
there is one duplicate.
Regards,
Joerg
saikat wrote:
> Hi, I'm facing problems with converting a html file to pdf format.I'm
> using cocoon2.0 ,tomcat4.0.3 & j2sdk1.4.0
>
> while running the file it is giving following error -->
>
>
> org.apache.cocoon.ProcessingException: Could not read resource
> file:/C:/jakarta-tomcat-4.0.3/webapps/cocoon/mount/html-pdf/pageTwo.xml:
> java.lang.RuntimeException: org.apache.fop.apps.FOPException:
> 'master-name' (page) must be unique across page-masters and
> page-sequence-masters
>
> so please tell me wat to do
>
> with regards
>
> saikat
--
System Development
VIRBUS AG
Fon +49(0)341-979-7419
Fax +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: html to pdf problem
Posted by Charles Brewster <ch...@shaw.ca>.
saikat wrote:
> Hi,
> I'm facing problems with converting a html file to pdf format.I'm
> using cocoon2.0 ,tomcat4.0.3 & j2sdk1.4.0
>
> while running the file it is giving following error -->
>
>
>org.apache.cocoon.ProcessingException: Could not read resource file:/C:/jakarta-tomcat-4.0.3/webapps/cocoon/mount/html-pdf/pageTwo.xml: java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-name' (page) must be unique across page-masters and page-sequence-masters
>
>so please tell me wat to do
>
>with regards
>
>saikat
>
Did you create the all files as given in;
http://localhost:8080/cocoon/documents/howto/howto-html-pdf-publishing.html
What is in your pageTwo.xml file ?