Hi,
I've got the same problem using cocoon 2.1.4, the error message is:
WARN(2004-03-29) 21:15.17:343 [core.xslt-processor]
(/privado/login-form) Ajp13Processor[8009][4]/TraxE
; SystemID: file:/var/lib/tomcat4/webapps/privado/stylesheets/dins.xsl;
Line#: 160; Column#: 56
Hello,
How can I output a cdata section in an XSP ? I need the disable output
escaping feature of xslt.
-Original Message-
From: Albert Cervera Areny [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 10:05
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: cocoon protocol
Well, according to the documentation on cocoon.apache.org, Joerg is right. There are examples doing it without a dummy tag.
However, I'm pretty sure I stumbled into bugs when I didn't use them.
On 29 Mar 2004, at 20:29, Joerg Heinicke wrote:
On 29.03.2004 20:12, Antonio Gallardo wrote:
You
On 30.03.2004 11:00, [EMAIL PROTECTED] wrote:
Hello,
How can I output a cdata section in an XSP ? I need the disable output
escaping feature of xslt.
First, please do not response to mails from other threads when starting
new threads as this breaks thread view in thread-aware browsers.
thank you Mark and Jerry,
I solved my Problem by changing my shell to tcsh. /usr also didn't work
but then i opened a tcsh inside my bash typed
setenv JAVA_HOME /Library/Java/Home
and
./cocoon.sh servlet
... hurray it is running now.
But what is the Problem with my bash-environment? Why
from a form i get my data i want logically insert in my database so i
did the following , but nothing comes in my blog_news table
blog_addingnews
xsp:logic
String id_blog_user = request.getParameter(id_blog_user);
String id_blog_news = request.getParameter(id_blog_news);
String
I want to dynamically generate an xml catalogue for I18n using XSP. If my
translations contain certain characters like '' or '' my catalogue xml
file will not be valid unless I put every translation text in an CDATA
section.
-Original Message-
From: Joerg Heinicke [mailto:[EMAIL
thank you Mark and Jerry,
I solved my Problem by changing my shell to tcsh. /usr also didn't work
but then i opened a tcsh inside my bash typed
setenv JAVA_HOME /Library/Java/Home
and
./cocoon.sh servlet
... hurray it is running now.
But what is the Problem with my bash-environment?
Why
I use this in my /etc/profile file
PATH=/bin:/sbin:/usr/bin:/usr/sbin
PATH=$PATH:/Library/Ant/bin
PATH=$PATH:/Library/Postgresql/bin
export PATH
JAVA_HOME=/Library/Java/Home
JAVA_OPTIONS='-Dfile.encoding=iso-8859-1'
ANT_HOME=/Library/Ant
export JAVA_HOME
export ANT_HOME
export JAVA_OPTIONS
[
[EMAIL PROTECTED] wrote:
I want to dynamically generate an xml catalogue for I18n using XSP. If my
translations contain certain characters like '' or '' my catalogue xml
file will not be valid unless I put every translation text in an CDATA
section.
Joerg's point is that lt; and gt; will do as
jacques couzteau wrote:
Why wouldn't cocoon accept the value i set for JAVA_HOME in the bash?
It's a mystery to me.
Any ideas anyone?
Because you didn't export the variable.
Ugo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
On 04.03.2004 11:27, [EMAIL PROTECTED] wrote:
Hi,
Currently I am using an XSP generator, followed by the cocoon XSLT
Transformer, followed by the XML serializer. I need to set a header in
the response under certain conditions at the transformer stage. I cannot
do this from the generator
I am trying to build and install Cocoon 2.1.4 on Windows 2000 to run under
Tomcat 5.0.19. I am pretty sure that I have configured my environment
variables for ANT_HOME, CATALINA_HOME and JAVA_HOME correctly.
Unfortunately, I am running into problems with getting the build to progress
past the
export THANK_YOU=Ugo
I put did that in my .bashrc.
jacques
Am 30.03.2004 um 12:47 schrieb Ugo Cei:
jacques couzteau wrote:
Why wouldn't cocoon accept the value i set for JAVA_HOME in the bash?
It's a mystery to me.
Any ideas anyone?
Because you didn't export the variable.
Ugo
We're trying to migrate our existing application to cocoon. This application
supports multiple languages so we stored the text in a DB. However the text
in the DB can contain html tags like this is bbold/b for English
and celui-ci c'est bgras/b for French. Now we want to use i18n to
Hi,
glad to see that there are other cocoon OS X users here! I wonder
whether you OS X users could check something for me. On the main
'Welcome to Apache Cocoon!' page if you click the samples link, Hello
World link (under The Power of XML), JPEG link (under Blocks Hello
World!), could you
beyaNet Consultancy wrote:
Hi,
glad to see that there are other cocoon OS X users here! I wonder
whether you OS X users could check something for me. On the main
'Welcome to Apache Cocoon!' page if you click the samples link, Hello
World link (under The Power of XML), JPEG link (under Blocks
Hi Peter,
Did this test on Panther with both Safari and Firebird.
Both showed a new window with a JPEG in it.
Yves
On 30 Mar 2004, at 14:35, beyaNet Consultancy wrote:
Hi,
glad to see that there are other cocoon OS X users here! I wonder whether you OS X users could check something for me. On
In XSL you can solve this with output-escaping. Don't know whether it can be done with XSP.
Anyway, it doesn't matter that XSP is generating lt;boldgt; right ???
You only need the and > in your html.
On 30 Mar 2004, at 14:18, [EMAIL PROTECTED] wrote:
We're trying to migrate our existing
Title: Cocoon 2.1.2 - How to tell if Offline site generation fails
Hi,
We are currently using Cocoon 2.1.2 to generate a site which is in turn is copied to
our live server.
Current Configuration:
Server jakarta-tomcat-5.0.12 with Cocoon 2.1.2
Linux Server
Everyday a script is fired
Gustavo Nalle Fernandes wrote:
Thanks for the code! It is indeed very simple! That?s why I like Cocoon :)
Regarding the Last-Modified header, the getLastModified() do work for GET
request, but the GET request
also brings the whole document and not just the headers. That?s why I was
observing the
At static catalog files you don't need the CDATA
you can direct fill in
catalogue xml:lang=en
message key=testthis is bbold/b/message
/catalogue
then the bold is *bold*
at xsp with esql use
esql:get-xml column=text/
Is that what you are looking for?
Klaus
[EMAIL PROTECTED] wrote:
We're
The immediate problem I see is in how you are passing your String
parameters into the SQL statement. The strings you are passing in do not
end up in the SQL statement with quotes around them (unless the user is
entering them on the form!), so the database is probably getting syntax
errors,
Alex,
I just copied my cocoon directory in a Tomcat 5 installation.
The problem persists. So, it's not Jetty related either
BUT ...
looking into the stacktrace a bit better, i notice this
Original Exception: org.apache.avalon.framework.CascadingRuntimeException: Error getting ascii data
i've done those fixes, and i thantk you for this suggestion, but the
ESQL INSERT still does not insert anything in my blog_news table.
Christopher Painter-Wakefield a e'crit :
The immediate problem I see is in how you are passing your String
parameters into the SQL statement. The strings you
Are you not seeing any error messages coming through? I suspect the
problem is that you have a SQL error, and if you look, you'll find it. You
should have gotten a SQL error previously. What output are you seeing in
your blog_addingnews element?
|-+
|
Title: Message
I am
working on a generator that gets a CLOB out of the database via a stored
procedure.All the examples of custom generators use the SAX
content
handler to build the document. I won't need to do any of that, I
just need to be able to use the XML that comes straight from the
Christopher Painter-Wakefield a e'crit :
Are you not seeing any error messages coming through? I suspect the
problem is that you have a SQL error, and if you look, you'll find it. You
should have gotten a SQL error previously. What output are you seeing in
your blog_addingnews element?
i'm executing an Insert SQL statement using a custom xsp action
is it possible to get the new id number (auto increment) inside the action
or inside the my pipeline's match?
any idea ?
--stavros
-
To unsubscribe, e-mail:
1. Check your logs, perhaps the error message in one of them. You might
also try removing your esql:error-results element; perhaps it is masking
an exception that you'd otherwise see.
2. Make sure your pool, xsp, and esql setup is correct; can you do a simple
SELECT query successfully in
What database ?
I generally do this by using a function in postgresql.
You execute the function and in the function you get the new id.
That ID is returned as value (and 0 for failure)
Same for MS Sql. You can use a stored procedure there.
That's kind of the same as a postgresql function
On
oh sorry
i use msAccess throgh ODBC
-- stavro
On Tue, 30 Mar 2004, Yves Vindevogel wrote:
What database ?
I generally do this by using a function in postgresql.
You execute the function and in the function you get the new id.
That ID is returned as value (and 0 for failure)
Same for
Not possible in one shot IMHO
You'll need to do the Insert and in the same page, run a second query to get the Max(id).
If you're afraid of getting the wrong one (because somebody is doing the same thing on the same table), use a where clause (like adding the name of the company you just
On 30.03.2004 16:27, Klaus Bertram wrote:
At static catalog files you don't need the CDATA
you can direct fill in
catalogue xml:lang=en
message key=testthis is bbold/b/message
/catalogue
then the bold is *bold*
at xsp with esql use
esql:get-xml column=text/
Though I have never used esql I
yves
thnx for your answer
i'm using eslq to make queries and it was unable to run a select max(id)
.. querie...
is it possible to write java code to make my queries. if yes how can i get
access to connection pool configured in xconf?
thnx
--stavros
On Tue, 30 Mar 2004, Yves Vindevogel
Hi,
I've got Tomcat 5 (latest release) running. When I drop the cocoon.war file in it, it is unpacked.
I use the .war from cocoon 2.0
When I try to fire up cocoon by typing myserver:8080/cocoon, it does nothing but Tomcat says the resource is unavailable
Do I need to do something else ?
Met
Why are you unable to make a select max(myfield) from mytable query ?
I don't understand the problem. Please explain.
On 30 Mar 2004, at 19:26, [EMAIL PROTECTED] wrote:
yves
thnx for your answer
i'm using eslq to make queries and it was unable to run a select max(id)
.. querie...
is it
i dont know but this code make cocoon give to answer
esql:connection
esql:poolhotpoints/esql:pool
esql:execute-query
esql:queryselect max(id_Elements) from tblElements /esql:query
esql:results
elements
Did this again, not working.
Waited 5 minutes now.
With no traffic on this thing. I'm using my portable as test environment.
On 30 Mar 2004, at 19:41, Schultz, Gary - COMM wrote:
Depending on the server environment, it may take several minutes for the war
file to completely unpack. I have
Ach, short code ...
short answer then
select * from table1 where table1.Id in (select max(id) from table1)
Gives you the record with the highest ID
Including all the columns and even the ID you just inserted
On 30 Mar 2004, at 19:59, [EMAIL PROTECTED] wrote:
i dont know but this code make
On Mar 29, 2004, at 2:03 PM, Joerg Heinicke wrote:
On 29.03.2004 23:43, Antonio Gallardo wrote:
Please wikify it! ;-)
Done in the most simple way:
Indeed... that is simple! :-)
There's quite an eco-system there, with the Cocoon docs, the Wiki, Bugzilla and the list archives all referencing
Joerg Heinicke wrote:
On 30.03.2004 16:27, Klaus Bertram wrote:
At static catalog files you don't need the CDATA
you can direct fill in
catalogue xml:lang=en
message key=testthis is bbold/b/message
/catalogue
then the bold is *bold*
at xsp with esql use
esql:get-xml column=text/
Though I
Hi,
Users of Internet Explorer experiences a strange error using my webapp.
Sometimes it works, and sometimes the IE says (a translation from Polish):
It isn't possible to find server or an error of DNS in Internet Explorer.
What is even more confusing, the Mozilla doesn't seem to have such
Jeff Conrad wrote:
Your problem looks similar to an issue I brought up
but was not addressed by anyone. It seems that the
XSP compiler was not able to handle typecasting
String s = (String) x;
Was failing.
What? Please point me to that thread.
This is more than just unlikely.
cheers
--
Torsten
We are working with the cocoon portal and cform. We have a form, designed
with woody which is managed in a flowscript.
The values keyed-in by the user, in the form, must be used in another coplet
of the portal (in order to launch a query linked to those values).
Thus, we want to put the values of
Hi,
I have the following setting in my cocoon application:
User fills in a form and submits it. Then an email will be created and sent
to the user. Additionally the user gets a confirmation message in his
browser.
I use woody, flow and jxtemplate for this approach. After submitting a form
a
On Mar 30, 2004, at 10:42 AM, Marcin Okraszewski wrote:
Hi,
Users of Internet Explorer experiences a strange error using my
webapp. Sometimes it works, and sometimes the IE says (a translation
from Polish):
It isn't possible to find server or an error of DNS in Internet
Explorer.
What is
Mark Lundquist wrote:
On Mar 30, 2004, at 10:42 AM, Marcin Okraszewski wrote:
Hi,
Users of Internet Explorer experiences a strange error using my
webapp. Sometimes it works, and sometimes the IE says (a translation
from Polish):
It isn't possible to find server or an error of DNS in Internet
Unfortunately, I can confirm that this does appear to be related to IE,
POST, and SSL. I have quite a bit of experience observing this problem
in an application totally unrelated to Cocoon. In that case, it's on
Netscape Enterprise Server - not sure where the SSL support comes from
if it's
Il giorno 30/mar/04, alle 20:18, Boris Sachsenberg ha scritto:
I use woody, flow and jxtemplate for this approach. After submitting a
form
a java class is called from the flow javascript. In this class I plan
to
send the email with java mail. I plan to send html mail and produce
the html
to be
Hi,
I have a problem with running Cocoon 2.1.5-dev. If I install it in
/cocoon directory it works fine :-) But then, if I try to install it as
an default application (I simply rename the dir from cocoon to ROOT), I
get the error cited below.
Am I doing something wrong?
Regards,
Marcin
Don't use auto-increment in an insert where you care about having the
identity of the inserted value. A better solution, most of the time, is
to use a named sequence and select values off of it, then populate the
id field yourself:
In postgresql:
select nextval('MySequence'),
On Mar 30, 2004, at 11:54 AM, Geoff Howard wrote:
Unfortunately, I can confirm that this does appear to be related to
IE, POST, and SSL. I have quite a bit of experience observing this
problem in an application totally unrelated to Cocoon. In that case,
it's on Netscape Enterprise Server -
On Mar 30, 2004, at 12:08 PM, Marcin Okraszewski wrote:
Unfortunately, I can confirm that this does appear to be related to
IE, POST, and SSL. I have quite a bit of experience observing this
problem in an application totally unrelated to Cocoon. In that case,
it's on Netscape Enterprise
On Mar 30, 2004, at 10:18 AM, Boris Sachsenberg wrote:
Hi,
I have the following setting in my cocoon application:
User fills in a form and submits it. Then an email will be created and
sent
to the user. Additionally the user gets a confirmation message in his
browser.
Interesting, I have a
On Mar 30, 2004, at 12:14 PM, Ugo Cei wrote:
Il giorno 30/mar/04, alle 20:18, Boris Sachsenberg ha scritto:
I use woody, flow and jxtemplate for this approach. After submitting
a form
a java class is called from the flow javascript. In this class I plan
to
send the email with java mail. I plan
I agree with Brian, but it M$ Access. No decent thing there like a sequence.
You have to use autonumbers
On 30 Mar 2004, at 22:29, Brian McCallister wrote:
Don't use auto-increment in an insert where you care about having the identity of the inserted value. A better solution, most of the time,
Pfff, this is getting so frustrating.
I now recompiled my Postgresql, to make sure my initdb had the right encoding (latin1)
One simple XSP page, my output still looks like this
xml>
-
table>
-
tr>
td>Yves/td>
/tr>
-
tr>
td>éèà ç/td>
/tr>
/table>
/xml>
Can anyone please tell me whether
Title: Message
Cocoon
passes SAX event's between pipeline elements (because its far more efficient
than parsing and serializing to XML text at each transformation), so your
generator must use a SAX parser to generate SAX events from the XML text stored
in your CLOB. I guess the
I just tried the cocoon-mag servlet from steve puntes article on
publishing an online-mag with cocoon. but i had no success. These are
my first steps with cocoon, so i might be missing something.
The article is here:
http://www.xml.com/pub/a/2003/04/23/cocoon-magazine.html
The servlet is here:
On 31.03.2004 00:29, jacques couzteau wrote:
I just tried the cocoon-mag servlet from steve puntes article on
publishing an online-mag with cocoon. but i had no success. These are my
first steps with cocoon, so i might be missing something.
There is no need to download the WAR from that place
On 30.03.2004 20:32, Mark Lundquist wrote:
Please wikify it! ;-)
Done in the most simple way:
Indeed... that is simple! :-)
There's quite an eco-system there, with the Cocoon docs, the Wiki,
Bugzilla and the list archives all referencing each other. Took a
little getting used to, but... it
On 30.03.2004 15:24, L.Austin wrote:
We are currently using Cocoon 2.1.2 to generate a site which is in turn
is copied to
our live server.
Current Configuration:
Server jakarta-tomcat-5.0.12 with Cocoon 2.1.2
Linux Server
Everyday a script is fired off calling our cocoon build. Then when the
Ok, now I installed SQL4J on OSX. The same problem occurs there.
So it's not a Cocoon specific error.
How can I test if it's my JVM or my DB that is wrong ?
For the DB part: I tried to connect through ms Access and everything is okay.
For the JVM part: I have it on both Linux as OSX.
On 30 Mar
thank you for your quick reply.
Am 31.03.2004 um 00:40 schrieb Joerg Heinicke:
On 31.03.2004 00:29, jacques couzteau wrote:
I just tried the cocoon-mag servlet from steve puntes article on publishing an online-mag with cocoon. but i had no success. These are my first steps with cocoon, so i
On 30.03.2004 12:56, Geoff wrote:
I am trying to build and install Cocoon 2.1.4 on Windows 2000 to run under
Tomcat 5.0.19. I am pretty sure that I have configured my environment
variables for ANT_HOME, CATALINA_HOME and JAVA_HOME correctly.
AFAIK only JAVA_HOME is needed.
Unfortunately, I am
On 31.03.2004 01:04, Jochen Hagenström wrote:
I just tried the cocoon-mag servlet from steve puntes article on
publishing an online-mag with cocoon. but i had no success. These are
my first steps with cocoon, so i might be missing something.
There is no need to download the WAR from that
Joerg,
Thanks for the thorough response. Your explanation of the srcdir attribute
certainly helps clarify my misdiagnosis of the problem. Funnily enough,
your comments also suggested that the problem actually is driven by the fact
that I had my cocoon base directory too deep within the
On 04.03.2004 20:05, Oleg Dulin wrote:
Is it possible to use a compile XSP action class? I.e. I want to first
precompile my XSP actions and then use the as if they were normal
actions written in Java ?
Yes, should be possible. They probably lie in the work directory of your
servlet conatiner.
On 04.03.2004 20:11, Oleg Dulin wrote:
Colleagues:
How can I tell Cocoon which directory to use for XSP compilation ? I saw
something about it in cocoon.xconf but I can't find a parameter...
web.xml:
This parameter allows to specify where Cocoon should put it's
working files. The path
Here is the link that I had, I could not typecase to
HTTPURLConnection. I was able to get the same
(unencoded) java to work in JSP however:
http://article.gmane.org/gmane.text.xml.cocoon.user/33489
Thanks for the pointer, Jeff
Not sure if you will like it ...but all that
was missing was the root
On 02.03.2004 20:04, Stefan Geelen wrote:
Hi,
I build a webpage with default charset=ISO-8859-1 encoding.
I need to include another .xml file built in utf-16 encoding:
xi:include href=Example_box.mill parse=text encoding=UTF-16
xi:fallback
pExample
On 08.03.2004 02:11, beyaNet Consultancy wrote:
Hi,
I am having a strange problem defining the declare attribute of the
OBJECT tag. My code is so:
xsl:template match=artistDetails:currentTrack
xsp:element name=object
xsp:attribute name=datamusic/Borderline.mp3/xsp:attribute
On 08.03.2004 09:29, reza x wrote:
hi all
I am using cocoon only for generating html,excel,pdf reports.
generating html = HTMLSerializer = Cocoon core
excel = XLSSerializer = POI block
pdf = FOPSerializer = FOP block
Joerg
Many thanks for this inspiration, it helped me a lot, even though I
dismissed it meanwhile. Your approach solved all those problems
concerning unwanted submissions, and it was simple enough, so I was
very content with it, first, however, watching it working a while, I
noticed some
Hi Jeff,
i use type casting and had no problems.
but I use
String s = (String)x;
without a blank before x.
When i remeber right i had a compiler error with the blank in.
Klaus
Torsten Curdt wrote:
Jeff Conrad wrote:
Your problem looks similar to an issue I brought up
but was not addressed by
76 matches
Mail list logo