Re: org.apache.fop.apps.FOPException: root must be root element

2003-03-19 Thread Oleg Tkachenko
Koes, Derrick wrote:
org.apache.fop.apps.FOPException: root must be root element
at org.apache.fop.fo.pagination.Root.(Root.java:52)
I get this exception only very, very intermittently when I'm rendering to
PDF a document with many images.  Can anyone help?
So you cannot surely reproduce the problem? Probably that has something to do 
with thread-safeness. Which version are you using?
--
Oleg Tkachenko
Multiconn Technologies, Israel

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cache piece of FOP Transformation

2003-03-19 Thread Oleg Tkachenko
Jan Zmitko wrote:
is it possible to cache pieces of the result from the transformation. I have 
designed my XSL Stylesheet with templates (5 templates). Two Templates 
containes static content and these I would like cache.  My Problem ist that all 
these Stylesheets are called in one Stylesheet and this is transforming.
You cannot cache some templates, but you can cache the whole compiled 
stylesheet, take a look at jaxp javax.xml.transform.Templates class.
--
Oleg Tkachenko
Multiconn Technologies, Israel

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: org.apache.fop.apps.FOPException: root must be root element

2003-03-19 Thread Jeremias Maerki
Well, either FOP doesn't get namespaced SAX events or you're feeding not
XSL-FO but something else. I can't tell from the code sample you posted.

Anyway please look at the ExampleXML2PDF.java in the examples/embedding
directory starting with FOP version 0.20.5rc. The example does things a
little differently since it uses JAXP directly, but it does exactly what
you want. Also see the information at the bottom of the embedding page
on the FOP website.

On 18.03.2003 21:55:37 Koes, Derrick wrote:
 
 org.apache.fop.apps.FOPException: root must be root element
   at org.apache.fop.fo.pagination.Root.(Root.java:52)
 
 I get this exception only very, very intermittently when I'm rendering to
 PDF a document with many images.  Can anyone help?
 
 I'm running embedded.  Embedded code:

snip/


Jeremias Maerki

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Dipl.-Oec. Harald Meyer
Hello everybody,

as I get a / by zero error under FOP 0.20.3 I want to upgrade to 0.20.5rc.
Unfortunately now I get a different error:

C:\fop\fop-0.20.5rcjava -cp
build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar;lib\ava
lon-framework-4.0.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar
org.apache.fop.apps.Fop -xml
C:\Inetpub\honeywell\quotation\xml\200443.xml -d -xsl
C:\Inetpub\honeywell\quotation\xml2pdf.xsl
C:\Inetpub\honeywell\quotation\pdf\200443.pdf
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/avalon/framework/logger/Logger
at org.apache.fop.apps.Fop.main(Fop.java:16)

Has someone experienced something similar?
By the way ... the / by zero error was already posted in January, but I
didn't find any solution for it. Has anyone some hints for me? ;-)

Thanks
Harald



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Mirko Sertic
I think you have avalon-framework-4.0 in your classpath. This file has
changed.
It is now called avalon-framework-cvs... and was part of my source
distribution.
Serach for such a file and change the classpath. This should fix your
problem.

Cheers

Mirko Sertic

