See the FragmentExtractor system.
http://cocoon.apache.org/2.1/userdocs/transformers/extractor-transformer.htm
l
http://cocoon.apache.org/2.1/userdocs/generators/extractor-generator.html
You could just break your pipeline into 3 pipelines, and use the "cocoon"
protocol to link them together into a
hi people
i try to create an index for the folowing site using lucene
http://athena.osmosis.gr:8080/cocoon/forestland.gr/About?locale=en
(i fill with this the base url in lucenes input box)
but when i ask for statistics i see 0 pages
i dont have .html in my URI's
is something extra i have to
I guess so :-) I didn't tested it, but otherwise it's a bug. Maybe
Carsten can tell something about it - he is the implementer??
Joerg
Ed Yavno wrote:
Thanks Joerg, does it mean that
will actually work with 2.05? Now (with 2.03), these statements are
completely ignored and no transformation happe
Assuming a pipeline as in the example
below:
...
...
...
...
Is there a straightforward way to implement some sort of "On Error"
clause in the pipeline above, so that if there is any
specific con
Is already added in CVS:
http://cvs.apache.org/viewcvs.cgi/*checkout*/cocoon-2.1/src/documentation/xdocs/link/livesites.xml?rev=1.7
Will be online after next website update.
Joerg
Gabriele Matteelli wrote:
The URL is:
http://istruzione.provincia.lucca.it
The URL is:
http://istruzione.provincia.lucca.it
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I've only read about 3 sentences but look into the caching point pipeline
in 2.1
Geoff
At 12:52 PM 6/18/2003, you wrote:
hi,
i'm evaluating cocoon to see if it suits our needs. i've used fop
extensively before. and i know just enough of cocoon to be dangerous.
this is kinda long but i put a lot of
> -Original Message-
> From: Anoop Aryal [mailto:[EMAIL PROTECTED]
>
...
> Wishful/hopeful thinking:
> -
> something like this would be optimal:
>
> Generators:A B C
>| | |
>
I'm not sure there's a way around that one. I hide select boxes when a
div needs to go over it using style.display=none or maybe
style.visibility=hidden.
Geoff
At 10:38 AM 6/18/2003, you wrote:
I know this is not the place to ask DHTML Questions but maybe somebody
knows where I can get some infor
I believe a File object can be converted to a URL, look at the
toURL() method.
--- "Carmona Perez, David" <[EMAIL PROTECTED]> wrote:
> Why don't you use a java.io.StringBufferInputStream?
>
>
> David
>
> -Mensaje original-
> De: Brian Delahunty [mailto:[EMAIL PROTECTED]
> En
Carmona Perez, David wrote:
But I wonder why some files are processed ok and others don't, or why can I
do it from the command line.
Those without SVG (inline or external images) should be ok.
J.Pietschmann
-
To unsubscribe, e-ma
hi,
i'm evaluating cocoon to see if it suits our needs. i've used fop
extensively before. and i know just enough of cocoon to be dangerous.
this is kinda long but i put a lot of time in drawing in ascii to make
it clearer; hopefully ;)
the problem:
-
in keeping with the SOC, i have th
On Wed, 2003-06-18 at 11:00, Carmona Perez, David wrote:
> Thanks,
>
> Maybe this is the cause, as my Unix system has no X windows.
>
> But I wonder why some files are processed ok and others don't, or why can I do it
> from the command line.
>
i'm not sure if you're running into the same prob
hi,
anybody who's got a decent setup with emacs as far as editing modes and
validation for XSPs, and sitemap etc? any ideas?
i've even tried validating against the sitemap schema from
http://outerthought.net/sitemap/ but i'm getting errors. considered
converting to a dtd and using nsgmls from with
"Brian Delahunty" <[EMAIL PROTECTED]> writes:
> Hey,
>
>
>
> I have a String that contains an XML file [not a URL/URI that points to an XML
> file but the actual XML itself].
>
>
>
> I'm tying to use this string in a custom generator to produce sa exents. I'm
> using this code so far:
>
>
Thanks,
Maybe this is the cause, as my Unix system has no X windows.
But I wonder why some files are processed ok and others don't, or why can I do it from
the command line.
David
-Mensaje original-
De: John R. Callahan [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 18 de j
Why don’t you use a java.io.StringBufferInputStream?
David
-Mensaje
original-
De: Brian Delahunty
[mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 18 de junio
de 2003 17:11
Para: [EMAIL PROTECTED]
Asunto: XML Parsing + SAX
Hey,
I have a String that conta
I forgot to mention, that the one big difference between Unix and Windows, is that for
Windows I use Java 1.4.1 (because it has hot code replacement) and in SCO Unix Java
1.3.1_06.
Another difference I have found, is that I receive FOP logging activity under Windows
(log categories sitemap.seri
Title: RE: Cocoon for CD-Rom based applications?
Unfortunately for my purposes, I really don't think using Linux, even running
from a CD, would "fly" with the Banks. Also, they probably would not like
software that requires a reboot, as many of these programs are more "utilities" and
need t
Description:org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the
datasource java.sql.SQLException: No suitable driver
I've had this problem many times: you need an X windows
display (the DISPLAY environment variable) set to a viable
display (like localhost:0.0) first OR use the headless Java
stuff in JDK 1.4 (see the Cocoon install notes or Wiki).
-- jack
John R. Callahan, Ph.D.
CTO
[EMAIL PROTECTED]
Sphere Soft
Title: RE: Cocoon for CD-Rom based applications?
Hi Stavros,
Thanks for your response,
>> I used JDK, Jetty and Cocoon some time ago on CD. Works perfectly. You can also use
>> HypersonicSQL as SQL-DB, it has a read-only mode.
>>
I haven't looked at HypersonicSQL - yet - but I did spend a
Title: RE: Cocoon for CD-Rom based applications?
Bertand wrote:
>> Actually you don't need to "install" anything (in the sense of messing
>> with Registry settings under Windows for example) to run Cocoon, simply
>> copying the directories that contain the JDK, Cocoon and the servlet
>> engine
Yes, this sounds reasonable!
May be I try a combination of multiple sub-sitemaps and different
tomcat-instances, in order to keep memoryusage small and to have a complete
separation between some applications
Thanks
Boris
- Original Message -
From:
Alexander Schatten
Thank you, i am looking forward!
boris
- Original Message -
From:
Stavros Kounis
To: [EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 12:37
AM
Subject: Re: multiple cocoons in
tomcat
On Tue, 17 Jun 2003, Boris Althaus wrote:> Hello
Stavros,>> I thought
Hi!
try this:
XMLReader parser =
XMLReaderFactory.createXMLReader(org.apache.xerces.parsers.SAXParser);
ContentHandler c1 = new ContentHandler();
ErrorHandler e1 = new ErrorHandler();
parser.setContentHandler(c1);
p
Wrong list. Send such mails to cocoon-users and/or cocoon-dev.
Cocoon 1.7.4 is obsolete.
Andreas
- Original Message -
From: "Samuel Kock" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 18, 2003 1:04 PM
Subject: Cocoon and other servlets?
> Hi there
>
> Is there a w
Hey,
I have a String that contains an
XML file [not a URL/URI that points to an XML file but the actual XML
itself].
I'm tying to use this string in a
custom generator to produce sa exents. I'm using this code so far:
XMLReader xmlr =
XMLReaderFactory.createXMLReader();xmlr.setContentHan
Hi all,
I have a strange problem. Under Windows, everything works ok, the FOP serializer
creates a PDF file.
But under Unix, some files are converted ok and some aren't.
The FOP xml file created by the pipeline is the same. I've tried to convert it to pdf
by invoking directly FOP through a co
I know this is not the place to ask DHTML Questions but maybe somebody
knows where I can get some information. I am having an issue with a div
panel being blocked by a combo box. Any help would be greatly
appreciated. I guess this does have something to do with cocoon since
the page is being gen
Thank you, David!
It's a good idea.
The problem is that i can't get a cannection with thw data base. Something with my configuration or driver is not proper.
Galia
"Carmona Perez, David" <[EMAIL PROTECTED]> wrote:
I have successfully used Cocoon with Informix, but I use other met
Thanks Joerg,
does it mean that will actually work with 2.05?
Now (with 2.03), these statements are completely ignored and no transformation happens
at all (that's without DefaultIncludeCacheManager/IncludeCacheManager component
specified in cocoon.xconf).
- Ed Y.
> -Original Message-
Maybe a case error :
instead of
- Original Message -
From: "Lionel Crine" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 18, 2003 3:17 PM
Subject: RE: ComponentSelector could not find the component for hint [XML] ?
> Sorry, I told you crap.
> In fact you use a compo
Sorry, I told you crap.
In fact you use a component that is not defined in the sitemap.xmap
Sorry again.
Here is how i call the sunrise components :
http://apache.org/cocoon/sitemap/1.0";
xmlns:sunshine="http://sunshine.sundn
yes i thnik that i included all class that i need
this error comes from the sunRise component use
when i try to call a protected page, the component calls the error page and in the
sitemap.log i have this error :
RROR (2003-06-18) 13:48.08:461 [sitemap] (/cocoon-dev/foo-login)
tcpConn
how is it possible ? and how can i wait the recompilation ?
-Original Message-
From: Lionel Crine [mailto:[EMAIL PROTECTED]
Sent: mercredi 18 juin 2003 14:47
To: [EMAIL PROTECTED]
Subject: Re: ComponentSelector could not find the component for hint
[XML] ?
You made a request on Cocoon b
Have you included the relevant files? [class files etc]
- Original Message -
From: "zze-MORY Nicolas FTRD/DMI/REN" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 18, 2003 1:08 PM
Subject: ComponentSelector could not find the component for hint [XML] ?
Anyone know thi
You made a request on Cocoon before it finishes to recomplied.
At 14:08 18/06/2003 +0200, you wrote:
Anyone know this error ?
ERROR (2003-06-18) 13:48.08:461 [sitemap] (/cocoon-dev/foo-login)
tcpConnection-8080-3/sitemap_xmap: Sitemap
org.apache.avalon.framework.component.ComponentExceptio
Hi list,
I'm trying to query a document key. I have a collection of documents
that have Xindice generated document id's. So for example:
http://xml.apache.org/xindice/Query"; approved=""
date="Tue Jun 10 19:23:08 BST 2003" src:col="/db/Enquiry"
src:key="02ffa7c04be9053700f5b2fb799b" ti
Galia Angelova wrote:
Hi!
Does anybody know how to configure cocoon in order to work with Informix?
Ihe informix data base is on a remote PC- "profisrv",Informix server
name - "ol_profisrv", database name "eisppbase"
I've done the folowing configuration:
in cocoon.xconf:
Anyone know this error ?
ERROR (2003-06-18) 13:48.08:461 [sitemap] (/cocoon-dev/foo-login)
tcpConnection-8080-3/sitemap_xmap: Sitemap
org.apache.avalon.framework.component.ComponentException: UnnamedSelector:
ComponentSelector could not find the component for hint [XML]
Thanks
Thank you, David!
It's a good idea.
The problem is that i can't get a cannection with thw data base. Something with my configuration or driver is not proper.
Galia
"Carmona Perez, David" <[EMAIL PROTECTED]> wrote:
I have successfully used Cocoon with Informix, but I use other metho
Anybody know of any good editors
for XSP or if there are XSP plugins for Dreamweaver?
yes.
Use the ObjectModelhelper object in the setup method.
for example
//Get the session parameter id
Request request = ObjectModelHelper.getRequest(objectModel);
Session session = request.getSession(false);
// requete
String id = (String)session.getAttribute("id");
Lionel
Did you add to the section in the root
sitemap?
> -Original Message-
> From: Peter Klotz [mailto:[EMAIL PROTECTED]
> Sent: Mittwoch, 18. Juni 2003 11:48
> To: [EMAIL PROTECTED]
> Subject: Cocoon 2.1 migration problem with sub-sitemap
>
>
> Hi,
>
> I have migrated a sub-sitemap from Co
Hi,
I have migrated a sub-sitemap from Cocoon 2.0.4 to 2.1m3.
With 2.0.4 everything worked fine, now with 2.1 I only get empty pages.
The reason seems to be that the sub-sitemap in cocoon/sims is never
really called. Whenever I call a URL with sims/something I get empty
page with NO errors altho
Title: Nachricht
public
void generate () throws SAXException
{Session session = ObjectModelHelper.getRequest (objectModel).getSession (true);
-Ursprüngliche Nachricht-Von: Brian Delahunty
[mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 18. Juni 2003
12:18An: [EMAIL P
Hey All,
I was just wondering if it is
possible to get access to a users session object from within a custom
generator?
Thanks
Brian
Dela
Derek Hohls wrote:
All in all, the ideal would be a CD that does not require rebooting
into a "foreign" O/S.
yes, I see that point, but besides the other facts mentioned, what is
appealing to me is that fact, that you could create an "company internal
learning server" extremly easily with th
Of course, there are the "legal niceties" - from the
Knoppix site:
"IF YOU PLAN TO COMMERCIALLY USE OR DISTRIBUTE (AND SELL)
THE SOFTWARE, YOU HAVE TO ACQUIRE THE NECESSARY LICENSES
AND PERMISSIONS FROM ALL SOFTWARE COPYRIGHT HOLDERS OF
NON-FREE SOFTWARE COMPONENTS, OR REMOVE THESE
COMPONENTS
Alexander Schatten wrote:
advantages:
-- you could access the complete linux environment including things
like mySQL databases
-- no manipulation on the user system required
-- you have the setup completly under control
addition: *one such Knoppix* booted system could be used as internal
server
I used JDK, Jetty and Cocoon some time ago on CD. Works perfectly. You can also use
HypersonicSQL as SQL-DB, it has a read-only mode.
The problem is the performance. As Java uses a lot of small files the startup takes a
while and the cd-rom works permanently.
I think the best way is to say the
o.k. this might be a wild idea, but I have some additional suggestion:
would it be acceptable for the clients to reboot the system before using
the product?
In this case (and Linux know-how required) you could try the following:
(1) get knoppix linux
(2) modify the distribution, so that tomcat
You have many possibilities, these are some of them:
1. You can use a Xalan Java extensions, you can easily call any Java function from a
XSLT file (see http://xml.apache.org/xalan-j)
2. You can use an input module and pass a parameter to a XSLT transform in this way
David
I have successfully used Cocoon with
Informix, but I use other methods of connecting to the database, I do it
through Java code. Here is an
excerpt of my pipeline:
default="xslt">
name="sql" src="">"org.apache.cocoon.transformation.SQLTransformer"/>
I will try with value="{request-param:concat(servername,'\',name)}".
But I think I have a problem getting parameter "servername". I don't
know why, I just added this input in the login.xml
...
...
The output seems correct :
...
...
I remarked it because in the sunrise-user.xsl I wrote :
Try this one:
Take a look at the Input Modules samples at
http://localhost:/cocoon/samples/modules . There are several examples of
XPath usage with input modules in the sitemap.
Regards,
Konstantin
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wedne
On Wed, 18 Jun 2003, Bertrand Delacretaz wrote:
> Le Mardi, 17 juin 2003, ΰ 20:07 Europe/Zurich, Ramsey, Alan a ιcrit :
>
> > ...We don't mind installing "some" software on the clients computers,
> > but we obviously want to minimize its complexity as much as possible.?
> > Installing a JVM is pro
Le Mercredi, 18 juin 2003, à 09:26 Europe/Zurich, Derek Hohls a écrit :
Bertrand
You say "I'm pretty sure this works" - obviously, though,
someone (?) needs to test this and, hopefully, come up
with some guidelines on the "do's and dont's" - maybe
Alan will be the person who will do it...
"I'm pr
Can you be more explicit.
You want to create a String from SAX events with your transformer and then
send it to the next component?
A transformer take SAX events on entry and return SAX events (using the SAX
methods).
But I you don't want to use the SAX methods, you can extends your
transforme
Thanks for the tip, but after playing around with it I realize that I'm mixing up two
different things.
If I throw the SAXException, the rest of the original pipeline is still executed,
after which the error pipeline is executed. What I want is to stop the original
pipeline from the moment the
Bertrand
You say "I'm pretty sure this works" - obviously, though,
someone (?) needs to test this and, hopefully, come up
with some guidelines on the "do's and dont's" - maybe
Alan will be the person who will do it (but I agree with
him that it seems surprising no one has done it before...
I am
Hello,
I wrote a little time ago because I had problems with my parameters in
the sitemap. I thought maybe I had to do like in XSL with a concat
function or something like that?
That's what I want to get :
But this way it doesn't work.
Please help!!!
Thanks
--
Le Mardi, 17 juin 2003, à 20:07 Europe/Zurich, Ramsey, Alan a écrit :
...We don't mind installing "some" software on the clients computers,
but we obviously want to minimize its complexity as much as possible.
Installing a JVM is probably reasonable, and
since Cocoon seems pretty "tightly packa
Le Mercredi, 18 juin 2003, à 06:08 Europe/Zurich, Daniel Smith a écrit :
Hi. Could anyone please detail whether it is possible to use Cocoon
with a mail system of any sort?
If you're running 2.1 the mail samples are at
http://localhost:/samples/mail/samples, but see also
http://wiki.cocoonde
65 matches
Mail list logo