Does that apply to all non-ASCII characters, or only to those you mention
(which are not part of Latin-1)?
Did you check that the font description to give to FOP have glyphs for these
specific codes?
HTH, Alfred.
-Original Message-
From: FunkyDisco
Hi Paul,
I don't think that it is a database issue.
It is rather the question where the application places the large amounts of
data and how it is cleaned up.
I interprete your statements that it is placed in the session object assuming
that the memory is freed at session timeout.
Java GC tuning is something of a black art.
The default settings are not suitable for a large servlet container, and they
also depend on the Java version.
I don't have experience with Java7 but with jdk1.6.0_24 (SPARC Solaris) we are
using:
-server -d64 -XX:CodeCacheMinimumFreeSpace=10M
JDK 1.6.0_25 introduced major code changes which apparently also contain a
number of regressions.
I'd recommend you to give the latest 1.6.0_29 a try.
If the problem persists there as well, then use 1.6.0_24.
HTH, Alfred.
From: Jagadeesh Kumar Bhavanasi [mailto:jagadeeshbhavan...@yahoo.com]
Hi Des,
Thanks for sharing this information.
Would you mind entering it into http://issues.apache.org/jira/browse/COCOON to
keep track of it?
Cheers, Alfred.
-Original Message-
From: Des Magner [mailto:d...@icandriveatractor.com]
Sent: Sonntag, 11. September 2011 13:16
To:
Hi Alan,
I don't have any explanation for your problem but a few hints to look at.
I would think that the transformer parameters are passed all right but that the
request-param input module resolves all parameters to the empty string.
Either the parameter map gets modified or the whole request
Hi Gary,
There are a number of missing links in your mail but I would guess that the NPE
is caused because in MLDocGenerator you have something like
try {
...
source = resolver.resolveURI(src);
}
catch(Exception ex) {
// ignore
}
}
public void recycle() {
Dear Cocooneers,
On the dev list we have been discussing whether to increase
the minimum Java version required for building and running
Cocoon3 (C3) from currently 1.5.0 (Java5) to 1.6.0 (Java6).
C3 is a green-field reimplementation of the Cocoon pipeline concept.
Thanks to the efforts of
Please open the issue under https://issues.apache.org/jira/browse/COCOON3 since
the COCOON project in JIRA is for C2 related issues.
Cheers, Alfred.
-Original Message-
From: Lars Huttar [mailto:language-maps_i...@sil.org]
Sent: Freitag, 5. August 2011 00:31
To: users@cocoon.apache.org
Cocoon provides XSP which is the same paradigm as JSP (content augmented
with Java code) but integrates better with XML pipelines.
HTH, Alfred.
From: Paritosh Patel [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 3. Oktober 2006 21:27
To: users@cocoon.apache.org
That's XSP trap #1. xsp:logic inside xsp:page generates code in
class scope rather than in method scope.
xsp:page
xsp:logic
Date adate = new Date();
/xsp:logic
page
xsp:logic
Date bdate = new Date();
/xsp:logic
adatexsp:expradate/xsp:expr/adate
You can use an XSP to extract the data from the Excel file and send it
as XML downstream to a stylesheet.
But beware by using XSP you disqualify youself as Cocoon guru :-)
Cheers, Alfred.
-Original Message-
From: Jeroen Reijn [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 6. September 2006
esql:get-xml column=foo/ should do it.
HTH, Alfred.
-Original Message-
From: Kamal Bhatt [mailto:[EMAIL PROTECTED]
Sent: Freitag, 25. August 2006 03:03
To: users@cocoon.apache.org
Subject: Getting XML out of an esql call
Hi
I would like to store XML (XHTML to be more precise) in a
You should convert the Java class to a Cocoon transformer.
The you build a simple xsp-generator | transformer pipeline
where the transformer replaces placeholder tags in the XSP
with the generated object using the SAX API.
If the logic is not too complicated, and since the markup details
are
You were looking at the Cocoon 1.x documentation which has little to do
with Cocoon 2.1.9.
The docs for Cocoon 2.1 XSP are at
http://cocoon.apache.org/2.1/userdocs/xsp.html.
HTH, Alfred.
-Original Message-
From: Ninh Quyen [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 16. August 2006 14:24
IIUC xspCurrentNode stems from the DOM-based pipelines of Cocoon 1.
Cocoon 2 uses SAX pipelines that the notion of a current node does not
apply anymore.
You are apparently trying to port a C1 XSP to C2. What is it supposed
to do?
Cheers, Alfred.
-Original Message-
From: Ninh Quyen
Sure, that all figures. You read from the database the character
sequence
'' '#' '2' '2' '0' ';'. The text serializer send these characters
verbatim
to the output. The XML serializer has to ensure that the output is
wellformed
XML and escapes the '' as amp;.
To solve your immediate problem you
You have to tweak your XSP that it produces the equivalent of
?xml version=1.0 encoding=UTF-8?
doc
text#220;bung/text
/doc
Any effort to use XSLT for unwinding the double escaped
amp;#220; == #220; == Ü
is futile.
You should look whether the text is already like this in the
I would guess that the difference between the laptop and the server is
a proxy the request is going through to reach the server.
Your are assuming that there is a double-decoding happening in order
to decode %252F first into %2F and then /. There is only a slim chance
that this is going to work
Your apparently have the (understandable) misconception that Perm space is used
for storing very long-living objects. That is not the case. Perm space is
used only for Class objects and other JVM internal metadata. You need to
increase the Perm space only if you really have a LOT of classes
I'm afraid that is not quite possible. esql:get-string/@column must be a
manifest column name or number.
The ESQL logicsheet assumes that you know what the data in your table means.
However, there is one tag which allows to output the metadata of a query.
esql:get-columns writes for each result
The util logicsheet is the place to look for:
xsp:page ... xmlns:util=http://apache.org/xsp/util/2.0;
Cell
util:include-expr expr=displayField.getDisplayType()/
/Cell
There are also similar functions for including XML documents from
files or URIs.
XSP is not going away. It has only
Damn it, the ESQL logicsheet escaped my renaming exercise. Our pre-release
testing really sucks...
Fix for 2.1.9-dev and trunk committed.
You can patch it relatively easy in a 2.1.8 source distribution. Edit
Your should make the changes in the source tree and run the build again.
Changes in the build tree will be wiped out with the next build run.
HTH, Alfred.
-Original Message-
From: George F. Crewe [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 22. November 2005 20:44
To:
You should get rid of the /../ and /./ in
file:/var/www/dynaprism/lib/exist/webapp/../../../webapp/./search/highlight.xsp.
It seems to confuse the package name generation once deducing it from the
verbatim path and from a canonical form.
If you look into the generated highligh_xsp.java file
Logicsheets are not defined in the sitemap but either
in cocoon.xconf or in the XSP itself.
To
start with, it is simpler to define it in the XSP. Put in
greeting3.xsp
xsp:logicsheet
location="logicsheet.greetings.xsl"/
before
xsp:page and remove the map:transform fromthe
At work we use that regularly although with an old 2.1 version.
With which version do you have this problem?
Cheers, Alfred.
-Original Message-
From: Berin Loritsch [mailto:[EMAIL PROTECTED]
Sent: Montag, 15. August 2005 17:47
To: users@cocoon.apache.org
Subject: XSP Issue
XSP is not
I see three possible causes for this behaviour:
1) The esql logicsheet is not applied (Cocoon problem).
2) The esql logicsheet is applied but does not transform the input (XSLT
problem).
3) The esql logicsheet is applied before sil.xsl.
If you define sil.xsl as builtin-logicsheet in
The
browserrequests the absoluteURL http://myserver/cocoon/xml/docA/gusto.css.
So you have to match
pattern="**/gusto.css".
HTH, Alfred.
-Original Message-From: Franco Andrao
[mailto:[EMAIL PROTECTED]Sent: Donnerstag, 21. Juli 2005
13:09To:
You are probably better off to write your own meta connection pool manager as a
layer between Cocoon and the actual connection pools.
Network problems usually mean that you connection will get stuck waiting for a
long timeout instead of returning an error immediately. In that case, you soon
You can for example use
http://cocoon.apache.org/2.1/userdocs/matchers/wildcarduri-matcher.html
to extract the page number from the request URI:
map:match pattern=page_*.html
map:generate .../
...
map:transform type=filter
map:parameter name=element-name value=row/
a simple 'oh yes that happens loads' type problem
then! Perhaps its to do with my logicsheets and their construction? Although
I thought you sere supposed to be able to use logicsheets within
logicsheets!?
-Original Message-
From: Nathaniel Alfred [mailto:[EMAIL PROTECTED]
Sent: 24 May 2005 21:59
Title: Message
Could be a manifestation of http://issues.apache.org/bugzilla/show_bug.cgi?id=32934.
Otherwise try torun yourJVM in "client"
mode. (We had asimilar weirdo behaviour with an earlier
JDK1.4version in "server" mode. Since then we are using "client"
mode also in
You must run the XSP file (which should rather be called greeting.xsp)
through the XSP generator:
map:generate type=serverpages src=greeting.xsp/
HTH, Alfred.
-Original Message-
From: n. [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 17. Mai 2005 14:44
To: users@cocoon.apache.org
Le 14 mai 05, à 00:11, Gregor J. Rothfuss a écrit :
...we use it in production and found it to be lots faster than xalan
(no surprise there). saxon8 is much stricter about XSL syntax than
xalan, so you may have to do some small modifications to your
stylesheets to comply, but saxon has
-Original Message-
From: Wojciech Biela [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 10. Mai 2005 13:57
To: users@cocoon.apache.org
Subject: is cocoon the right solution for my need (suggested answer:
YES, but why)
So finally the
-Original Message-
From: Leona Slepetis [mailto:[EMAIL PROTECTED]
Sent: Montag, 2. Mai 2005 20:18
To: users@cocoon.apache.org
Subject: storing result of esql:get-xml
Try the following:
I would like: (what is the type of myVar?)
...
String myVar;
esql:execute-query
esql:query
select
-Original Message-
From: Chris Maloney [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 27. April 2005 03:15
To: users@cocoon.apache.org
Subject: map:mount - ish question
I'm setting up a web site that consists of two main directories:
Main - contains my sitemap and all my main XML
-Original Message-
From: beyanet.com [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 27. April 2005 10:29
To: users@cocoon.apache.org
Subject: Re: xsp and lt; symbol problem
thanks for that information. i tried several serializers but when i
create output in the form
xsp:logic
-Original Message-
From: Volker Bublitz [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 27. April 2005 11:57
To: users@cocoon.apache.org
Subject: Re: xsp and lt; symbol problem
i decided to attach my current .xsp file since i can't get it
to work.
thanks for all your help.
String
-Original Message-
From: Chris Maloney [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 27. April 2005 17:36
To: users@cocoon.apache.org
Subject: Re: mount - ish question
Perhaps this should be in the documentation? How
could I try to get this added?
Input to the Cocoon Wiki will be
An XSP generates a stream of SAX events. The conversion to a character stream
is done by the serializer at the end of the pipeline.
I suppose you are using the XML serializer. Have a look at the HTML serializer
or, depending on your application, the text serializer.
HTH, Alfred.
Don't
try to fake tags. The beauty of XSP is that it guarantees wellformed
output (if there are no exceptions thrown).
Instead store the query result upfront in a List and
then use a double nested loop:
xsp:logic
for( int outer = 0; outer lt; idList.length(); outer += 4 )
XSP is the wrong tool here. Have a look at the SQL transformer.
That should allow you to make a pipeline:
1.) map:generate from XML input
2.) map:transform by stylesheet converting ENTRY to SQL transformer markup
3.) map:transform by SQL transformer
4.) map:serialize
Do you really want ot use
In http://issues.apache.org/bugzilla/show_bug.cgi?id=15316 there is an
unofficial patch implementing context-relative URLs.
HTH, Alfred.
-Original Message-
From: Murray Cassie [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 16. Februar 2005 23:03
To: cocoon
Subject: urgent fo:external-graphic
In the sitemap:
map:generate type=xsp src=foo.xsp
map:parameter name=ipaddr value=127.0.0.1/
/map:generate
In the XSP:
String ipaddr = parameters.getParameter(ipaddr);
HTH, Alfred.
-Original Message-
From: Barodawala, Ali [mailto:[EMAIL PROTECTED]
Sent: Montag, 14. Februar
Already in December we launched the all-Cocoon redesign of our SWX Swiss
Exchange main website http://www.swx.com.
Initially we had to fight some performance problems due to XSLT
transformation with interpreted Xalan taking around one second per page
(after profiling and optimizing the
The xsp-util logicsheet offers an include tag to insert an external
source of SAX events.
Never tried it myself, but it should also work to call it with in a
esql:row-results loop with dynamically generated src attributes.
HTH, Alfred.
Now I'd like to combine several of those individual XML
-Original Message-
From: WHIRLYCOTT [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 3. Juni 2004 21:34
To: [EMAIL PROTECTED]
Subject: question about debugging
I'm new to Cocoon and I'm working on modifying an existing Cocoon
application for a client. I'm finding that the process I'm
Use a
small stylesheet at the end of your current pipeline to transform the result set
rows into cinclude:include tags, and then add the CIncludeTransformer as next
pipeline step:
Transform rowuri//row == include
xmlns:http://apache.org/cocoon/include/1.0src=""/
map:match
COCOON : 2.1m3
JDK : 1.4.2_03
CONTAINER : Tomcat 4.1.26
PRO/CON 1.4 requirement for 2.2 : PRO
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If
I use this in actions:
import
org.apache.cocoon.environment.http:HttpResponse;
...
HttpResponse httpResponse =
(HttpResponse)ObjectModelHelper.getResponse(objectModel);
String
redirectURI = ...;
httpResponse.sendRedirect(redirectURI);
I
should also work in a generator but the pipeline will
For Java code inside XSPs you have to use Unicode escapes:
ç = \u00E7
See http://www.unicode.org/charts/PDF/U0080.pdf for other Latin-1
characters.
HTH, Alfred.
-Original Message-
From: Alexandre Victoor [mailto:[EMAIL PROTECTED]
Sent: Freitag, 5. Dezember 2003 09:39
To: [EMAIL
The handling of non-UTF-8 input encoding is flawed for XSPs.
Somewhere along the line from parsing the foo.xsp input,
applying the core-logicsheet xsp.xsl and writing the generated
code into foo_xsp.java, a codeset translation is missed or
done the wrong way around.
Accents in text nodes inside
You've got the startElement arguments completely wrong.
1. uri = Namespace
2. name = Tagname without prefix
3. raw = Prefix:Tagname
4. attr = Attributes
The second transformer step is currently sterile because it gets uri =
.
NB why not use configuration parameters to control the transformer's
I had similar problems with the global input module.
Somewhere in the guts of building non-trivial pipelines the
Avalon magic used to the global configuration gets lost.
I didn't manage to hunt down the exact reason or to construct
an example for a decent bug report.
In the end I am now using the
Does your sitemap really contain
map:generate src=foo/{../1}.xml /
or isn't it rather
map:generate src=cocoon:/foo/{../1}.xml /
The first case addresses a *file* relative to the directory
where the sitemap.xmap file is located.
The second case addresses a *pipeline* in the same
Try to put anywhere into your XSPs:
xsp:dependency/absolute/path/to/touchfile/xsp:dependency
Then you only need to touch that single file to force recompiling
all XSPs containing this dependency.
HTH, Alfred.
-Original Message-
From: Sonny Sukumar [mailto:[EMAIL PROTECTED]
Sent:
Try to use:
gvs-tag:value
esql:get-string
xsp:attribute
name=columnxsp:expralias/xsp:expr/xsp:attribute
/esql:get-string
/gvs-tag:value
I'm not sure that will work, as it is all a subtle question of the order
the
different logicsheets are applied.
As alternative thought, how
59 matches
Mail list logo