-Ursprüngliche Nachricht-
Von: Dipl.-Oec. Harald Meyer [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 19. März 2003 13:20
An: [EMAIL PROTECTED]
Betreff: Upgrade 0.20.3 to 0.20.5rc


Hello everybody,

as I get a / by zero error under FOP 0.20.3 I want to upgrade to 0.20.5rc.
Unfortunately now I get a different error:

C:\fop\fop-0.20.5rcjava -cp
build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar;lib\ava
lon-framework-4.0.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar
org.apache.fop.apps.Fop -xml
C:\Inetpub\honeywell\quotation\xml\200443.xml -d -xsl
C:\Inetpub\honeywell\quotation\xml2pdf.xsl
C:\Inetpub\honeywell\quotation\pdf\200443.pdf
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/avalon/framework/logger/Logger
at org.apache.fop.apps.Fop.main(Fop.java:16)

Has someone experienced something similar?
By the way ... the / by zero error was already posted in January, but I
didn't find any solution for it. Has anyone some hints for me? ;-)

Thanks
Harald



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: org.apache.fop.apps.FOPException: root must be root element

2003-03-19 Thread Koes, Derrick

Version 0.20.5rc2

I suspected as much about the thread safety, the class containing the driver
code was a singleton.  I'm changing that now.

Thanks,
Derrick

-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 19, 2003 2:52 AM
To: [EMAIL PROTECTED]
Subject: Re: org.apache.fop.apps.FOPException: root must be root element

Koes, Derrick wrote:
 org.apache.fop.apps.FOPException: root must be root element
   at org.apache.fop.fo.pagination.Root.(Root.java:52)
 
 I get this exception only very, very intermittently when I'm rendering to
 PDF a document with many images.  Can anyone help?
So you cannot surely reproduce the problem? Probably that has something to
do 
with thread-safeness. Which version are you using?
-- 
Oleg Tkachenko
Multiconn Technologies, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This electronic transmission is strictly confidential to Smith  Nephew and
intended solely for the addressee.  It may contain information which is
covered by legal, professional or other privilege.  If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission.  If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Dipl.-Oec. Harald Meyer
 I think you have avalon-framework-4.0 in your classpath. This file has
 changed.
 It is now called avalon-framework-cvs... and was part of my source
 distribution.
 Serach for such a file and change the classpath. This should fix your
 problem.


Thanks, but now I get another error and I need some help ... ;-)

C:\fopjava -cp
build\fop.jar;lib\xml-apis.jar;lib\xercesImpl-2.2.1.jar;lib\xalan-2.4.1.jar;
lib\batik.jar;lib\avalon-framework-cvs-20020806.jar;lib\jimi-1.0.jar;lib\jai
_core.jar;lib\jai_codec.jar org.apache.fop.apps.Fop -d -xml
C:\Inetpub\honeywell\quotation\xml\200443.xml -xsl C:\Inetpub\honeywe
ll\quotation\xml2pdf.xsl C:\Inetpub\honeywell\quotation\pdf\200443.pdf
[DEBUG] Input mode:
[DEBUG] xslt transformation
[DEBUG] xml input file: C:\Inetpub\honeywell\quotation\xml\200443.xml
[DEBUG] xslt stylesheet: C:\Inetpub\honeywell\quotation\xml2pdf.xsl
[DEBUG] Output mode:
[DEBUG] pdf
[DEBUG] output file: C:\Inetpub\honeywell\quotation\pdf\200443.pdf
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] base directory: file:/C:/Inetpub/honeywell/quotation/xml/
[INFO] FOP 0.20.5rc
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[ERROR] Content is not allowed in prolog.
org.apache.fop.apps.FOPException: Content is not allowed in prolog.
at org.apache.fop.apps.Driver.render(Driver.java:462)
at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69)
at org.apache.fop.apps.Fop.main(Fop.java:19)

-

org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xalan.transformer.TrAXFilter.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)

-

org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xalan.transformer.TrAXFilter.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)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Müller, Markus
Hi,

You get this message when you have the wrong encoding in your XML file
?xml version=1.0 encoding=wrongone?. The XML parser then gets a wrong
input, not the required ?xml

Markus

