AW: FOP In Latest Cocoon Releases

2002-10-01 Thread Skladovs, Victor

Hi Frank!

Sorry I meant xalan-2.2.0, not 2.0.0. I don't know whether it is buggy,
for my purposes it works fine - I build only tables. But they could be
very different - very small and very large. Since they are being built
on the fly, I never know what the table it is, that's the problem. And
only with xalan-2.2.0 it works acceptable. I think you will solve your
problem too.

Best wishes,
Viktor

-Ursprüngliche Nachricht-
Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 30. September 2002 18:00
An: '[EMAIL PROTECTED]'
Betreff: AW: FOP In Latest Cocoon Releases


Hi Viktor!

Ok then there would another alternative for me. But the 
disadvantage is that you use Xalan 2.0.0. which is told 
to be little bit buggy. 

When I'm  not able to solve the problem with fop-0_20_2-maintain I 
will test your solution.

P.S: I eliminate the error with serialVersionUID. But now there is the 
follwing error message when I run fop built from fop-0_20_2-maintain:

[ERROR] Error building hyphenation tree for language de
java.lang.ClassCastException: cannot assign instance of
java.util.Hashtable
to field org.apache.fop.layout.hyphenation.HyphenationTree.stoplist of
type
java.util.HashMap in instance of
org.apache.fop.layout.hyphenation.HyphenationTree
at
java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamC
lass
.java:1840)
at
java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1062)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1851)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646
)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at
org.apache.fop.layout.hyphenation.Hyphenator.getFopHyphenationTree(Unkno
wn
Source)
at
org.apache.fop.layout.hyphenation.Hyphenator.getHyphenationTree(Unknown
Source)
at
org.apache.fop.layout.hyphenation.Hyphenator.hyphenate(Unknown
Source)
at org.apache.fop.layout.LineArea.doHyphenation(Unknown Source)



Thank you and best regards

Frank

-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 30. September 2002 17:00
An: [EMAIL PROTECTED]
Betreff: AW: FOP In Latest Cocoon Releases


Hi Frank!

It seems I've got it going at last ...
What I've done:
1)I compiled and built Cocoon2.1-dev from the cvs directory.
2)Then I replaced xalan-2.3.1, xercesImpl-2.0.0 with those supplied with
Cocoon-2.0.1: xalan-2.0.0 and xerces1.4.4. And it works! My PDF are
good!
3) I replaced FOP too, but it is not necessary, I think. With 0.20.3 it
works too.

Maybe it helps...

Best wishes,
Viktor

-Ursprüngliche Nachricht-
Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 26. September 2002 09:46
An: '[EMAIL PROTECTED]'
Betreff: AW: FOP In Latest Cocoon Releases


Hi Viktor,

I have also made the same experiences with exchanging the 
version of Xalan and Xerces in cocoon-2.0{1,2,3}. It doesn't work.

As J. Pietschmann wrote it is a bug in fop which is fixed in 
FOP CVS, branch tag fop-0_20_2-maintain.

So we should try to replace fop.

Regards 

Frank


-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 26. September 2002 09:39
An: [EMAIL PROTECTED]
Betreff: AW: FOP In Latest Cocoon Releases


Hi Frank!

I think all we have to do is to replace xalan and maybe xerces jars in a
cocoon distribution.
I tried to do this. I replaced xalan-2.3.1 with xalan-2.0.0 in
Cocoon.2.0.3. It worked very unstable, I did it all back at the result,
but my pdf were fine!

The question is how could I replace xalan and xerces in cocoon? What
must I take into account so that the cocoon works stable?

Regards,
Viktor

-Ursprüngliche Nachricht-
Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 15:06
An: '[EMAIL PROTECTED]'
Betreff: AW: FOP In Latest Cocoon Releases


Hello to all cocoon users,

I also have big troubles with fop in cocoon-2.01,cocoon-2.02,
cocoon-2.03.

Everything is working fine with fop-0.20.3 as a standalone application
but integrated into cocoon there is sometimes a strange behavior.

My problem occurs especially in conjunction with the generation of fop
tables and hyphenation of long
text in table-cells. The output produced with fop in cocoon is sometimes
messing around the characters of a word.

What I have tested so far, is that there is a problem with
Xalan-2.2.0.jar,
Xerces-1.4.4.jar
which are used in these cocoon versions. When you run fop with these
jars
then you are faced
to the same problems in fop  as a stand alone application. So in fact
the
problem is not cocoon itself,
but the used versions of Xerces and Xalan.

