REPEATED:HELP!!!: Pass parameters from applet to cocoon with POST and receive HTML Page back

2002-11-08 Thread Skladovs, Victor
Hi to all!

I sent this question with a help cry yesterday but nobody replied -:(((
Does the silence of the group mean that nobody has faced this problem so
far?

Anyway, I'll try one more time.

My goal is to pass the parameters from an applet to cocoon with POST
method and receive a HTML Page back. I haven't managed to get this so
far :-(

What I've done:
1)  In my applet:

URL url = new URL(http://myserver.de/cocoon/page.html;);
URLConnection connection = url.openConnection();
connection.setDoOutput(true);
connection.setRequestProperty(Content-Type,text/html);
PrintWriter out = new
PrintWriter(connection.getOutputStream());
out.print(user= + URLEncoder.encode(user) + );
out.print(password= + URLEncoder.encode(password));
out.close();

This is of course only a example: if it was only for these two
parameters, I would pass them with GET method:
applet.getAppletContext().showDocument(
http://myserver.de/cocoon/page.html?user=userpassword=password;);

It works perfect. But actually I'd like to pass to cocoon a vector with
parameters.

2)  In my sitemap.xmap :

map:match pattern=page.html
map:generate
src=docs/samples/xsp/page.xsp type=serverpages/
map:transform
src=stylesheets/xml2html.xsl
map:parameter
name=view-source value= docs/samples/xsp/page.xsp/
/map:transform
map:serialize/
/map:match


3)my page.xsp:

xsp:page language=java xmlns:xsp=http://apache.org/xsp;
xmlns:xsp-request=http://apache.org/xsp/request/2.0;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
page title=My HTML Page bgcolor=#C0
table
tr
td
p align=left

xsp-request:get-parameter name=user/
/p
p align=left

xsp-request:get-parameter name=password/
/p
/td
/tr
/table
/page
/xsp:page



4) Again in applet :

If I open BefferedReader (only to test), I can see that
cocoon has really done
his job - the HTML page exists, I can read it as a String in my
Java-Console , but I don't see it in my browser!!!

   BufferedReader in = new BufferedReader(new
InputStreamReader(connection.getInputStream()));
String line;
while((line = in.readLine()) != null){
System.out.println(line);
}
in.close();

QUESTION: What have I done wrong? What do I have to do to get my
HTML Page be seen in browser?

Thanks to all in advance!

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]




Problem: Pass parameters from applet to cocoon

2002-11-07 Thread Skladovs, Victor

Dear Friends!

I would be grateful if you help me to solve the following problem:
My goal is to pass the parameters from an applet to cocoon with POST
method and receive a HTML Page back. I haven't managed to get this so
far :-(

What I've done:
1)  In my applet:

URL url = new URL(http://myserver.de/cocoon/page.html;);
URLConnection connection = url.openConnection();
connection.setDoOutput(true);
connection.setRequestProperty(Content-Type,
text/html);
PrintWriter out = new
PrintWriter(connection.getOutputStream());
out.print(user= + URLEncoder.encode(user) + );
out.print(password= + URLEncoder.encode(password));
out.close();

This is of course only a example: if it was only for these two
parameters, I would pass them with GET method:
applet.getAppletContext().showDocument(
http://myserver.de/cocoon/page.html?user=userpassword=password;);

It works perfect. But actually I'd like to pass to cocoon a vector with
parameters.

2)  In my sitemap.xmap :

map:match pattern=page.html
map:generate
src=docs/samples/xsp/page.xsp type=serverpages/
map:transform
src=stylesheets/xml2html.xsl
map:parameter
name=view-source value= docs/samples/xsp/page.xsp/
/map:transform
map:serialize/
/map:match


3)my page.xsp:

xsp:page language=java xmlns:xsp=http://apache.org/xsp;
xmlns:xsp-request=http://apache.org/xsp/request/2.0;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
page title=My HTML Page bgcolor=#C0
table
tr
td
p align=left

xsp-request:get-parameter name=user/
/p
p align=left

xsp-request:get-parameter name=password/
/p
/td
/tr
/table
/page
/xsp:page



4) Again in applet :

If I open BefferedReader, I can see that cocoon has done
his job - the HTML page exists, I can read it as a String in my
Java-Console , but I don't see it in my browser!!!

   BufferedReader in = new BufferedReader(new
InputStreamReader(connection.getInputStream()));
String line;
while((line = in.readLine()) != null){
System.out.println(line);
}
in.close();

QUESTION: What have I done wrong? What do I have to do to get my
HTML Page be seen in browser?

Thanks to all in advance!

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]




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: 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-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 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

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]




FOP In Latest Cocoon Releases

2002-09-25 Thread Skladovs, Victor

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]




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]