$ -Ursprüngliche Nachricht-
$ Von: Dipl.-Oec. Harald Meyer [mailto:[EMAIL PROTECTED] 
$ Gesendet: Mittwoch, 19. März 2003 15:39
$ An: [EMAIL PROTECTED]
$ Betreff: AW: Upgrade 0.20.3 to 0.20.5rc
$ 
$ 
$  I think you have avalon-framework-4.0 in your classpath. 
$ This file has
$  changed.
$  It is now called avalon-framework-cvs... and was part of my source
$  distribution.
$  Serach for such a file and change the classpath. This 
$ should fix your
$  problem.
$ 
$ 
$ Thanks, but now I get another error and I need some help ... ;-)
$ 
$ C:\fopjava -cp
$ build\fop.jar;lib\xml-apis.jar;lib\xercesImpl-2.2.1.jar;lib\x
$ alan-2.4.1.jar;
$ lib\batik.jar;lib\avalon-framework-cvs-20020806.jar;lib\jimi-
$ 1.0.jar;lib\jai
$ _core.jar;lib\jai_codec.jar org.apache.fop.apps.Fop -d -xml
$ C:\Inetpub\honeywell\quotation\xml\200443.xml -xsl C:\Inetpub\honeywe
$ ll\quotation\xml2pdf.xsl 
$ C:\Inetpub\honeywell\quotation\pdf\200443.pdf
$ [DEBUG] Input mode:
$ [DEBUG] xslt transformation
$ [DEBUG] xml input file: C:\Inetpub\honeywell\quotation\xml\200443.xml
$ [DEBUG] xslt stylesheet: C:\Inetpub\honeywell\quotation\xml2pdf.xsl
$ [DEBUG] Output mode:
$ [DEBUG] pdf
$ [DEBUG] output file: C:\Inetpub\honeywell\quotation\pdf\200443.pdf
$ [DEBUG] OPTIONS
$ [DEBUG] no user configuration file is used [default]
$ [DEBUG] debug mode on
$ [DEBUG] dump configuration
$ [DEBUG] quiet mode on
$ [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
$ [INFO] base directory: file:/C:/Inetpub/honeywell/quotation/xml/
$ [INFO] FOP 0.20.5rc
$ [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
$ [ERROR] Content is not allowed in prolog.
$ org.apache.fop.apps.FOPException: Content is not allowed in prolog.
$ at org.apache.fop.apps.Driver.render(Driver.java:462)
$ at
$ org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter
$ .java:69)
$ at org.apache.fop.apps.Fop.main(Fop.java:19)
$ 
$ -
$ 
$ org.xml.sax.SAXParseException: Content is not allowed in prolog.
$ at 
$ org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
$ at 
$ org.apache.xalan.transformer.TrAXFilter.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)
$ 
$ -
$ 
$ org.xml.sax.SAXParseException: Content is not allowed in prolog.
$ at 
$ org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
$ at 
$ org.apache.xalan.transformer.TrAXFilter.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)
$ 
$ 
$ 
$ -
$ To unsubscribe, e-mail: [EMAIL PROTECTED]
$ For additional commands, e-mail: [EMAIL PROTECTED]
$ 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Dipl.-Oec. Harald Meyer
But in the XML file is this:

?xml version=1.0 encoding=UTF-8?