Has anybody an idea where this comes from? Is there a way to solve

AW: AW: FOP In Latest Cocoon Releases

2002-09-30 Thread Przybilla, Frank

Hi Joerg Pietschmann,

I checked out und built fop out of branch fop-0_20_2-maintain as you told
me.
Whe I test this version referring to my described problems with 
hyphenation I always get the following error message:

[ERROR] Couldn't find hyphenation pattern de
[ERROR] Error building hyphenation tree for language de
java.io.InvalidClassException:
org.apache.fop.layout.hyphenation.HyphenationTree
; local class incompatible: stream classdesc serialVersionUID =
-778451683547287
1478, local class serialVersionUID = 6956085100635965297

There is obviously a problem within the serialization/deserialization
process.

Any further hints? 

With best regards 

Frank


-Ursprungliche Nachricht-
Von: J.Pietschmann [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 21:50
An: [EMAIL PROTECTED]
Betreff: Re: AW: FOP In Latest Cocoon Releases


Przybilla, Frank wrote:
 My problem occurs especially in conjunction with the generation of fop
 tables and hyphenation of long
 text in table-cells. The output produced with fop in cocoon is sometimes
 messing around the characters of a word.

Ah, the problem with parts of hyphenated word jumping around
is actually a FOP bug. Yes, it depends on the parser, more
specific, it depends on how the parser passes text up.
The bug is fixed in CVS (maintenance branch).

J.Pietschmann


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




AW: FOP In Latest Cocoon Releases

2002-09-30 Thread Skladovs, Victor

Hi Frank!

It seems I've got it going at last ...
What I've done:
1)I compiled and built Cocoon2.1-dev from the cvs directory.
2)Then I replaced xalan-2.3.1, xercesImpl-2.0.0 with those supplied with
Cocoon-2.0.1: xalan-2.0.0 and xerces1.4.4. And it works! My PDF are
good!
3) I replaced FOP too, but it is not necessary, I think. With 0.20.3 it
works too.

Maybe it helps...

Best wishes,
Viktor

-Ursprüngliche Nachricht-
Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 26. September 2002 09:46
An: '[EMAIL PROTECTED]'
Betreff: AW: FOP In Latest Cocoon Releases


Hi Viktor,

I have also made the same experiences with exchanging the 
version of Xalan and Xerces in cocoon-2.0{1,2,3}. It doesn't work.

As J. Pietschmann wrote it is a bug in fop which is fixed in 
FOP CVS, branch tag fop-0_20_2-maintain.

So we should try to replace fop.

Regards 

Frank


-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 26. September 2002 09:39
An: [EMAIL PROTECTED]
Betreff: AW: FOP In Latest Cocoon Releases


Hi Frank!

I think all we have to do is to replace xalan and maybe xerces jars in a
cocoon distribution.
I tried to do this. I replaced xalan-2.3.1 with xalan-2.0.0 in
Cocoon.2.0.3. It worked very unstable, I did it all back at the result,
but my pdf were fine!

The question is how could I replace xalan and xerces in cocoon? What
must I take into account so that the cocoon works stable?

Regards,
Viktor

-Ursprüngliche Nachricht-
Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 15:06
An: '[EMAIL PROTECTED]'
Betreff: AW: FOP In Latest Cocoon Releases


Hello to all cocoon users,

I also have big troubles with fop in cocoon-2.01,cocoon-2.02,
cocoon-2.03.

Everything is working fine with fop-0.20.3 as a standalone application
but integrated into cocoon there is sometimes a strange behavior.

My problem occurs especially in conjunction with the generation of fop
tables and hyphenation of long
text in table-cells. The output produced with fop in cocoon is sometimes
messing around the characters of a word.

What I have tested so far, is that there is a problem with
Xalan-2.2.0.jar,
Xerces-1.4.4.jar
which are used in these cocoon versions. When you run fop with these
jars
then you are faced
to the same problems in fop  as a stand alone application. So in fact
the
problem is not cocoon itself,
but the used versions of Xerces and Xalan.

Has anybody an idea where this comes from? Is there a way to solve these
problems?

Thanks and best regards.

Frank



-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 11:42
An: [EMAIL PROTECTED]
Betreff: FOP In Latest Cocoon Releases


Dear Friends!

