You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "KAPOOR, Amit" <am...@ser.de> on 2001/02/02 15:49:35 UTC

FOR! FOP Conversion!

Hello,
  I am having a small difficulty.
I am using FOP 16, Xerces 1.2.3 and Xalan J 2.
The FOP runtest.bat works perfect. All the conversion I get as pdf in output
on run of runtest.bat.
When I try to run my own .xml and .xsl file to be converted to PDF,
It gives me error:
C:\>java org.apache.fop.apps.XalanCommandLine c:\dev\amit\dialysis_fop.xml
c:\dev\amit\dialysis_fop.xsl c:\dev\amit\dial
ysis_fop.pdf
Unknown tag in configuration file:
Unknown tag in configuration file:
Unknown tag in configuration file:
Unknown tag in configuration file:
Unknown tag in configuration file:
Unknown tag in configuration file:
Unknown tag in configuration file:
Unknown tag in configuration file:
Unknown tag in configuration file:
null
using SAX parser org.apache.xerces.parsers.SAXParser
transforming to xsl:fo markup
xml: file:c:/dev/amit/dialysis_fop.xml
xslt: file:c:/dev/amit/dialysis_fop.xsl
using renderer org.apache.fop.render.pdf.PDFRenderer
using element mapping org.apache.fop.fo.StandardElementMapping
using element mapping org.apache.fop.svg.SVGElementMapping
using property list mapping org.apache.fop.fo.StandardPropertyListMapping
using property list mapping org.apache.fop.svg.SVGPropertyListMapping
building formatting object tree
WARNING: Unknown formatting object ^
FATAL ERROR:

How can I convert XML to PDF??
With XalanCommandLine it still gives me problem.
Can anyone help. When i run FOP's runtest.bat then it converts .fo file to
PDF but when I do the same for same files from DOS prompt it does not.
Can anyone help or guide.??

Thanks
Amit Kapoor

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


Re: FOR! FOP Conversion!

Posted by Fotis Jannidis <fo...@lrz.uni-muenchen.de>.
Hello, 

the error message seems to result from an Xerces version which 
doesn't work together with Fop, because it is too old. I can only 
guess that runtests.bat and your commandline usage use different 
Xerces versions. 

Fotis

Send reply to:  	fop-dev@xml.apache.org
From:           	"KAPOOR, Amit" <am...@ser.de>
To:             	fop-dev@xml.apache.org
Subject:        	FOR! FOP Conversion!
Date sent:      	Fri, 2 Feb 2001 15:49:35 +0100 

> Hello,
>   I am having a small difficulty.
> I am using FOP 16, Xerces 1.2.3 and Xalan J 2.
> The FOP runtest.bat works perfect. All the conversion I get as pdf in output
> on run of runtest.bat.
> When I try to run my own .xml and .xsl file to be converted to PDF,
> It gives me error:
> C:\>java org.apache.fop.apps.XalanCommandLine c:\dev\amit\dialysis_fop.xml
> c:\dev\amit\dialysis_fop.xsl c:\dev\amit\dial
> ysis_fop.pdf
> Unknown tag in configuration file:
> Unknown tag in configuration file:
> Unknown tag in configuration file:
> Unknown tag in configuration file:
> Unknown tag in configuration file:
> Unknown tag in configuration file:
> Unknown tag in configuration file:
> Unknown tag in configuration file:
> Unknown tag in configuration file:
> null
> using SAX parser org.apache.xerces.parsers.SAXParser
> transforming to xsl:fo markup
> xml: file:c:/dev/amit/dialysis_fop.xml
> xslt: file:c:/dev/amit/dialysis_fop.xsl
> using renderer org.apache.fop.render.pdf.PDFRenderer
> using element mapping org.apache.fop.fo.StandardElementMapping
> using element mapping org.apache.fop.svg.SVGElementMapping
> using property list mapping org.apache.fop.fo.StandardPropertyListMapping
> using property list mapping org.apache.fop.svg.SVGPropertyListMapping
> building formatting object tree
> WARNING: Unknown formatting object ^
> FATAL ERROR:
> 
> How can I convert XML to PDF??
> With XalanCommandLine it still gives me problem.
> Can anyone help. When i run FOP's runtest.bat then it converts .fo file to
> PDF but when I do the same for same files from DOS prompt it does not.
> Can anyone help or guide.??
> 
> Thanks
> Amit Kapoor
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
> 



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