I guess it is correct 

 -Ursprüngliche Nachricht-
 Von: Müller, Markus [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 19. März 2003 15:42
 An: [EMAIL PROTECTED]
 Betreff: AW: Upgrade 0.20.3 to 0.20.5rc


 Hi,

 You get this message when you have the wrong encoding in your XML file
 ?xml version=1.0 encoding=wrongone?. The XML parser then
 gets a wrong
 input, not the required ?xml

 Markus

 $ -Ursprüngliche Nachricht-
 $ Von: Dipl.-Oec. Harald Meyer [mailto:[EMAIL PROTECTED]
 $ Gesendet: Mittwoch, 19. März 2003 15:39
 $ An: [EMAIL PROTECTED]
 $ Betreff: AW: Upgrade 0.20.3 to 0.20.5rc
 $
 $
 $  I think you have avalon-framework-4.0 in your classpath.
 $ This file has
 $  changed.
 $  It is now called avalon-framework-cvs... and was part of my source
 $  distribution.
 $  Serach for such a file and change the classpath. This
 $ should fix your
 $  problem.
 $ 
 $
 $ Thanks, but now I get another error and I need some help ... ;-)
 $
 $ C:\fopjava -cp
 $ build\fop.jar;lib\xml-apis.jar;lib\xercesImpl-2.2.1.jar;lib\x
 $ alan-2.4.1.jar;
 $ lib\batik.jar;lib\avalon-framework-cvs-20020806.jar;lib\jimi-
 $ 1.0.jar;lib\jai
 $ _core.jar;lib\jai_codec.jar org.apache.fop.apps.Fop -d -xml
 $ C:\Inetpub\honeywell\quotation\xml\200443.xml -xsl C:\Inetpub\honeywe
 $ ll\quotation\xml2pdf.xsl
 $ C:\Inetpub\honeywell\quotation\pdf\200443.pdf
 $ [DEBUG] Input mode:
 $ [DEBUG] xslt transformation
 $ [DEBUG] xml input file: C:\Inetpub\honeywell\quotation\xml\200443.xml
 $ [DEBUG] xslt stylesheet: C:\Inetpub\honeywell\quotation\xml2pdf.xsl
 $ [DEBUG] Output mode:
 $ [DEBUG] pdf
 $ [DEBUG] output file: C:\Inetpub\honeywell\quotation\pdf\200443.pdf
 $ [DEBUG] OPTIONS
 $ [DEBUG] no user configuration file is used [default]
 $ [DEBUG] debug mode on
 $ [DEBUG] dump configuration
 $ [DEBUG] quiet mode on
 $ [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
 $ [INFO] base directory: file:/C:/Inetpub/honeywell/quotation/xml/
 $ [INFO] FOP 0.20.5rc
 $ [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
 $ [ERROR] Content is not allowed in prolog.
 $ org.apache.fop.apps.FOPException: Content is not allowed in prolog.
 $ at org.apache.fop.apps.Driver.render(Driver.java:462)
 $ at
 $ org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter
 $ .java:69)
 $ at org.apache.fop.apps.Fop.main(Fop.java:19)
 $
 $ -
 $
 $ org.xml.sax.SAXParseException: Content is not allowed in prolog.
 $ at
 $ org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 $ at
 $ org.apache.xalan.transformer.TrAXFilter.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)
 $
 $ -
 $
 $ org.xml.sax.SAXParseException: Content is not allowed in prolog.
 $ at
 $ org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 $ at
 $ org.apache.xalan.transformer.TrAXFilter.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)
 $
 $
 $
 $ -
 $ To unsubscribe, e-mail: [EMAIL PROTECTED]
 $ For additional commands, e-mail: [EMAIL PROTECTED]
 $

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Dipl.-Oec. Harald Meyer
 Did you modify the source code? If not, try to omit the encoding tag or
 try iso-8859-1.

No, I didn't modify the sorce code ( I am no Java programmer at all ).



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: PNG in pdf

2003-03-19 Thread Valeiko, Michael
Hi,

I am using jai for the rendering. Fop finds the classes, and I don't get any 
exceptions, however, the image just doesn't display correctly.  The 
transparency is displayed as black.