I am working with Cocoon and producing my pdf files (mostly
tables) with fop integrated in it.
But I am forced to use a relatively old version of Cocoon
(Cocoon-2.0rc1), because ONLY with this release all my pdf tables are
being correctly shown .I mean columns and row headers etc.
When being generating with any of the following versions of cocoon
(2.0.1, 2.0.2, 2.0.3), very many of my tables are being shown
incorrectly (especially, column and row headers), although compiled
simply from command line with, say, fop-0.20.3, used in Cocoon-2.0.3,
they look
fine!
Then, on advice of a fop-users-list member, I've compiled my fo file
from the command line, BUT using all necessary jar file from the cocoon
and tomcat directory. The pdf's are good!
It seems like something else in cocoon must be preventing it's fop to
work correctly.

Has anybody already faced this problem? What does the correct work of
Cocoon-fop depend on? What could I do to make the latest Cocoon releases
to work correctly, as fop concerns?

Thanks for your help!
Regards,
Viktor


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq

AW: FOP In Latest Cocoon Releases

2002-09-30 Thread Przybilla, Frank

Hi Viktor!

Ok then there would another alternative for me. But the 
disadvantage is that you use Xalan 2.0.0. which is told 
to be little bit buggy. 

When I'm  not able to solve the problem with fop-0_20_2-maintain I 
will test your solution.

P.S: I eliminate the error with serialVersionUID. But now there is the 
follwing error message when I run fop built from fop-0_20_2-maintain:

[ERROR] Error building hyphenation tree for language de
java.lang.ClassCastException: cannot assign instance of java.util.Hashtable
to field org.apache.fop.layout.hyphenation.HyphenationTree.stoplist of type
java.util.HashMap in instance of
org.apache.fop.layout.hyphenation.HyphenationTree
at
java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass
.java:1840)
at
java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1062)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1851)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at
org.apache.fop.layout.hyphenation.Hyphenator.getFopHyphenationTree(Unknown
Source)
at
org.apache.fop.layout.hyphenation.Hyphenator.getHyphenationTree(Unknown
Source)
at org.apache.fop.layout.hyphenation.Hyphenator.hyphenate(Unknown
Source)
at org.apache.fop.layout.LineArea.doHyphenation(Unknown Source)



Thank you and best regards

Frank

-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 30. September 2002 17:00
An: [EMAIL PROTECTED]
Betreff: AW: FOP In Latest Cocoon Releases


Hi Frank!

It seems I've got it going at last ...
What I've done:
1)I compiled and built Cocoon2.1-dev from the cvs directory.
2)Then I replaced xalan-2.3.1, xercesImpl-2.0.0 with those supplied with
Cocoon-2.0.1: xalan-2.0.0 and xerces1.4.4. And it works! My PDF are
good!
3) I replaced FOP too, but it is not necessary, I think. With 0.20.3 it
works too.

Maybe it helps...

Best wishes,
Viktor

-Ursprüngliche Nachricht-
Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 26. September 2002 09:46
An: '[EMAIL PROTECTED]'
Betreff: AW: FOP In Latest Cocoon Releases


Hi Viktor,

I have also made the same experiences with exchanging the 
version of Xalan and Xerces in cocoon-2.0{1,2,3}. It doesn't work.

As J. Pietschmann wrote it is a bug in fop which is fixed in 
FOP CVS, branch tag fop-0_20_2-maintain.

So we should try to replace fop.

Regards 

Frank


-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 26. September 2002 09:39
An: [EMAIL PROTECTED]
Betreff: AW: FOP In Latest Cocoon Releases


Hi Frank!

I think all we have to do is to replace xalan and maybe xerces jars in a
cocoon distribution.
I tried to do this. I replaced xalan-2.3.1 with xalan-2.0.0 in
Cocoon.2.0.3. It worked very unstable, I did it all back at the result,
but my pdf were fine!

The question is how could I replace xalan and xerces in cocoon? What
must I take into account so that the cocoon works stable?

Regards,
Viktor

-Ursprüngliche Nachricht-
Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 15:06
An: '[EMAIL PROTECTED]'
Betreff: AW: FOP In Latest Cocoon Releases


Hello to all cocoon users,

I also have big troubles with fop in cocoon-2.01,cocoon-2.02,
cocoon-2.03.

Everything is working fine with fop-0.20.3 as a standalone application
but integrated into cocoon there is sometimes a strange behavior.

My problem occurs especially in conjunction with the generation of fop
tables and hyphenation of long
text in table-cells. The output produced with fop in cocoon is sometimes
messing around the characters of a word.

