Re: [Fatal Error]: xlink:href is not bound

2002-12-07 Thread Oleg Tkachenko
Stefano Barella wrote:
I have updated the fop lib from 0.20.2 release to 0.20.4 and now I have the 
following problem:
[Fatal Error]: The prefix xlink for attribute xlink:href is not bound.
The xsl and xml file are the same used before ( in the previouse releasa ) while the svg is created by the new batik lib provided 
by the new fop release (0.20.4).

Any suggestion ?
Make sure you have declared xlink namespace properly.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Unicode special chars

2002-12-07 Thread Oleg Tkachenko
Timo Haberkern wrote:
i have a little problem with unicode special characters. If i write the 
Unicode-Newline from my Java Application (with XercesJ) to XML it 
escapes #x2028; to amp;#x2028;.
Ask on xerces-user mail list how to do it properly.
 FOP seems to ignore the amp;#x2028;
and works only as expected if there is a #x2028;
Sure. amp;#x2028; looks terrible actually, those 8 charcters have 
nothing to do with unicode new line character.

How can i manage this? Any ideas?
It's offtopic here, sorry.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Suppressing console-output

2002-12-07 Thread Oleg Tkachenko
M.Weiss wrote:
does anyone know, how I may suppress the console-output, written during the
rendering-process in fop. Lines like:
--
using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
setting up fonts
 [1]
Parsing of document complete, stopping renderer
Initial heap size: 13599Kb
Current heap size: 12928Kb
Total memory used: -671Kb
  Memory use is indicative; no GC was performed
  These figures should not be used comparatively
Total time used: 60ms
Pages rendererd: 1
Avg render time: 60ms/page
If you are embedding FOP, you can supply NullLogger (availabele at 
Avalon LogKit) or set ConsoleLogger to DISABLE level:
log = new ConsoleLogger(ConsoleLogger.LEVEL_DISABLE);

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Column in a block

2002-12-07 Thread Oleg Tkachenko
marco scotoni wrote:
I know that it's possible work with columns on FO using the property on tag
Region-Body.
I need to use column on a Block...any idea how could i do?
You cannot, that's region-body property. What's a problem are you trying 
to solve this way?

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Different background colors for first and following pages

2002-12-07 Thread Oleg Tkachenko
Timo Haberkern wrote:
I'm new to fop/XSL-Fo and have some problems with my first stylesheet. I 
want to use different background-colors in the region-body for the first 
and the following pages. The first page should have a backgroundcolor X 
and all following pages the background-color Y.

Is there a posible solution?
Sure. You should define different page masters for the first page and 
others. Get some xsl-fo tutorial, e.g. Dave Pawson's book:
http://www.dpawson.co.uk/xsl/sect3/bk/ch05.html#pseqs.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: FOP 0.20.4

2002-12-07 Thread J.Pietschmann
[EMAIL PROTECTED] wrote:
[04/12/02 10:30:12:407 HST] 541ff1e2 WebGroup  X Servlet Error: Class
org/xml/sax/XMLReader violates loader constraints: java.lang.LinkageError:
Class org/xml/sax/XMLReader violates loader constraints
  at org.apache.fop.apps.Driver.getParserClassName(Unknown Source)
For some reason the servlet container (WAS) wont load the XMLReader
interface, probably because it has already one loaded from another
part of the class path. That's something which requires a WAS guru,
if you have a support contract, call the IBM support.
J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Unicode special chars

2002-12-07 Thread J.Pietschmann
Timo Haberkern wrote:
i have a little problem with unicode special characters. If i write the 
Unicode-Newline from my Java Application (with XercesJ) to XML it 
escapes #x2028; to amp;#x2028;. FOP seems to ignore the amp;#x2028; 
and works only as expected if there is a #x2028;
There is a difference between an XML file read by a parser and
strings supplied through a Java interface for XML. Use the
Java syntax for representing Unicode characters: \u2028
in Java strings.
J.Pietschmann

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


Re: Suppressing console-output

2002-12-07 Thread Peter B. West
Marcus,
With the current CVS version of the code tagged 'fop-0_20_2-maintain', 
the -q switch suppresses this output.

Peter
M.Weiss wrote:
Hi everybody,
does anyone know, how I may suppress the console-output, written during the
rendering-process in fop. Lines like:
--
using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
setting up fonts
 [1]
Parsing of document complete, stopping renderer
Initial heap size: 13599Kb
Current heap size: 12928Kb
Total memory used: -671Kb
  Memory use is indicative; no GC was performed
  These figures should not be used comparatively
Total time used: 60ms
Pages rendererd: 1
Avg render time: 60ms/page

--
Peter B. West  [EMAIL PROTECTED]  http://www.powerup.com.au/~pbwest/
Lord, to whom shall we go?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]