-Original Message-
From: Victor Mote [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 6:40 PM
To: [EMAIL PROTECTED]
Subject: RE: PNG in pdf


Valeiko, Michael wrote:

--- Start ---
I am trying to display a .png file in a .pdf file, however the transparent
color is coming out black. The image is fine with the awt viewer.
Is this a know issue?
--- End ---

Yes, see http://xml.apache.org/fop/faq.html#png_fails. If that doesn't help,
then please repost to this list with a comment to that effect.

Victor Mote



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



fo:block on a new page

2003-03-19 Thread Lee, Insoo


 I have some fo:block(s) that need to start on a new page... However I like
to make an exception for the first fo:block so that I don't get the first
blank page... Is there any smart way to do it without introducing
fo:conditional-page-master-reference?
Thanks



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: block on a new page

2003-03-19 Thread Partridge, Michael
Have you tried fo:block break-before=page on all the blocks? If you
get a blank first page, just take that out of the first block.

-Original Message-
From: Lee, Insoo [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 19, 2003 10:09 AM
To: '[EMAIL PROTECTED]'
Subject: fo:block on a new page




 I have some fo:block(s) that need to start on a new page... However I
like
to make an exception for the first fo:block so that I don't get the
first
blank page... Is there any smart way to do it without introducing
fo:conditional-page-master-reference?
Thanks



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: Upgrade 0.20.3 to 0.20.5rc

2003-03-19 Thread Clay Leeds
BTW, I don't know who recommended removing the encoding tag altogether, 
but it probably won't work. According to the XML Bible (pg 205 of the 
Gold Edition):

  Unless told otherwise, an XML processor assumes that
  all text entities are encoded in UTF-8.
Since you're already getting an error, I suspect that specifying UTF-8 
and not specifying anything will have the same result.

Of course, the real answer will probably be to determine the character 
set you're using (Cyrillic, Hebrew, Thai, whatever) and set it so the 
XML processor can expect the characters you're throwing at it.

Good luck!
Dipl.-Oec. Harald Meyer wrote:
Did you modify the source code? If not, try to omit the encoding tag or
try iso-8859-1.
No, I didn't modify the sorce code ( I am no Java programmer at all ).

--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: PNG in pdf

2003-03-19 Thread Victor Mote
Valeiko, Michael wrote:

 I am using jai for the rendering. Fop finds the classes, and I
 don't get any exceptions, however, the image just doesn't display
 correctly.  The transparency is displayed as black.

I just searched through the archives and the bug lists, and don't see this
addressed anywhere. I recommend opening a bug issue -- see
http://xml.apache.org/fop/bugs.html#issues_new for instructions. In the mean
time, consider using jimi until this can be resolved -- see
http://xml.apache.org/fop/relnotes.html#FOP+0.20.5 for instructions.

Victor Mote



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Euro sign Problem

2003-03-19 Thread Victor Mote
Lucian Opris wrote:

 I've purchased a Font Garamond Book and it doesn't have the euro
 sign integrated in it. How can I set up the config file for fop
 to read from two different PFB file in the same time (from
 GAW_.pfb and euro.pfb).

I don't think you can do that. Some other possible solutions:
1. Hack the font so that it contains the character that you want. You will
need font editing software to do this.
2. Use a different font, one that has the Euro character in it. Check the
font vendor's web site, as some will upgrade the font to include the Euro
character.
3. Configure the two fonts separately in FOP, then wrap the Euro characters
in your document in the font that has the Euro character.

Victor Mote


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Current FOP version == 0.20.5 or RC2?

2003-03-19 Thread Philip Semanchuk
Hi all,
What exactly is the most current FOP version? The home page says 0.20.5,
but there's nothing in the news (http://xml.apache.org/fop/news.html)
beyond the announcement of RC2's availability on Feb 18 2003. 

Bonus question =)
Can anyone tell me why I get no results when I search the subjects of
the list archive for ANNOUNCEMENT ?
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]

Thanks 
Philip




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



table footer placement

2003-03-19 Thread Partridge, Michael
I've got a table with a header, footer, and just enough rows to make
the footer spill onto a new page. I also set the attribute
table-omit-footer-at-break to true. So I get this when transforming:

[WARNING] footer could not fit on page, moving last body row to next
page

What actually happens, however, is that the last row of the table is
on the first page, and the second page has the table header and footer
only. I'm using fop 0.20.5rc.

Mike Partridge 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Calling FOP from JNI

2003-03-19 Thread Richard Bell




I am trying to call FOP using JNI. I am having a 
peculiar problem. Calling on the thread on which the JVM is initialized is fine. 
But If I make the call from a new thread I get the following error. Any 
help I can get with this would be very much appreciated.
Exception in thread "x#º" 
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found 
 at 
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java: 
93)  at 
Test.test(Test.java:36) 


Re: Current FOP version == 0.20.5 or RC2?

2003-03-19 Thread Jeremias Maerki
On 19.03.2003 22:12:02 Philip Semanchuk wrote:
 Hi all,
 What exactly is the most current FOP version? The home page says 0.20.5,
 but there's nothing in the news (http://xml.apache.org/fop/news.html)
 beyond the announcement of RC2's availability on Feb 18 2003. 