What I have tested so far, is that there is a problem with
Xalan-2.2.0.jar,
Xerces-1.4.4.jar
which are used in these cocoon versions. When you run fop with these
jars
then you are faced
to the same problems in fop  as a stand alone application. So in fact
the
problem is not cocoon itself,
but the used versions of Xerces and Xalan.

Has anybody an idea where this comes from? Is there a way to solve these
problems?

Thanks and best regards.

Frank



-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 11:42
An: [EMAIL PROTECTED]
Betreff: FOP In Latest Cocoon Releases


Dear Friends!

I am working with Cocoon and producing my pdf files (mostly
tables) with fop integrated in it.
But I am forced to use a relatively old version of Cocoon
(Cocoon-2.0rc1), because ONLY with this release all my pdf tables are
being correctly shown .I mean columns and row headers etc.
When being generating with any of the following versions

AW: FOP In Latest Cocoon Releases

2002-09-30 Thread Przybilla, Frank

Hi J.Pietschmann,

Thank you very much, I will try it out. In the meantime I fixed
it manually so that this fop version works now stand-alone.
But I have the problem that cocoon is not working with
this fop version ( and also not with fop-0.20.4). I always get the following
error during cocoon initialization:

The sitemap handler's sitemap is not available. Please check logs for the
exact error.

description org.apache.cocoon.ProcessingException: The sitemap handler's
sitemap is not available. Please check logs for the exact error.

When I check the logs I recognize that maybe the LogKit is the problem. I
have read that since fop-0.20.4
the LogKit is not used anymore. What must be changed that the newer fop
versions will run with cocoon
properly?

Thank you and with best regards

Frank

-Ursprungliche Nachricht-
Von: J.Pietschmann [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 30. September 2002 20:30
An: [EMAIL PROTECTED]
Betreff: Re: FOP In Latest Cocoon Releases


Przybilla, Frank wrote:
 P.S: I eliminate the error with serialVersionUID. But now there is the 
 follwing error message when I run fop built from fop-0_20_2-maintain:
 
 [ERROR] Error building hyphenation tree for language de
 java.lang.ClassCastException: cannot assign instance of
java.util.Hashtable
 to field org.apache.fop.layout.hyphenation.HyphenationTree.stoplist of
type
 java.util.HashMap in instance of

The problem is the buildtools.jar file, which is not properly
rebuilt automatically. You can try to build -f buildtools.xml,
then rebuild FOP.

J.Pietschmann


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: AW: FOP In Latest Cocoon Releases

2002-09-30 Thread J.Pietschmann

Przybilla, Frank wrote:
 But I have the problem that cocoon is not working with
 this fop version ( and also not with fop-0.20.4). I always get the following
 error during cocoon initialization:
...
 When I check the logs I recognize that maybe the LogKit is the problem. I
 have read that since fop-0.20.4
 the LogKit is not used anymore. What must be changed that the newer fop
 versions will run with cocoon
 properly?

Dunno, I had no problems at all. If LogKit is mentioned
in the log, I guess you have an old FOP jar hanging around
in the classpath which actually gets used instead of the
newer version.

J.Pietschmann



-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: AW: AW: FOP In Latest Cocoon Releases

2002-09-27 Thread J.Pietschmann

Skladovs, Victor wrote:
 What would you suggest in this situation?
 How could I improve the Cocoon work as pdf concerns?
 Updating fop.jar doesn't help.

First, get Xalan 2.4.0 and replace both the xalan.jar
from FOP as well as the jar deployed with Cocoon. Check
with the FOP command line application for problems.

If this doesn't help, and you can get a small XML+XSL
combo which reproduces the problem with the FOP command
line app, post it to fop-user.

J.Pietschmann


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: AW: FOP In Latest Cocoon Releases

2002-09-27 Thread Barbara Post

May 0.20.4 be buggy ? I have this in my WEB-INF\lib, guess I got it from
C...

Babs
--
website : www.babsfrance.fr.st
ICQ : 135868405
- Original Message -
From: J.Pietschmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 11:28 PM
Subject: Re: AW: FOP In Latest Cocoon Releases


 Vadim Gritsenko wrote:
  Can you clarify - is it Cocoon's, Xalan's, or FOP's CVS?

 FOP CVS, branch tag fop-0_20_2-maintain

  PS How can I better call you; J. sounds strange :)
   bg

 Joerg Pietschmann


 -
 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: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]





