I removed cocoon's pipelines from main sitemap and added my own one, the
simplest one that worked well in 2.0.3 :
map:pipeline
map:match pattern=test
map:generate src=xml/mlForm.xml/
map:transform src=xsl/copy.xsl/
map:serialize type=xml/
/map:match
/map:pipeline
It
I have problem using xsl:strip space. It seems dosn't work with cocoon's xsl
transformer.
Example:
my xsp:
xsp:page ...
root
...
esql:connection
...
user
esql:row-results
name
esql:get-string column=name/
/name
Reading the docs
(http://xml.apache.org/cocoon/developing/webapps/session.html), it seems
that there is no r/w session context in 2.1 like sunRise context in 2.0.3
scratchpad ?
So I will have to create my own context to write to, right ? But when I
authenticate ok, are some information stored
Hi,
did you update to the latest CVS? There was a fix for build.xml which might
help you.
I build the latest cvs with:
build -Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true webapp
And the built webapp simply works for me.
In general such simple pipelines which worked in 2.0.3 work
-Original Message-
From: Barbara Post [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 9:20 AM
To: [EMAIL PROTECTED]
Subject: session context in 2.1 ?
Reading the docs
(http://xml.apache.org/cocoon/developing/webapps/session.html), it seems
that there is no r/w
Hi Paul, thank you very much for such a quick reply, I got the xsl ok, I
will see what I can do with it if I don't succeed in making 2.1 latest
version work...
Barbara
- Original Message -
From: Paul Pattison [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 03, 2002 11:26
Thanks a lot Carsten, and for the joke too. Do I have to post less ? :-p
Ok I will try to refrain, but I am late in my project and this stress me a
lot.
Thanks for the other help, I rebuilt it but still cannot access /samples.
Anyway my xmldb connection gives an empty file now...
What are
-Original Message-
From: Barbara Post [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 10:43 AM
To: [EMAIL PROTECTED]
Subject: c2.1 and xml:db [was :Re: session context in 2.1 ?]
Thanks a lot Carsten, and for the joke too. Do I have to post less ? :-p
Ok I will
I'm not that Xindice/Tamino expert, but does Tamino support the xmldb
interface?
I think no. You can access Tamino directly via the http protocol.
HTH
Carsten
Someone here (I work in Software AG France) has developped an API that
allows to use cocoon's xml db capabilities to use Tamino xml
Hello,
on the way to find an other way solving my problem, I think I found the
cause! If I call an other pipeline in the source of the default
generator and transform the out coming xml with the SessionTransform
cocoon throws a NullPointerException (see my first posting)!
Could somebody
Hi,
I just tested your pipeline example from below and with the latest CVS of
2.1 it works for me.
Can you post the XML file, you read in the second pipeline?
Carsten
-Original Message-
From: u15603 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 12:12 PM
To: [EMAIL
Here is the source of the xml file:
?xml version=1.0?
login xmlns:session=http://cocoon.apache.org/session/1.0;
table
tbody
tr
td
phallo/p
session:getxml context=authentication path=//
/td
Ok, I with your XML I can reproduce the error...I will have a look at it.
I suggest you to use the latest version because of the new xerces 2.1
which has less bugs in the dom handling code.
Carsten
-Original Message-
From: u15603 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September
In fact this is a big bug in the component handling in combination
with the use of the cocoon: protocol. This infects in some circumstances
the authentication and the portal framework.
I don't see currently a workaround for you until the bug is fixed - sorry.
Carsten
-Original
Thanks for your rapid answer! I'am looking forward to the solution of
this bug!
Dirk
In fact this is a big bug in the component handling in combination
with the use of the cocoon: protocol. This infects in some circumstances
the authentication and the portal framework.
I don't see currently
Thanks.
Werner
Vadim Gritsenko wrote:
Werner Guttmann wrote:
Vadim,
can you please explain the problem.
Nothing to explain, really. AFAIU, treeprocessor had some bug inheriting
components declared in the parent sitemap. Compiled engine never had
this bug. IIRC, this bug was fixed
Although developpers of 2.1 version took care of having a minimal main
sitemap, it is necessary to comment :
map:generator name=parentcm
src=org.apache.cocoon.samples.parentcm.Generator/ in it if you want to
build your own webapp using only the jars... or you need to have the
cocoon-samples jar.
Hi Peter,
May URLencoding the filename could help. Of course, your post-processing logic would
have to work with URLencoding, too. Just an idea.
Valentin Richter
Raytion GmbH
Kaiser-Friedrich-Ring 74
40547 Düsseldorf
Germany
Fon +49-211-550266-0
Fax +49-211-550266-19
http://www.raytion.com
I have fop-0.20.4.jar and fop-block.jar in my WEB-INF/lib (c2.1). The xsl:fo
stylesheet I created with fop 0.20rc4 (c2.0.3) doesn't work now. My xsl:fo
stylesheet is incorrect...
What are the changes between the 2 versions regarding fop ? Thanks.
Babs
Thanks, should have seen that myself. One other question, I was watching
another thread which was about getting values into the XMLForm model from
another pipeline. The result seemed to be to send in the parameter as
/itemID=23. Do you have to access this value in the action? If so, what
It works now.
Thank you!
Frank Borkowsky
-Ursprungliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 3. September 2002 20:56
An: [EMAIL PROTECTED]
Betreff: Re: Error in mounted sitemap (After update 2.0.2 - 2.0.3)
Werner Guttmann wrote:
Vadim,
can
Can it automatically create a folder on the HD (I define where I write in
source:source / tag) or does it only use existing folders ?
Thanks,
Barbar
-
Please check that your question has not already been answered in the
FAQ
Hi again,
here is my sitemap piece :
map:match pattern=writelicense
map:act type=request
map:parameter name=parameters value=true/
map:generate
src=cocoon://getlicense?serialNumber={../serialNumber}/
map:transform src=xsl/writeandkeep.xsl/
map:transform
I am using Cocoon 2.0.3 and Tomcat 4.0.4. I am able to configure the
sitemap.xmap to select a stylesheet based on the browser type using the
following:
?xml version=1.0?
map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0;
...
map:selectors default=browser
map:selector
Sorry, I didn't realize you were one of the developers.
I'll file a bug report at least, and see what I can do about checking out
2.1, but I don't have much time for this, either. Whatever changed,
changed between 2.0.2 and 2.0.3, which ought to help highlight the problem
code.
-Christopher
AFAIK and I understand the spec (http://www.w3.org/TR/xslt#strip)
xsl:strip-space applies only to whitespace-only text nodes. This means it
doesn't replace the normalize-space() function, but only removes empty
text nodes. So you will have to use normalize-space() or write the xsp-code
in one
Hello all,
I am getting the following exception when trying to do a xml/xsl
transformation. The XML and XSL are correct. Anyone know why else it
would be happening?
Thanks.
Manish
rg.xml.sax.SAXParseException: The root element is
required in a well-formed document.
at
your xml is not well formed..
Manish Shah wrote:
Hello all,
I am getting the following exception when trying to do a xml/xsl
transformation. The XML and XSL are correct. Anyone know why else it
would be happening?
Thanks.
Manish
rg.xml.sax.SAXParseException: The root element is
Title: Message
Hi,
I have a requirement to convert hundreds of unstructured documents in
WORD/PDF/TXT/EMAIL formats
into a structured repository of XML Metadata of the document and the
documents itself.
I need to parse each of these documents and extract the relevant
information to build
I installed Cocoon 2.1 successfully (at least I can
browse to http://localhost:8080/cocoon) and I am
trying to get the Howto Mailing List example working.
I've double checked all of my steps but I can't get it
to work. I'm using Tomcat 4.1.9 and Cocoon 2.1
(09/02).
I put all the .xml
Don't forget that the XML that is produced by the transformation also
has to be well-formed. It is possible that your source XML and XSL are
well-formed but the output XML isn't. Make sure that you don't produce
several root tags in the output and that you don't output plain
character data
Very simple but does not work
logicsheet :
?xml
version="1.0"?xsl:stylesheet
xmlns:xsp="http://apache.org/xsp"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"xmlns:qwiz="http://apache.org/query/arcwiz/2.0"version="1.0"xsl:template
match="xsp:page"xsl:copy xsl:apply-templates
Hey Ilya,
I posted my xml file. Let me post my XSL file. There are include in the
file, used as entities. Let me know if any/all of these should be posted
as well.
Also, is there a Cocoon log?
Manish
On Wed, 2002-09-04 at 13:44, Ilya A. Kriveshko wrote:
Don't forget that the XML that is
You're including the XSLs via entities? Why? It's really a very bad
approach!! There exist some things like xsl:include/ or xsl:import/.
Regards,
Joerg
Manish Shah wrote:
Hey Ilya,
I posted my xml file. Let me post my XSL file. There are include in the
file, used as entities. Let me know
The problem is that the entities are code snippets, not full xsl
documents. Is it possible to import just code snippets other ways? I'm
attaching an example of an include.
On Wed, 2002-09-04 at 13:55, Joerg Heinicke wrote:
You're including the XSLs via entities? Why? It's really a very bad
Sorry, that entity thing just went waaay over my head. I guess I'm the meat
and potatoes guy when it comes to XML. Is it possible that when you add up
all the entities together you end up with illformed XML?
Have you tried invoking XSL/T from the command line? That may give you a
better
Ah whoops..
I forgot to mention we're at Cocoon 1.x. Im looking into Cocoon 2.0,
but came across questions/problems... I may continue that route since I
found this list.
I tried from command line, and it was able to load it up fine.
What's a good stable version of Cocoon 2 to use? The
Barbara Post wrote:
I have fop-0.20.4.jar and fop-block.jar in my WEB-INF/lib (c2.1). The xsl:fo
stylesheet I created with fop 0.20rc4 (c2.0.3) doesn't work now. My xsl:fo
stylesheet is incorrect...
What are the changes between the 2 versions regarding fop ? Thanks.
I don't remember
I can't quite figure out what the right way is to use actions to handle
posting when there is an originating page, the form itself, a validator and
an action.
Scenario:
- The user has a page which displays a collection of items of some sort
(books).
+ page: books.xyz
- clicking 'new' on the
Hi Per -
If you were using the formval logicsheet and the FormValidatorAction,
you'd have something like this:
map:match pattern=newbook
map:act type=form-validator
map:parameter name=descriptor
value=context://newbook-def.xml/
map:parameter name=validate-set value=add/
On 04.Sep.2002 -- 02:57 PM, Lajos Moczar wrote:
The main gotcha here is the formval logicsheet is a bit clumsy to use,
as you have to make sure you not only display validation errors to the
user, but repopulate valid fields with the data the user already entered.
Lajos, in 2.0.4 (i.e. CVS
Lajos,
Wow. Very concise, thanks.
So, the tricks I missed were:
- nesting the validate action and the insert action, I had put them together
in an action-set instead. I actually knew better but that was dumb.
- [here's the kicker] the validator action gets called both when posting
_and_ when
Title: RE: [OT]: Any Cocoon developer in the Rome area ?
-Original Message-
From: Luca Morandini [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 6:01 PM
To: Cocoon-dev; Cocoon-users
Subject: [OT]: Any Cocoon developer in the Rome area ?
I recall some talks
Hi all!
Can someone tell me to whom we must report bugs in Cocoon 2.1-dev from
3/sep/02?
Also, how often we need to check the sources in the CVS?
Regards,
Antonio Gallardo
-
Please check that your question has not already
There is a section Procedure for Raising Development Issues in this text:
Contribution to Apache Cocoon
http://xml.apache.org/cocoon/contrib.html
Andreas
- Original Message -
From: Antonio Gallardo Rivera [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 05, 2002 1:20
45 matches
Mail list logo