Latest version is indeed 0.20.5rc2. Version 0.20.5 is postponed until
all pending license issues are resolved. 

 Bonus question =)
 Can anyone tell me why I get no results when I search the subjects of
 the list archive for ANNOUNCEMENT ?
 http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]

What about this?
http://nagoya.apache.org/eyebrowse/SearchList?listId=[EMAIL 
PROTECTED]searchText=ANNOUNCEMENTdefaultField=subjectSearch=Search
http://nagoya.apache.org/eyebrowse/SearchList?listId=[EMAIL 
PROTECTED]searchText=ANNdefaultField=subjectSearch=Search


Jeremias Maerki

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



right justifying table cell text

2003-03-19 Thread Afshartous, Nick
Title: right justifying table cell text






Hi,


I'm trying to rigth justify the text in 
a table cell. The chapter on tables
in Pawson's book says that cell content
may be horizontally aligned using the 
text-align property (valid values are start, center,
end, and justify). No setting seems to 
right-justify the text though. 


If anyone has any suggestions please advise, thanks.


 Nick








RE: right justifying table cell text

2003-03-19 Thread Roland Neilands
Nick,

I'm trying to rigth justify the text in a table cell. 

Use a block:
fo:table-cell
  fo:block text-align=end


Cheers,
Roland

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problems with !{CDATA in docbook and fop

2003-03-19 Thread Jason Novotny
Jason Novotny wrote:
Here's my fop output--
Thanks, Jason
Oleg Tkachenko wrote:
Jason Novotny wrote:
I'm trying to use docbook and fop together and I have the following 
which renders in HTML fine:

literallayoutprogramlisting
![CDATA[user username=tomcat password=tomcat 
roles=tomcat,manager/]]

/programlisting/literallayout
However when I fop this, I get:
[java] -
[java] org.xml.sax.SAXParseException: name expected (found =)

Hmm, really strange. Can you post relevant fragment of the generated 
xsl-fo?



?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; line-height=normal text-align=justify font-size=10pt font-family=serif language=enfo:layout-master-setfo:simple-page-master margin-right=1in margin-left=1in margin-bottom=0.5in margin-top=0.5in page-height=11in page-width=8.5in master-name=blankfo:region-body margin-top=0.5in margin-bottom=0.5in display-align=center region-name=blank-body/fo:region-before display-align=before extent=0.4in region-name=xsl-region-before-blank/fo:region-after display-align=after extent=0.4in region-name=xsl-region-after-blank//fo:simple-page-masterfo:simple-page-master margin-right=1in margin-left=1in margin-bottom=0.5in margin-top=0.5in page-height=11in page-width=8.5in master-name=titlepage-firstfo:region-body column-count=1 margin-top=0.5in margin-bottom=0.5in/fo:region-before display-align=before extent=0.4in region-name=xsl-region-before-first/fo:region-after display-align=after extent=0.4in region-name=xsl-region-after-first//fo:simple-page-masterfo:simple-page-master margin-right=1in margin-left=1in margin-bottom=0.5in margin-top=0.5in page-height=11in page-width=8.5in master-name=titlepage-oddfo:region-body column-count=1 margin-top=0.5in margin-bottom=0.5in/fo:region-before display-align=before extent=0.4in region-name=xsl-region-before-odd/fo:region-after display-align=after extent=0.4in region-name=xsl-region-after-odd//fo:simple-page-masterfo:simple-page-master margin-left=1in margin-right=1in margin-bottom=0.5in margin-top=0.5in page-height=11in page-width=8.5in master-name=titlepage-evenfo:region-body column-count=1 margin-top=0.5in margin-bottom=0.5in/fo:region-before display-align=before extent=0.4in region-name=xsl-region-before-even/fo:region-after display-align=after extent=0.4in region-name=xsl-region-after-even//fo:simple-page-masterfo:simple-page-master margin-right=1in margin-left=1in margin-bottom=0.5in margin-top=0.5in page-height=11in page-width=8.5in master-name=lot-firstfo:region-body column-count=1 margin-top=0.5in margin-bottom=0.5in/fo:region-before display-align=before extent=0.4in region-name=xsl-region-before-first/fo:region-after display-align=after extent=0.4in region-name=xsl-region-after-first//fo:simple-page-masterfo:simple-page-master margin-right=1in margin-left=1in margin-bottom=0.5in margin-top=0.5in page-height=11in page-width=8.5in master-name=lot-oddfo:region-body column-count=1 margin-top=0.5in margin-bottom=0.5in/fo:region-before display-align=before extent=0.4in region-name=xsl-region-before-odd/fo:region-after display-align=after extent=0.4in region-name=xsl-region-after-odd//fo:simple-page-masterfo:simple-page-master margin-left=1in margin-right=1in margin-bottom=0.5in margin-top=0.5in page-height=11in page-width=8.5in master-name=lot-evenfo:region-body column-count=1 margin-top=0.5in margin-bottom=0.5in/fo:region-before display-align=before extent=0.4in region-name=xsl-region-before-even/fo:region-after display-align=after extent=0.4in region-name=xsl-region-after-even//fo:simple-page-masterfo:simple-page-master margin-right=1in margin-left=1in margin-bottom=0.5in margin-top=0.5in page-height=11in page-width=8.5in master-name=front-firstfo:region-body column-count=1 margin-top=0.5in margin-bottom=0.5in/fo:region-before display-align=before extent=0.4in region-name=xsl-region-before-first/fo:region-after display-align=after extent=0.4in region-name=xsl-region-after-first//fo:simple-page-masterfo:simple-page-master margin-right=1in margin-left=1in margin-bottom=0.5in margin-top=0.5in page-height=11in page-width=8.5in master-name=front-oddfo:region-body column-count=1 margin-top=0.5in margin-bottom=0.5in/fo:region-before display-align=before extent=0.4in region-name=xsl-region-before-odd/fo:region-after display-align=after extent=0.4in region-name=xsl-region-after-odd//fo:simple-page-masterfo:simple-page-master margin-left=1in margin-right=1in margin-bottom=0.5in margin-top=0.5in page-height=11in page-width=8.5in master-name=front-evenfo:region-body column-count=1 margin-top=0.5in margin-bottom=0.5in/fo:region-before display-align=before extent=0.4in region-name=xsl-region-before-even/fo:region-after display-align=after extent=0.4in region-name=xsl-region-after-even//fo:simple-page-masterfo:simple-page-master margin-right=1in margin-left=1in margin-bottom=0.5in margin-top=0.5in page-height=11in page-width=8.5in 

Re: Current FOP version == 0.20.5 or RC2?

2003-03-19 Thread Philip Semanchuk
On Wed, 2003-03-19 at 16:41, Jeremias Maerki wrote:
 On 19.03.2003 22:12:02 Philip Semanchuk wrote:
  Hi all,
  What exactly is the most current FOP version? The home page says 0.20.5,
  but there's nothing in the news (http://xml.apache.org/fop/news.html)
  beyond the announcement of RC2's availability on Feb 18 2003. 
 
 Latest version is indeed 0.20.5rc2. Version 0.20.5 is postponed until
 all pending license issues are resolved. 

OK thanks.

  Bonus question =)
  Can anyone tell me why I get no results when I search the subjects of
  the list archive for ANNOUNCEMENT ?
  http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
 
 What about this?
 http://nagoya.apache.org/eyebrowse/SearchList?listId=[EMAIL 
 PROTECTED]searchText=ANNOUNCEMENTdefaultField=subjectSearch=Search
 http://nagoya.apache.org/eyebrowse/SearchList?listId=[EMAIL 
 PROTECTED]searchText=ANNdefaultField=subjectSearch=Search

Hmmm, on the first URL I get a Bad Gateway! error which I saw earlier
today. I have also seen this search return no results, and I just tried
it again and now it returns all of the results I expect. ??? I emailed
the Webmaster about it.

Thanks
Philip


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]