Etudiant: Wanadoo t'offre le Pack eXtense Haut Débit soit 150,92 euros d'économies !
Et pour 1 euro de plus, reçois le CD-ROM du jeu Dark Age of Camelot
+ 1 mois de jeu en réseau offert ! 
Clique ici : http://www.ifrance.com/_reloc/mail.etudiant 


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




AW: FOP In Latest Cocoon Releases

2002-09-26 Thread Skladovs, Victor

Hi Frank!

I think all we have to do is to replace xalan and maybe xerces jars in a
cocoon distribution.
I tried to do this. I replaced xalan-2.3.1 with xalan-2.0.0 in
Cocoon.2.0.3. It worked very unstable, I did it all back at the result,
but my pdf were fine!

The question is how could I replace xalan and xerces in cocoon? What
must I take into account so that the cocoon works stable?

Regards,
Viktor

-Ursprüngliche Nachricht-
Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 15:06
An: '[EMAIL PROTECTED]'
Betreff: AW: FOP In Latest Cocoon Releases


Hello to all cocoon users,

I also have big troubles with fop in cocoon-2.01,cocoon-2.02,
cocoon-2.03.

Everything is working fine with fop-0.20.3 as a standalone application
but integrated into cocoon there is sometimes a strange behavior.

My problem occurs especially in conjunction with the generation of fop
tables and hyphenation of long
text in table-cells. The output produced with fop in cocoon is sometimes
messing around the characters of a word.

What I have tested so far, is that there is a problem with
Xalan-2.2.0.jar,
Xerces-1.4.4.jar
which are used in these cocoon versions. When you run fop with these
jars
then you are faced
to the same problems in fop  as a stand alone application. So in fact
the
problem is not cocoon itself,
but the used versions of Xerces and Xalan.

Has anybody an idea where this comes from? Is there a way to solve these
problems?

Thanks and best regards.

Frank



-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 11:42
An: [EMAIL PROTECTED]
Betreff: FOP In Latest Cocoon Releases


Dear Friends!

I am working with Cocoon and producing my pdf files (mostly
tables) with fop integrated in it.
But I am forced to use a relatively old version of Cocoon
(Cocoon-2.0rc1), because ONLY with this release all my pdf tables are
being correctly shown .I mean columns and row headers etc.
When being generating with any of the following versions of cocoon
(2.0.1, 2.0.2, 2.0.3), very many of my tables are being shown
incorrectly (especially, column and row headers), although compiled
simply from command line with, say, fop-0.20.3, used in Cocoon-2.0.3,
they look
fine!
Then, on advice of a fop-users-list member, I've compiled my fo file
from the command line, BUT using all necessary jar file from the cocoon
and tomcat directory. The pdf's are good!
It seems like something else in cocoon must be preventing it's fop to
work correctly.

Has anybody already faced this problem? What does the correct work of
Cocoon-fop depend on? What could I do to make the latest Cocoon releases
to work correctly, as fop concerns?

Thanks for your help!
Regards,
Viktor


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




AW: FOP In Latest Cocoon Releases

2002-09-26 Thread Przybilla, Frank

Hi Viktor,

I have also made the same experiences with exchanging the 
version of Xalan and Xerces in cocoon-2.0{1,2,3}. It doesn't work.

As J. Pietschmann wrote it is a bug in fop which is fixed in 
FOP CVS, branch tag fop-0_20_2-maintain.

So we should try to replace fop.

Regards 

Frank


-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 26. September 2002 09:39
An: [EMAIL PROTECTED]
Betreff: AW: FOP In Latest Cocoon Releases


Hi Frank!

I think all we have to do is to replace xalan and maybe xerces jars in a
cocoon distribution.
I tried to do this. I replaced xalan-2.3.1 with xalan-2.0.0 in
Cocoon.2.0.3. It worked very unstable, I did it all back at the result,
but my pdf were fine!

The question is how could I replace xalan and xerces in cocoon? What
must I take into account so that the cocoon works stable?

Regards,
Viktor

-Ursprüngliche Nachricht-
Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 15:06
An: '[EMAIL PROTECTED]'
Betreff: AW: FOP In Latest Cocoon Releases


Hello to all cocoon users,

I also have big troubles with fop in cocoon-2.01,cocoon-2.02,
cocoon-2.03.

Everything is working fine with fop-0.20.3 as a standalone application
but integrated into cocoon there is sometimes a strange behavior.

