[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Problems runnig FOP on linux

Subject: Re: Problems runnig FOP on linux
From: Jiri Jirat <Jiri.Jirat@xxxxxxxxxxxx>
Date: Fri, 18 Jan 2002 14:08:38 +0100
fop java 1.5. problems
Hello John,
 I have tried your sample and don't have any problem.
My setup:

RedHat 7.0 (with many upgrades :-))
Saxon6.5 - with built-in AElfred or with Crimson - both don't complain
FOP0.20.2
Java:
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)


That's something weird with your computer - perhaps Java?


Regards
Jirka



John Walker wrote:

Hi,
I'm having a problem running FOP under Red Hat Linux 7.0. It crashes with the following org.apache.fop.apps.FOPException: Namespace not supported by SAXParser.
I have used a pair of simple foo.xsl and foo.xml input files to obtain an output pdf:


foo.xml
------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<Doc>
   Hello world!
</Doc>
------------------


fo.xsl
--------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:template match="/">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="base" margin-left="3cm" margin-right="3cm" margin-top="1cm" margin-bottom="1cm">
<fo:region-body margin-top="1.5cm" margin-bottom="1.5cm"/>
<fo:region-before extent="1.5cm"/>
<fo:region-after extent="1cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-name="base">
<fo:flow flow-name="xsl-region-body">
<fo:block font-family="Helvetica" font-size="14pt" font-weight="bold" font-style="italic" color="#000000" space-after="5mm" space-before="5mm">
<xsl:value-of select="Documento"/>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
</xsl:stylesheet>
--------------------
It works fine on Windows but not on Linux. Please, I need some help... I'm going crazy with this problem.
Thanx!






XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



--
<name firstName="Jirka" surname="Jirat"/>
<mail> jiratj@xxxxxxxxxxxx </mail>
<support> http://www.zvon.org </support>
<zvonMailingList> http://www.zvon.org/index.php?nav_id=4 </zvonMailingList>



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.