My problem occurs especially in conjunction with the generation of fop
tables and hyphenation of long
text in table-cells. The output produced with fop in cocoon is sometimes
messing around the characters of a word.

What I have tested so far, is that there is a problem with
Xalan-2.2.0.jar,
Xerces-1.4.4.jar
which are used in these cocoon versions. When you run fop with these
jars
then you are faced
to the same problems in fop  as a stand alone application. So in fact
the
problem is not cocoon itself,
but the used versions of Xerces and Xalan.

Has anybody an idea where this comes from? Is there a way to solve these
problems?

Thanks and best regards.

Frank



-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 11:42
An: [EMAIL PROTECTED]
Betreff: FOP In Latest Cocoon Releases


Dear Friends!

I am working with Cocoon and producing my pdf files (mostly
tables) with fop integrated in it.
But I am forced to use a relatively old version of Cocoon
(Cocoon-2.0rc1), because ONLY with this release all my pdf tables are
being correctly shown .I mean columns and row headers etc.
When being generating with any of the following versions of cocoon
(2.0.1, 2.0.2, 2.0.3), very many of my tables are being shown
incorrectly (especially, column and row headers), although compiled
simply from command line with, say, fop-0.20.3, used in Cocoon-2.0.3,
they look
fine!
Then, on advice of a fop-users-list member, I've compiled my fo file
from the command line, BUT using all necessary jar file from the cocoon
and tomcat directory. The pdf's are good!
It seems like something else in cocoon must be preventing it's fop to
work correctly.

Has anybody already faced this problem? What does the correct work of
Cocoon-fop depend on? What could I do to make the latest Cocoon releases
to work correctly, as fop concerns?

Thanks for your help!
Regards,
Viktor


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




AW: FOP In Latest Cocoon Releases

2002-09-26 Thread Skladovs, Victor

Frank, I don't believe it is a fop bug!
I had been tested all the variants from the command line and I have
assessed that it is xalan bug!
The bug appears ONLY by transforming XML and XSL files.
While working only with, say, FO documents, everything's works fine, but
when I tried to transform my xml file with a xml2fo.xsl:
fop -xml table.xml -xsl xml2fo.xsl -pdf table.pdf

I've got a bad pdf!

Regards,
Viktor

-Ursprüngliche Nachricht-
Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 26. September 2002 09:46
An: '[EMAIL PROTECTED]'
Betreff: AW: FOP In Latest Cocoon Releases


Hi Viktor,

I have also made the same experiences with exchanging the 
version of Xalan and Xerces in cocoon-2.0{1,2,3}. It doesn't work.

As J. Pietschmann wrote it is a bug in fop which is fixed in 
FOP CVS, branch tag fop-0_20_2-maintain.

So we should try to replace fop.

Regards 

Frank


-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 26. September 2002 09:39
An: [EMAIL PROTECTED]
Betreff: AW: FOP In Latest Cocoon Releases


Hi Frank!

I think all we have to do is to replace xalan and maybe xerces jars in a
cocoon distribution.
I tried to do this. I replaced xalan-2.3.1 with xalan-2.0.0 in
Cocoon.2.0.3. It worked very unstable, I did it all back at the result,
but my pdf were fine!

The question is how could I replace xalan and xerces in cocoon? What
must I take into account so that the cocoon works stable?

Regards,
Viktor

-Ursprüngliche Nachricht-
Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 15:06
An: '[EMAIL PROTECTED]'
Betreff: AW: FOP In Latest Cocoon Releases


Hello to all cocoon users,

I also have big troubles with fop in cocoon-2.01,cocoon-2.02,
cocoon-2.03.

Everything is working fine with fop-0.20.3 as a standalone application
but integrated into cocoon there is sometimes a strange behavior.

My problem occurs especially in conjunction with the generation of fop
tables and hyphenation of long
text in table-cells. The output produced with fop in cocoon is sometimes
messing around the characters of a word.

What I have tested so far, is that there is a problem with
Xalan-2.2.0.jar,
Xerces-1.4.4.jar
which are used in these cocoon versions. When you run fop with these
jars
then you are faced
to the same problems in fop  as a stand alone application. So in fact
the
problem is not cocoon itself,
but the used versions of Xerces and Xalan.

Has anybody an idea where this comes from? Is there a way to solve these
problems?

Thanks and best regards.

Frank



-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 11:42
An: [EMAIL PROTECTED]
Betreff: FOP In Latest Cocoon Releases


Dear Friends!

I am working with Cocoon and producing my pdf files (mostly
tables) with fop integrated in it.
But I am forced to use a relatively old version of Cocoon
(Cocoon-2.0rc1), because ONLY with this release all my pdf tables are
being correctly shown .I mean columns and row headers etc.
When being generating with any of the following versions of cocoon
(2.0.1, 2.0.2, 2.0.3), very many of my tables are being shown
incorrectly (especially, column and row headers), although compiled
simply from command line with, say, fop-0.20.3, used in Cocoon-2.0.3,
they look
fine!
Then, on advice of a fop-users-list member, I've compiled my fo file
from the command line, BUT using all necessary jar file from the cocoon
and tomcat directory. The pdf's are good!
It seems like something else in cocoon must be preventing it's fop to
work correctly.

Has anybody already faced this problem? What does the correct work of
Cocoon-fop depend on? What could I do to make the latest Cocoon releases
to work correctly, as fop concerns?

Thanks for your help!
Regards,
Viktor


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org

Re: AW: FOP In Latest Cocoon Releases

2002-09-26 Thread J.Pietschmann

Skladovs, Victor wrote:
 The question is how could I replace xalan and xerces in cocoon? What
 must I take into account so that the cocoon works stable?

Xalan-2.0.0 has many small but very nasty bugs, don't
use it. Rather, upgrade the FOP jar.

J.Pietschmann


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: AW: FOP In Latest Cocoon Releases

2002-09-26 Thread J.Pietschmann

Skladovs, Victor wrote:
 Frank, I don't believe it is a fop bug!
 I had been tested all the variants from the command line and I have
 assessed that it is xalan bug!
 The bug appears ONLY by transforming XML and XSL files.
 While working only with, say, FO documents, everything's works fine, but
 when I tried to transform my xml file with a xml2fo.xsl:
 
fop -xml table.xml -xsl xml2fo.xsl -pdf table.pdf
 
 I've got a bad pdf!

Xalan 2.3.1 still has bugs, in particular it accepts buggy
style sheets. This is not exposed if the transformation
result is serialized but causes trouble if the result is
consumed via SAX events by something else, as it happens
in Cocoon and the FOP command above. Try *upgrading* to
Xalan  2.4, and you'll probably see an error message.

J.Pietschmann


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




AW: AW: FOP In Latest Cocoon Releases

2002-09-26 Thread Skladovs, Victor

Dear J.Pietschmann!

What would you suggest in this situation?
How could I improve the Cocoon work as pdf concerns?
Updating fop.jar doesn't help.

Regards,
Viktor

-Ursprungliche Nachricht-
Von: J.Pietschmann [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 26. September 2002 22:08
An: [EMAIL PROTECTED]
Betreff: Re: AW: FOP In Latest Cocoon Releases


Skladovs, Victor wrote:
 Frank, I don't believe it is a fop bug!
 I had been tested all the variants from the command line and I have
 assessed that it is xalan bug!
 The bug appears ONLY by transforming XML and XSL files.
 While working only with, say, FO documents, everything's works fine,
but
 when I tried to transform my xml file with a xml2fo.xsl:
 
fop -xml table.xml -xsl xml2fo.xsl -pdf table.pdf
 
 I've got a bad pdf!

Xalan 2.3.1 still has bugs, in particular it accepts buggy
style sheets. This is not exposed if the transformation
result is serialized but causes trouble if the result is
consumed via SAX events by something else, as it happens
in Cocoon and the FOP command above. Try *upgrading* to
Xalan  2.4, and you'll probably see an error message.

J.Pietschmann


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




AW: FOP In Latest Cocoon Releases

2002-09-25 Thread Skladovs, Victor

Hi!

I have found the reason at least. The reason is xalan-2.3.1, that is
included in the latest cocoon releases. With xalan-2.0.0 is everything
fine from the command line, but I haven't succedeed in replacing xalans
in cocoon. I've got either unstable work or error message. It looks like
it is impossible simply to replace one xalan with another.

How could it be done? Any ideas?

Regards,
Viktor

-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 11:42
An: [EMAIL PROTECTED]
Betreff: FOP In Latest Cocoon Releases


Dear Friends!

I am working with Cocoon and producing my pdf files (mostly
tables) with fop integrated in it.
But I am forced to use a relatively old version of Cocoon
(Cocoon-2.0rc1), because ONLY with this release all my pdf tables are
being correctly shown .I mean columns and row headers etc.
When being generating with any of the following versions of cocoon
(2.0.1, 2.0.2, 2.0.3), very many of my tables are being shown
incorrectly (especially, column and row headers), although compiled
simply from command line with, say, fop-0.20.3, used in Cocoon-2.0.3,
they look
fine!
Then, on advice of a fop-users-list member, I've compiled my fo file
from the command line, BUT using all necessary jar file from the cocoon
and tomcat directory. The pdf's are good!
It seems like something else in cocoon must be preventing it's fop to
work correctly.

Has anybody already faced this problem? What does the correct work of
Cocoon-fop depend on? What could I do to make the latest Cocoon releases
to work correctly, as fop concerns?

Thanks for your help!
Regards,
Viktor


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




AW: FOP In Latest Cocoon Releases

2002-09-25 Thread Przybilla, Frank

Hello to all cocoon users,

I also have big troubles with fop in cocoon-2.01,cocoon-2.02, cocoon-2.03.

Everything is working fine with fop-0.20.3 as a standalone application
but integrated into cocoon there is sometimes a strange behavior.

My problem occurs especially in conjunction with the generation of fop
tables and hyphenation of long
text in table-cells. The output produced with fop in cocoon is sometimes
messing around the characters of a word.

What I have tested so far, is that there is a problem with Xalan-2.2.0.jar,
Xerces-1.4.4.jar
which are used in these cocoon versions. When you run fop with these jars
then you are faced
to the same problems in fop  as a stand alone application. So in fact the
problem is not cocoon itself,
but the used versions of Xerces and Xalan.

Has anybody an idea where this comes from? Is there a way to solve these
problems?

Thanks and best regards.

Frank



-Ursprüngliche Nachricht-
Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. September 2002 11:42
An: [EMAIL PROTECTED]
Betreff: FOP In Latest Cocoon Releases


Dear Friends!

I am working with Cocoon and producing my pdf files (mostly
tables) with fop integrated in it.
But I am forced to use a relatively old version of Cocoon
(Cocoon-2.0rc1), because ONLY with this release all my pdf tables are
being correctly shown .I mean columns and row headers etc.
When being generating with any of the following versions of cocoon
(2.0.1, 2.0.2, 2.0.3), very many of my tables are being shown
incorrectly (especially, column and row headers), although compiled
simply from command line with, say, fop-0.20.3, used in Cocoon-2.0.3,
they look
fine!
Then, on advice of a fop-users-list member, I've compiled my fo file
from the command line, BUT using all necessary jar file from the cocoon
and tomcat directory. The pdf's are good!
It seems like something else in cocoon must be preventing it's fop to
work correctly.

Has anybody already faced this problem? What does the correct work of
Cocoon-fop depend on? What could I do to make the latest Cocoon releases
to work correctly, as fop concerns?

Thanks for your help!
Regards,
Viktor


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: AW: FOP In Latest Cocoon Releases

2002-09-25 Thread J.Pietschmann

Przybilla, Frank wrote:
 My problem occurs especially in conjunction with the generation of fop
 tables and hyphenation of long
 text in table-cells. The output produced with fop in cocoon is sometimes
 messing around the characters of a word.

Ah, the problem with parts of hyphenated word jumping around
is actually a FOP bug. Yes, it depends on the parser, more
specific, it depends on how the parser passes text up.
The bug is fixed in CVS (maintenance branch).

J.Pietschmann


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: AW: FOP In Latest Cocoon Releases

2002-09-25 Thread Vadim Gritsenko

J.Pietschmann wrote:

 Przybilla, Frank wrote:

 My problem occurs especially in conjunction with the generation of fop
 tables and hyphenation of long
 text in table-cells. The output produced with fop in cocoon is sometimes
 messing around the characters of a word.


 Ah, the problem with parts of hyphenated word jumping around
 is actually a FOP bug. Yes, it depends on the parser, more
 specific, it depends on how the parser passes text up.
 The bug is fixed in CVS (maintenance branch).


Can you clarify - is it Cocoon's, Xalan's, or FOP's CVS?


PS How can I better call you; J. sounds strange :)

Vadim


 J.Pietschmann



-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: AW: FOP In Latest Cocoon Releases

2002-09-25 Thread J.Pietschmann

Vadim Gritsenko wrote:
 Can you clarify - is it Cocoon's, Xalan's, or FOP's CVS?

FOP CVS, branch tag fop-0_20_2-maintain

 PS How can I better call you; J. sounds strange :)
  bg

Joerg Pietschmann


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]