RE: sunRise logout - context cleaning

2003-01-21 Thread Carsten Ziegeler
Hi,

unfortunately, the use of the logout action is not that easy :(,

You have to use the sunRise-auth action in combination with the
logout action:
map:act type=sunRise-auth
   map:parameter name=handler value=Einformatyka/

   map:act type=sunRise-logout/
   ...

/map:act

HTH
Carsten 

Carsten Ziegeler 
Open Source Group, SN AG

 -Original Message-
 From: ilfrin [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 20, 2003 9:34 PM
 To: [EMAIL PROTECTED]
 Subject: sunRise logout - context cleaning
 
 
 Hi,
 
I try to use the sunRise logout action and the logout action itself
works fine redirecting me to some page i stated to redirect to. But
as I see it doesn't clear the context, the user is still logged in
(after calling a protected resource I get access to it instantly)
.. I think that I should call some context clearing action, perhaps
some xsp or sth ? any ideas what to do about it?
 
 
the action is defined in the main project dir as :
 
map:action name=sunRise-auth 
 src=org.apache.cocoon.sunshine.sunrise.acting.AuthAction
handlers
  handler name=Einformatyka 
 xmlns:map=http://apache.org/cocoon/sitemap/1.0; 
 xmlns:sunshine=http://sunshine.sundn.de/sunshine/1.0;
   redirect-to uri=account/login/
   authentication 
 uri=cocoon://account/login-check/
  /handler
/handlers
/map:action
map:action name=sunRise-login 
 src=org.apache.cocoon.sunshine.sunrise.acting.LoginAction/
map:action name=sunRise-logout 
 src=org.apache.cocoon.sunshine.sunrise.acting.LogoutAction/
map:action name=sunRise-loggedIn 
 src=org.apache.cocoon.sunshine.sunrise.acting.LoggedInAction/
 
and the resource itself is defined in the account subdir sitemap as
map:match pattern=logout
   map:act type=sunRise-logout
map:parameter name=handler 
 value=Einformatyka/
   /map:act
   map:redirect-to uri=login/
/map:match
 
so loggin in, error-handling works fine, only this last thing .. it
redirects to login but doesn't logout the user, doesn't clear the
context
 
any ideas ?


 -- 
 Bye,
  ilfrin  mailto:[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]




Re: XSP Redirection HELP!!!

2003-01-21 Thread Christian Haul
On 20.Jan.2003 -- 06:18 PM, Jim McCullough wrote:
 Don't know if this is what you are looking for but you
 can also use the sendRedirect (String url) of the
 HttpResponse object.
 
 Would look something like this:
 
 xsp:logic
 ((HttpResponse)response).sendRedirect (http://my_home_page;);
 /xsp:logic
 
 This is kinda clunky because it sends the response header back
 to the browser but it does the job from within XSP.

There is also a logicsheet for that -- response.xsl.

Please be aware that sending a redirect command to the client *after*
any other data will cause an unpredictable result. This is because the
output is not buffered and thus cannot be cancelled.

It is almost impossible for the redirect to be the first data sent.

So, I would strongly suggest not to do it.

If you *do* want to update the database from an XSP, you have to merge
all possible outcomes into one page. *I* would consider that extremely
bad practice.

HTH

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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




Re: about instrumentation client.

2003-01-21 Thread Marcus Crafter
Hi Antonio!

On Mon, Jan 20, 2003 at 06:10:13PM -0600, Antonio Gallardo wrote:
 Hi Marcus!
 
 Thanks again!

No problem :)

 I am back for some advise from the instruments guru. ;-)
 
 Where I can find some explaination about the aditional info in the
 instrument manager?
 
 For example the authentication manager has:
 
 authentication-manager
   pool  - The pool of the manager
 blocks  - ?
 creates - Create() a component in the pool
 decommissions   - Destroy() components in the pool
 gets- Already created and getted?
 puts- Already in the pool and returned?
 ready-size  - ?
 size- ? in KB or number of components?
   gets  - ?
   puts  - ?
   references- Sum of the calls to
 manager.lock(auth-manager.ROLE) in the code.
 
 I know that the components must be declared as instrumentable. But I
 think currently there are no many components declared as needed.

Yes, you're right. Components wishing to report instrumentation
data to the client need to implement the Avalon 'instrumentable'
interface, which allows the them to define instruments that can
be sampled from.

At the moment there aren't many components (none in Cocoon) that 
support instrumentation except for ECM, Instrument Manager, and the 
Avalon datasource, and pool subprojects.

What you are seeing above is reporting from instruments that are
registered automatically from the above list of projects (ie.
ECM's component handlers, which for example use pool for Poolable 
components, etc). 

Here's a brief breakdown of what you listed above:

authentication-manager  - The authentication manager component handler (not
  the component itself).
  pool  - The pool used within the authentication
  manager's component handler
blocks  - threads blocking till a poolable becomes available
creates - Create() a component in the pool
decommissions   - Destroy() components in the pool
gets- Poolables accessed
puts- Poolables returned
ready-size  - number of pooolables currently available
size- total number of poolables this pool has
  gets  - number of gets (ie. lookups) of this component
  puts  - number of puts (ie. releases) of this component
  references- number of references to this component

Hope that makes things a bit clearer, unfortunately this isn't yet
documented anywhere, I obtained the above info from browsing the
Avalon source for the ComponentHandler and ResourceLimitingPool
classes.

The job now (apart from docs) is to write a more wider set of 
instruments to report Cocoon specific data. I've made a start to
this, but there's still a ways to go.

Hope that helps.

Cheers,

Marcus

-- 
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   ManageSoft GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ :'   60327 Frankfurt Germany
   ' /( 
   \_'
  .
:

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




RE: Logicsheet problems - global XSLT variables

2003-01-21 Thread Mark H
Thanks Antonio, I'll try it out. How does the reload-method=synchron
improve things?

-Original Message-
From: Antonio Gallardo [mailto:[EMAIL PROTECTED]]
Sent: 20 January 2003 06:34
To: [EMAIL PROTECTED]
Subject: Re: Logicsheet problems - global XSLT variables


 Also, do others find working with Cocoon very frustrating? When you make
 a change it takes forever for the web-app to reload and re-compile the
 java class, espcially when it takes up so much memory.

You need to add in your cocoon.xconf file:

sitemap reload-method=synchron check-reload=yes
config=resource://org/apache/cocoon/components/treeprocessor/treeprocessor-
builtins.xml
file=context://sitemap.xmap logger=sitemap/

Search for the sitemap tag and add the attributes:

reload-method=synchron
check-reload=yes

Antonio Gallardo


 Thx in advance,
 Mark



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




Aggregating XSPs

2003-01-21 Thread Mark H
Can someone give me an example of how to use the sel logicsheet? or maybe
point me to some documentation? just looking at alternatives to
map:aggregate in the sitemap.

thx, Mark



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




RE: 10 basic survival tips for cocoon users (was: Logicsheet problems - global XSLT variables)

2003-01-21 Thread Mark H
 For XSLT processing i have added Saxon-6.5.2.

Are you saying that Xerces doesn't deal with global XSLT variables properly?

4.) Proceed in baby steps when changing things in your cocoon app

But it really slows up development

8.) I started using the coocon developers handbook

I got Cocoon - Building XML Applications and Coocoon 2 Programming but
they don't get into the development site of things very deeply, especially
the first book. Might try out the book you mentioned.

-Original Message-
From: SAXESS - Hussayn Dabbous [mailto:[EMAIL PROTECTED]]
Sent: 20 January 2003 10:50
To: [EMAIL PROTECTED]
Subject: 10 basic survival tips for cocoon users (was: Logicsheet
problems - global XSLT variables)



Mark Horgan wrote:

 Also, do others find working with Cocoon very frustrating? When you make a
 change it takes forever for the web-app to reload and re-compile the java
 class, espcially when it takes up so much memory. Also even when using the
 logs its very hard to track down bugs in ones code especially logicsheets.
 But generally I like Cocoon though I wish it was more straight-forward to
 develop with it.

 Thx in advance,
 Mark


Hy,

When i started with cocoon i got really mad with hunting errors
and understanding, how all this fits together. But after about
three months of working with the beast, i built up some
survival strategies. It is how I do it. It may help as a guide,
but it does not claim to be the best approach:

1.) Instead of restarting the whole container, i only restart
 the cocoon app, when needed. This takes a few seconds with
 tomcat 4.1.* (~300 MHz sparc dual processor, solaris 2.8)
2.) During development i use tomcat and i set the reloadable=true
 within the Context/ of my webapp. By this any changes in the
 classpath causes an automatic webapp restart.
3.) use released versions if possible (cocoon-2.0.4 seems quite mature)
4.) Proceed in baby steps when changing things in your cocoon app
5.) follow KISS (keep it simple, stupid) i keep as much as possible
 with the basics of cocoon and don't use (yet) the more fancy stuff.
6.) Separate your app into subsitemaps and subdirs with related issues
7.) use the cocoon-wiki
 Especially the search function unhides
 interesting docs
8.) I started using the coocon developers handbook
 It's written from Lajos Moczar and some other active
 cocoon developers...

Here are two of my personal favorites. I have documented this in
our company wiki:

9.) For XSLT processing i have added Saxon-6.5.2. It's not
 straight forward to install, but sometimes it can be
 utilised with less pain, than xalan (just a matter of taste)
 Look into cocoon wiki for a quick description or look at
 http://www.saxess.com/JSPWiki/Wiki.jsp?page=Install
 for a quickinstall step by step instruction.
10.)use entity resolver wherever possible.
 look at the cocoon docs for the basics or at
 http://www.saxess.com/JSPWiki/Wiki.jsp?page=EntityResolver
 for a quickinstall description.

hope, that helps someone ...

regards, hussayn

--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax: +49-221-56011-20
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]




Re: 10 basic survival tips for cocoon users (was: Logicsheet problems- global XSLT variables)

2003-01-21 Thread SAXESS - Hussayn Dabbous
Hy

Mark H wrote:



For XSLT processing i have added Saxon-6.5.2.



Are you saying that Xerces doesn't deal with global XSLT variables properly?




NO. Of course xalan can handle globals and i am using this
feature with xalan too..
I say, that some aspects of xslt can be done with saxon,
which can't be done with xalan and vice versa, e.g. there
is a (possible) bug with entity resolving within style sheets,
that is (partially) solved when using saxon...

interested people can see:

http://www.saxess.com/JSPWiki/Wiki.jsp?page=EntityResolver

(last chapter focusses on saxon)




4.) Proceed in baby steps when changing things in your cocoon app



But it really slows up development



The survival tips adress newbies. expereinced users may
use different (more efficient) strategies...




8.) I started using the coocon developers handbook



I got Cocoon - Building XML Applications and Coocoon 2 Programming but
they don't get into the development site of things very deeply, especially
the first book. Might try out the book you mentioned.


i prefer the cocoon developers handbook because it really goes
into real life examples with code snippets and so on. It adresses
my programmers needs quite well. Of course it doesn't go into the
depest secrets of cocoon, but cocoon is anyway a running target,
hence using the book plus the cocoon wiki fits at least my basic
needs.

regards, hussayn

--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax: +49-221-56011-20
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]




RE: 10 basic survival tips for cocoon users (was: Logicsheet problems - global XSLT variables)

2003-01-21 Thread Hunsberger, Peter
4.) Proceed in baby steps when changing things in your cocoon app

 But it really slows up development

Doing incremental development will ultimately save you many many, days of
lost productivity.  The biggest roadblock is having sufficiently powerful
hardware that doing many compiles and redeploying Cocoon doesn't cost you a
lot of time. Splurging for the best hardware you can afford will likely pay
itself back very quickly in time savings...

For XSLT changes it's usually simple to proceed in baby steps since you can
usually edit the live sheets and resubmit the page and immediately see the
results.  In addition you can break your pipelines into pieces so that you
can capture the output XML and feed it into something like XML Spy or
Xselerator and debug your XSLT that way.

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




SessionTransformer - Getting request parametervalues

2003-01-21 Thread Alex Romayev
Hi,

I'm looking for help in how to extract parameter
values using SessionTransformer.

My uri looks like this:

myaction?item=1item=2item=3

The SessionTransformer generates the following path:

parametervalues
  cinclude:parameters
cinclude:parameter
  cinclude:nameitem/cinclude:name
  cinclude:value1/cinclude:value
/cinclude:parameter
  /cinclude:parameters
/parametervalues

My goal is to turn this into the following xml:

items
 item1/item
 item2/item
 item3/item
/items


Two questions:

1. SessionTransformer javadoc says: This output has
the namespace of the CIncludeTransformer to use it as
input for a cinclude:includexml command.  I don't
quite understand how I would make use of CIclude
transformer.

2. I've tried doing the following:

items 
  xmlns:session=http://cocoon.apache.org/session/1.0;

 
xmlns:cinclude=http://apache.org/cocoon/include/1.0;

  session:getxml
xmlns:cinclude=http://apache.org/cocoon/include/1.0;
context=request 
  
path=/parametervalues/cinclude:parameters/cinclude:parameter[cinclude:name='item']/cinclude:value/
/items

So that I could later transform it to the xml I need,
but I get the following error:

 Prefix must resolve to a namespace: cinclude

Thanks,
-Alex

P.S. And the stack:

org.apache.cocoon.ProcessingException:
TransformerException:
javax.xml.transform.TransformerException: Prefix must
resolve to a namespace: cinclude:
javax.xml.transform.TransformerException: Prefix must
resolve to a namespace: cinclude
at
org.apache.cocoon.webapps.session.context.RequestSessionContext.streamXML(RequestSessionContext.java:635)
at
org.apache.cocoon.webapps.session.components.SessionManager.streamContextFragment(SessionManager.java:559)
at
org.apache.cocoon.webapps.session.transformation.SessionPreTransformer.startTransformingElement(SessionPreTransformer.java:191)
at
org.apache.cocoon.webapps.session.transformation.SessionPostTransformer.startTransformingElement(SessionPostTransformer.java:230)
at
org.apache.cocoon.transformation.AbstractSAXTransformer.startElement(AbstractSAXTransformer.java:333)
at
org.apache.cocoon.webapps.session.transformation.SessionPreTransformer.startElement(SessionPreTransformer.java:162)
at
org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:118)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:454)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:217)
at
org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:873)
at
org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:590)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:777)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:748)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1453)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
at
org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:264)
at
org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:215)
at
org.apache.excalibur.xmlizer.impl.TextXMLizer.toSAX(TextXMLizer.java:44)
at
org.apache.excalibur.xmlizer.impl.AbstractXMLizer.toSAX(AbstractXMLizer.java:102)
at
org.apache.excalibur.xmlizer.impl.XMLizerImpl.toSAX(XMLizerImpl.java:94)
at
org.apache.cocoon.environment.AbstractEnvironment.toSAX(AbstractEnvironment.java:537)
at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:140)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:273)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483)
at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:149)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:166)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)
at

Re: AW: newbie: creating a cocoon action and Sleep Deprivation

2003-01-21 Thread Julian Klein
Hi,

  Thanks for the help yesterday, but after getting
some sleep I found my problem.  It is at its basic
level attributed to my stupidity, but it was that I
had the class in the wrong package when I placed it
into the cocoon jar.  Thanks for the help guys, sorry
for wasting your time.

all apologies,
-Julian

=
Live simply so others may simply live.
 
-Ghandi
 
Pluralitas non est ponenda sine neccesitate.
Entities should not be multiplied unneccesarily
 
-William of Occam

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




URL-bar (the bar where you type in the URLs in the browser) question

2003-01-21 Thread Johannes . Becker
Hi,

I want to avoid that in the URL-bar (the bar where you type in the URLs
in the browser) certain URLs are displayed.

For example:
My sitemap:
...
map:pipelines
  map:pipeline
map:match pattern=
map:redirect-to uri=login/
  /map:match

map:match pattern=login
  map:generate type=serverpages src
=stylesheets/login.xsp/
  map:serialize/
/map:match

map:match pattern=interactive
  map:generate type=serverpages src=interactive.xsp/
  map:transform src=interactive.xsl/
  map:serialize/
   /map:match


My aim is, that if I e.g. map:match pattern=interactive is called I
don't have http://localhost:8080/cocoon/example/interactive; standing in
the URL-bar.
Instead I want http://localhost:8080/cocoon/example/; (or something else)
standing there.

How can I do that?

Cheeers
Jonny



This electronic message contains information from the mmo2 plc Group which
may be
privileged or confidential. The information is intended to be for the use
of the
individual(s) or entity named above. If you are not the intended recipient
be aware
that any disclosure, copying, distribution or use of the contents of this
information
is prohibited. If you have received this electronic message in error,
please notify
us by telephone or email (to the numbers or address above) immediately.




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




RE: URL-bar (the bar where you type in the URLs in the browser) question

2003-01-21 Thread Luca Morandini
Johannes,

I'm afraid this has nothing to do with Cocoon; anyway, an easy solution is the use of 
a frameset.
You can do all the URI calling within the frameset's frames: this way the displayed 
URI remains the same (I mean the original
frameset URI).

Regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 21, 2003 6:15 PM
 To: [EMAIL PROTECTED]
 Subject: URL-bar (the bar where you type in the URLs in the browser)
 question


 Hi,

 I want to avoid that in the URL-bar (the bar where you type in the URLs
 in the browser) certain URLs are displayed.

 For example:
 My sitemap:
 ...
 map:pipelines
   map:pipeline
 map:match pattern=
 map:redirect-to uri=login/
   /map:match

 map:match pattern=login
   map:generate type=serverpages src
 =stylesheets/login.xsp/
   map:serialize/
 /map:match

 map:match pattern=interactive
   map:generate type=serverpages src=interactive.xsp/
   map:transform src=interactive.xsl/
   map:serialize/
/map:match
 

 My aim is, that if I e.g. map:match pattern=interactive is called I
 don't have http://localhost:8080/cocoon/example/interactive; standing in
 the URL-bar.
 Instead I want http://localhost:8080/cocoon/example/; (or something else)
 standing there.

 How can I do that?

 Cheeers
 Jonny

 


 This electronic message contains information from the mmo2 plc Group which
 may be
 privileged or confidential. The information is intended to be for the use
 of the
 individual(s) or entity named above. If you are not the intended recipient
 be aware
 that any disclosure, copying, distribution or use of the contents of this
 information
 is prohibited. If you have received this electronic message in error,
 please notify
 us by telephone or email (to the numbers or address above) immediately.




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




Re: URL-bar (the bar where you type in the URLs in the browser)question

2003-01-21 Thread Joerg Heinicke
You can use frames, where the outer frame has the URL 
http://localhost:8080/cocoon/example/;. I don't think that there is 
another possibility, because this is browser specific and has nothing to 
do with Cocoon.

Regards,

Joerg

[EMAIL PROTECTED] wrote:
Hi,

I want to avoid that in the URL-bar (the bar where you type in the URLs
in the browser) certain URLs are displayed.

For example:
My sitemap:
...
map:pipelines
  map:pipeline
map:match pattern=
map:redirect-to uri=login/
  /map:match

map:match pattern=login
  map:generate type=serverpages src
=stylesheets/login.xsp/
  map:serialize/
/map:match

map:match pattern=interactive
  map:generate type=serverpages src=interactive.xsp/
  map:transform src=interactive.xsl/
  map:serialize/
   /map:match


My aim is, that if I e.g. map:match pattern=interactive is called I
don't have http://localhost:8080/cocoon/example/interactive; standing in
the URL-bar.
Instead I want http://localhost:8080/cocoon/example/; (or something else)
standing there.

How can I do that?

Cheeers
Jonny



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




sunRise-login problems

2003-01-21 Thread Chris Brockway
Hello cocoon experts, newbie here stumbling through getting an initial
webapp started.  I have been trying to get the sunRise auth to work with
cocoon v 2.0.3 and jdk 1.3.1.  I can't seem to get the sunRise-login to
work properly?!?!?  The redirects to the login page, and the logout all seem
to work as expected.

When I attempt to access a protected resource I appropriately get redirected
to my login page, I attempt to login (submits to foo-login) and I get the
following errors that a resource isn't available

type resource-not-found
message Resource not found
description The requested URI /internal/foo-login was not found.
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/internal/foo-login
path-info
internal/foo-login

Here is the foo-login match statement:

map:match pattern=foo-login
  map:act type=sunRise-login
map:parameter name=handler value=foo-handler/
map:parameter name=parameter_name value=request:name/
map:parameter name=parameter_password value=request:password/
map:redirect-to uri=foo-protected/
  /map:act
  !-- authentication failed: --
  map:generate src=login-failed.xml/
  map:transform src=login-failed.xsl/
  map:serialize/
/map:match

If I change the sunRise-login to sunRise-logout no errors, it goes in a
big circle because it's not authenticating.  I'm guessing that I'm missing a
parameter somewhere, I've followed the example from
http://radio.weblogs.com/0103021/stories/2002/02/28/usingTheSunriseComponent
s.html as closely as possible, but no luck.

Here are the interesting action defs in the parent sitemap.xconf:

map:action name=sunRise-auth
src=org.apache.cocoon.sunshine.sunrise.acting.AuthAction
  handlers
handler name=foo-handler
xmlns:map=http://apache.org/cocoon/sitemap/1.0;
xmlns:sunshine=http://sunshine.sundn.de/sunshine/1.0;
  redirect-to uri=cocoon://foo-loginpage/
  authentication uri=cocoon:raw://foo-authuser /
/handler
  /handlers
/map:action

map:action name=sunRise-login
src=org.apache.cocoon.sunshine.sunrise.acting.LoginAction/
map:action name=sunRise-logout
src=org.apache.cocoon.sunshine.sunrise.acting.LogoutAction/
map:action name=sunRise-loggedIn
src=org.apache.cocoon.sunshine.sunrise.acting.LoggedInAction/

Thanks in advance, any help would be greatly appreciated from others who
have successfully done this, I can forward the other parts of the conf as
well.

-Chris


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




setup natch for dummies

2003-01-21 Thread Cocoon User

hi

our problem:

we want to send our work for a presentation to some people
but our work run only under cocoon

the question:
is there any project that have an almost ready bat process that
install java, tomcat, cocoon (based in  pre-configuration files)?

so we create a CD and send this to those people?

i know that something simila (apache, mysql, php) exist

the idea is something like a runtime cocoon environment

stavros




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




RE: setup natch for dummies

2003-01-21 Thread Luca Morandini
Stavros,

you may try Az [1] from galatea.com: it has Apache, Tomcat and Cocoon.

Regards,

[1] http://www.galatea.com/az/home

- 
   Luca Morandini 
   GIS Consultant 
  [EMAIL PROTECTED] 
http://utenti.tripod.it/lmorandini/index.html 
-
 

 -Original Message-
 From: Cocoon User [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 21, 2003 8:39 PM
 To: [EMAIL PROTECTED]
 Subject: setup natch for dummies
 
 
 
 hi
 
 our problem:
 
 we want to send our work for a presentation to some people
 but our work run only under cocoon
 
 the question:
 is there any project that have an almost ready bat process that
 install java, tomcat, cocoon (based in  pre-configuration files)?
 
 so we create a CD and send this to those people?
 
 i know that something simila (apache, mysql, php) exist
 
 the idea is something like a runtime cocoon environment
 
 stavros
 
 
 
 
 -
 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]




Re: setup natch for dummies

2003-01-21 Thread Tony Collen
On Tue, 21 Jan 2003, Cocoon User wrote:


 hi

 our problem:

 we want to send our work for a presentation to some people
 but our work run only under cocoon

 the question:
 is there any project that have an almost ready bat process that
 install java, tomcat, cocoon (based in  pre-configuration files)?

 so we create a CD and send this to those people?

 i know that something simila (apache, mysql, php) exist

 the idea is something like a runtime cocoon environment

 stavros


Stavros,

I believe the current CVS of cocoon includes Jetty, which would allow you
to run Cocoon off a CD, I believe.  Search the list archives for jetty,
and you should see how to start Cocoon as a standalone type of application
without Tomcat.

Regards,

Tony



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




Re: Automatically generated linefeed before ?xml ...? in the JSPcauses SAXException

2003-01-21 Thread J.Pietschmann
Eduardo Zurita wrote:

The qeq.jsp is a program that connects to remote URL using a
HttpURLConnection object. I do it this way because I need modify some
request properties. This remote URL returns XML data. The JSP simply writes
(out.write) the XML to the output. But SAX doesn't like the output. Always
there is a linefeed causing troubles. The linefeed is located just before
any code I have written. The current error says:


The linefeed probably comes from your JSP. Remember that
everything outside the JSP tags go to the output too.


- Original Message -

Could you please get used to snipping those old quotes?

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]




Caching oddity

2003-01-21 Thread Miles Elam
I'm going through the process of writing my first generator.  I works 
fine for what I need it to do, but I can't seem to get caching to work 
with it.  My generator extends from ComposerGenerator and implements 
CacheableProcessingComponent.

I have implemented the following methods:

   public java.io.Serializable generateKey()
   public SourceValidity generateValidity()

My key is quite unique (and verbose).  I am using TimeStampValidity from 
Excalibur.  I put in some debug statements and I can confirm that the 
key and the timestamp are staying the same (and are not null/0) -- which 
actually fits with the behavior.

The behavior is that the first (uncached) call works fine.  All 
subsequent calls give me an empty page...or rather it gives me

   htmlbody/body/html

even though I am accessing a URL with only the generator and the XML 
serializer in the pipeline.  The caching engine can see that I want it 
cached and that it is currently cacheable.  There is of course more to 
the component than this, but nothing that I know is related to caching.  
All of my output is done through this.contentHandler.[SAX method] and 
without caching, it works fine.

What am I missing?

- Miles



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



i18n problem with i18n:attr : ArrayIndexOutOfBoundsException

2003-01-21 Thread Thomas Haselberger
I use cocoon 2.0.4 in tomcat 4.1.18 with j2sdk1.4.0_03.

the i18n samples that use i18n:attr work ok, but my i18n transformation throws an 
ArrayIndexOutOfBoundsException.

this is my source xml:
=
?xml version=1.0 encoding=UTF-8?

wml xmlns:i18n=http://apache.org/cocoon/i18n/2.0;
  card i18n:attr=title title=ol id=main
p mode=nowrap
  emi18n:textol/i18n:text/em
  br/a href=new/1/i18n:textnew/i18n:text/a
/p
  /card
/wml
=

this is my sitemap matcher entry:
=
!-- i18n test --
map:match pattern=**i18ntest**
  map:generate src=content/wml_for_i18n.xml/
  map:transform type=i18n label=rmns/
  map:serialize type=xml/
/map:match
=

and that's the error log entry generated:
=
ERROR   (2003-01-21) 10:50.44:761   [sitemap] (/idc/i18ntest/bla) 
Thread-15/sitemap_xmap: Sitemap
org.apache.cocoon.ProcessingException: Exception during processing of 
file:/D:/java/jakarta-tomcat-4.1.18/webapps/idc/content/wml_for_i18n.xml: 
java.lang.ArrayIndexOutOfBoundsException
at 
org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:214)
at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:143)
at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:250)
at 
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:395)
at 
org.apache.cocoon.www.sitemap_xmap.matchN400126(D:\java\jakarta-tomcat-4.1.18\work\Standalone\localhost\idc\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1345)
at 
org.apache.cocoon.www.sitemap_xmap.process(D:\java\jakarta-tomcat-4.1.18\work\Standalone\localhost\idc\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1185)
at 
org.apache.cocoon.www.sitemap_xmap.process(D:\java\jakarta-tomcat-4.1.18\work\Standalone\localhost\idc\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1128)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:227)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:173)
at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:152)
at org.apache.cocoon.Cocoon.process(Cocoon.java:579)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 

xsl pipeline filters

2003-01-21 Thread Errea Alexandra




Hello!I couldn't find any qa's 
concerning this matter...So here it goes.
I want to combine three filters so that 
the first one would give its output as an input to the second one and the second 
onewould give its output to the third one. The first two filters should 
give an xml output and the last one an html output. The problem is that i want 
each filter to exclude certain tags from the original xml file. For example this 
is my xml file

?xml version="1.0" 
encoding="ISO-8859-7"??xml-stylesheet type="text/xsl" 
href=""?
SITES
!-- English --
CONTENTLAN1/LAN 
!-- 1.En --LEVEL1/LEVEL 
DISPLAY1/DISPLAY !-- 1.SMS 2.WAP 
--TITLEPHILOPAPPOU 
MONUMENT/TITLETEXThello/TEXTIMAGE/IMAGE/CONTENT

CONTENTLAN1/LAN 
!-- 1.En 
--LEVEL2/LEVELDISPLAY1/DISPLAY 
!-- 1.SMS 2.WAP --TITLEPHILOPAPPOU 
MONUMENT/TITLETEXTIt is found in the bhill of 
Mouson/b. It is a grave monument, made from marble with 
bembedded 
designs./b/TEXTIMAGE/IMAGE/CONTENT

CONTENTLAN1/LAN 
!-- 1.En 
--LEVEL3/LEVEL 
DISPLAY1/DISPLAY !-- 1.SMS 
2.WAP --TITLEPHILOPAPPOU 
MONUMENT/TITLETEXTIt is found in the hill of Mouson. It 
is a grave monument, made from marble with embedded designs and its 
bfacade is turned to 
Acropolis/b./TEXTIMAGE/IMAGE/CONTENT
!-- 
Greek--CONTENTLAN2/LAN 
!-- 2.GR --LEVEL1/LEVEL 
DISPLAY1/DISPLAY !-- 1.SMS 2.WAP 
--TITLEÌÍÇÌÅÉÏ 
ÖÉËÏÐÁÐÐÏÕ/TITLETEXTeverywhere/TEXTIMAGE/IMAGE/CONTENT

CONTENTLAN2/LAN 
!-- 2.GR --LEVEL2/LEVEL 

DISPLAY1/DISPLAY !-- 1.SMS 2.WAP 
--TITLEÌÍÇÌÅÉÏ 
ÖÉËÏÐÁÐÐÏÕ/TITLETEXTnowhere/TEXTIMAGE/IMAGE/CONTENT

CONTENTLAN2/LAN 
!-- 2.GR 
--LEVEL3/LEVELDISPLAY1/DISPLAY 
!-- 1.SMS 2.WAP --TITLEÌÍÇÌÅÉÏ 
ÖÉËÏÐÁÐÐÏÕ/TITLETEXTyes/TEXTIMAGE/IMAGE/CONTENT
/SITES


So i want the first xsl to filter the language and to keep only the first 
three tags(where lan=1 or when lan=2), the second one to filter only the content 
with level=2 (for example)and the last one to show the text as html 
output(if display is set to 2). How can i do this??? I've tried using xsl:copy 
and of course xsl:choose but i can;t combine these three filters to one...so 
that i can form a pipeline. How could i do this the easy way, without 
java??

Thank you!


can't get browser selector working

2003-01-21 Thread Hans Thomas Nordeck
I want to use the browser selector in a mounted sitemap. The selector is
well defined in the components part of the sitemap.
The Parameter viewType never gets a value.
I can't get it working.  Does anybody has an idea what the problem is?
(I'm working with cocoon 2.1 dev, do you think that could be the problem?
cause for me everything looks right)

Thanks a lot for help!


map:match pattern=*/**/content.html
 map:act type=cms.actions.template
  map:parameter name=parameters value=true/
  map:parameter name=language value={1}/
  map:parameter name=path value={2}/
 map:select type=browser
 map:when test=pocketexplorer
  map:parameter name=viewType value=browser/
 /map:when
 map:otherwise
  map:parameter name=viewType value=browser/
 /map:otherwise
/map:select
  map:generate type=CmsContent
   map:parameter name=parameters value=true/
   map:parameter name=viewComponentId value={viewComponentId}/
  /map:generate

  map:transform src=templates/{template}.xsl/

  map:serialize type=html/
 /map:act
/map:match


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




Schematron transform in a Cocoon pipeline

2003-01-21 Thread John R. Callahan
This seems too simple, but I wanted to see if I could
use Schematron generated XSLT to validate some
XML in a Cocoon pipeline.  This might be used for
validating uploaded  XML files for example.

I downloaded the latest Schematron skeleton (1.5),
then generated some XSLT from a set of assertions,
and then put it into a transform in a pipeline with some
data:

map:match pattern=*.xml
  map:generate src={1}.xml/
  map:transform src=asserts1.xsl/
  map:serialize type=xml/
/map:match

!-- build the Schematron generated XSLT --
map:match pattern=asserts1.xsl
  map:generate src=asserts1.sch/
  map:transform src=skeleton1-5.xsl/
  map:transform src=store.xsl
  map:parameter name=file value=asserts1.xsl/
  map:parameter name=dir value=./
  /map:transform
  map:transform type=write-source/
  map:serialize type=xml/
/map:match

(see below for the source code for store.xsl)

Unfortunately, the Schematron skeleton puts out plain
text messages so the output from data1.xml isn't well-formed
XML.  What I wanted was a series of applicable 
Schematron messages as XML output.  So, I altered
the skeleton somewhat and now I works!

My alterations to the skeleton were pretty simple:

(1)  Add the following template:

xsl:template match=sch:error | error mode=text
 xsl:copy-of select=./
/xsl:template

(2) Wrap a sch:results around the / template:

  axsl:template match=/
  sch:results
  xsl:call-template name=process-root
...
  /xsl:call-template
  /sch:results
  /axsl:template

Finally, you must wrap all messages in the .sch file with
sch:error.../sch:error as follows:

sch:schema xmlns:sch=http://www.ascc.net/xml/schematron;
...
sch:assert test=(@Title = 'Mr' and Sex = 'Male') or @Title != 'Mr'
  sch:errorIf the Title is Mr then the sex of the person must be 
Male./sch:error
/sch:assert
...
/sch:schema

Enjoy!

-- jack


(The XSLT file store.xsl is my own brew to wrap an
element around the input source for use by the subsequent
SourceWriterTransformer:

?xml version=1.0 encoding=UTF-8?
!-- CVS: $Id: store.xsl,v 1.1 2002/12/16 11:04:11 callahan Exp $ --

xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;

xsl:param name=file select='foo'/
xsl:param name=dir select='foo'/

xsl:template match=/
source:write xmlns:source=http://apache.org/cocoon/source/1.0;
 source:sourcexsl:value-of select=$dir//xsl:value-of 
select=$file//source:source
 source:fragment
 xsl:copy-of select=./
 /source:fragment
/source:write
/xsl:template

/xsl:stylesheet
)



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




Hello and question

2003-01-21 Thread Brent Eades
Hello,

A word of introduction... I belonged to the list a year or so back, 
but got sidetracked from Cocoon for awhile. Now I'm back tinkering 
with 2.04, and have no shortage of questions.

Here's one (a rather broad and newbie-ish one.) In my project I have 
a large number of XML files that correspond to time series. Each is 
the same format:

timeSeries
seriesNameP12345/seriesName
observation

date2001-03-12/date
value1.25/value

date2001-03-13/date
value1.28/value

/observation  
/timeSeries

... etc.

Now: using the various mechanisms available through Cocoon, how best 
would I query a given file (directly, as opposed to through a 
database) via an HTML form, e.g., to extract and display only 
selected dates/values?

I have a vague grasp of various ways I could do this if my data were 
to reside in an intermediate DBMS of some sort, but the objective 
here is to store each time series as an XML source file only, while 
still being able to query it.

Does this make any sense? :)

-
Brent Eades, Almonte, Ontario
 http://www.almonte.com
 http://www.bankofcanada.ca


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




RE: Hello and question

2003-01-21 Thread Luca Morandini
Brent,

you may try inserting them into Xindice (an XML DBMS [1]) or, much simpler, search 
them by the use of XSLT.

Though, I must say, time series data beg to live in a Relational model.

Regards,

[1] http://xml.apache.org/xindice/

- 
   Luca Morandini 
   GIS Consultant 
  [EMAIL PROTECTED] 
http://utenti.tripod.it/lmorandini/index.html 
-
 

 -Original Message-
 From: Brent Eades [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 21, 2003 10:48 PM
 To: [EMAIL PROTECTED]
 Subject: Hello and question
 
 
 Hello,
 
 A word of introduction... I belonged to the list a year or so back, 
 but got sidetracked from Cocoon for awhile. Now I'm back tinkering 
 with 2.04, and have no shortage of questions.
 
 Here's one (a rather broad and newbie-ish one.) In my project I have 
 a large number of XML files that correspond to time series. Each is 
 the same format:
 
 timeSeries
   seriesNameP12345/seriesName
   observation
 
   date2001-03-12/date
   value1.25/value
 
   date2001-03-13/date
   value1.28/value
 
   /observation  
 /timeSeries
 
 ... etc.
 
 Now: using the various mechanisms available through Cocoon, how best 
 would I query a given file (directly, as opposed to through a 
 database) via an HTML form, e.g., to extract and display only 
 selected dates/values?
 
 I have a vague grasp of various ways I could do this if my data were 
 to reside in an intermediate DBMS of some sort, but the objective 
 here is to store each time series as an XML source file only, while 
 still being able to query it.
 
 Does this make any sense? :)
 
 -
 Brent Eades, Almonte, Ontario
  http://www.almonte.com
  http://www.bankofcanada.ca
 
 
 -
 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]




Re: Parsing multipart form data

2003-01-21 Thread Collin VanDyck
Geoff

Ok, everything is working now.  Strangely, I had in addition to my
cocoon-2.0.4.jar, a rogue cocoon-2.0.2 which I believe was getting deployed
first or with priority by my container.  Argh.  Thanks for your help!
Everything is working perfectly now.

Collin


- Original Message -
From: Geoff Howard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 20, 2003 7:27 PM
Subject: RE: Parsing multipart form data


 
  Hi Geoff,
 
  When I cast directly to FilePartArray I get a ClassCastException, which
I
  thought was due to Cocoon not receiving the init-param correctly.  Is
that
  normal?
 
  Collin

 That sounds right.  Change it back to FilePartArray of course.  So, back
to
 web.xml/cocoon version for the culprit?
 - Since you have three web.xml files (one per webapp), make sure you're
 changing the same one you're testing on (or all three).
 - Make sure you restart after modifying web.xml.
 - Confirm what version of cocoon you're using - how did you get 2.0.4?
What
 is the date of the main cocoon jar?

 Geoff

 
 
  - Original Message -
  From: Geoff Howard [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, January 20, 2003 5:37 PM
  Subject: RE: Parsing multipart form data
 
 
   There you go - you've cast to FilePartFile - cast to FilePart
  (or directly
   to FilePartArray) and you're set.  We need another example at the Wiki
   (assuming that's where you got the concept from?) showing
FilePartArray.
  
   Should have thought of that first,
   Geoff
  
-Original Message-
From: Collin VanDyck [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 5:22 PM
To: [EMAIL PROTECTED]
Subject: Re: Parsing multipart form data
   
   
Hi Geoff.
   
Here's really the only thing I'm doing with it right now.
   
FilePartFile fpf = (FilePartFile)request.get(file_content);
log.info(received file of name:  + fpf.getFileName());
   
thanks,--
Collin
   
   
   
   
   
   
- Original Message -
From: Geoff Howard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 20, 2003 5:32 PM
Subject: RE: Parsing multipart form data
   
   
 ah, that brings to mind another idea - send a snippet of your
action that
 deals with getting the FilePart...

 Geoff

  -Original Message-
  From: Collin VanDyck [mailto:[EMAIL PROTECTED]]
  Sent: Monday, January 20, 2003 5:02 PM
  To: [EMAIL PROTECTED]
  Subject: Re: Parsing multipart form data
 
 
  Here is my web.xml file. (It's long, so an apology in advance).
I
  hope this
  helps, and I really do appreciate everyone's help in this list.
 
  I commented out overwrite-uploads and set the autosave-uploads
to
  false, but
  I still get a FilePartFile instead of a FilePartArray.
 
  thanks,
  Collin
 
 
 
  ?xml version=1.0 encoding=UTF-8?
  !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web
Application
  2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
  web-app
  display-nameContentXML web app/display-name
  descriptionProvides the administration interface to the
  ContentXML
  System/description
  servlet
  servlet-nameCocoon2/servlet-name
  display-nameCocoon2/display-name
  descriptionThe main Cocoon2 servlet/description
  !--
  In cases you're facing class loader problems you can
alternatively
  use the following servlet-class instead of the normal one
 
servlet-classorg.apache.cocoon.servlet.ParanoidCocoonServlet/se
  rvlet-clas
  s
  --
 
  servlet-classorg.apache.cocoon.servlet.CocoonServlet/servlet-class
  !--
  This parameter points to the main configuration file for Cocoon.
  Note that the path is specified in absolute notation but
  it will be
  resolved relative to the servlets webapp context path
  --
  init-param
  param-nameconfigurations/param-name
  param-value/WEB-INF/cocoon.xconf/param-value
  /init-param
  !--
  This parameter tells cocoon to set the thread's context
  classloader
  to
  its own classloader. If you experience strange classloader
issues,
  try setting this parameter to true or using
  ParanoidCocoonServlet.
  --
  init-param
  param-nameinit-classloader/param-name
  param-valuefalse/param-value
  /init-param
  !--
  This parameter indicates the configuration file of the LogKit
management
  --
  init-param
  param-namelogkit-config/param-name
  param-value/WEB-INF/logkit.xconf/param-value
  /init-param
  !--
  This parameter indicates the category id of the logger from the
  LogKit
  configuration used by the CocoonServlet.
  --
  init-param
  param-nameservlet-logger/param-name
  param-valueaccess/param-value
  /init-param
  !--
  This parameter indicates the category id of the logger from 

RE: can't get browser selector working

2003-01-21 Thread Reinhard Pötz
 -Original Message-
 From: Hans Thomas Nordeck [mailto:[EMAIL PROTECTED]] 

 I want to use the browser selector in a mounted sitemap. The 
 selector is well defined in the components part of the 
 sitemap. The Parameter viewType never gets a value. I can't 
 get it working.  Does anybody has an idea what the problem 
 is? (I'm working with cocoon 2.1 dev, do you think that could 
 be the problem? cause for me everything looks right)
 
 Thanks a lot for help!


Selectors can't be used to selecet between parameters. Selectors are
sitemap components that enable to select between other components. An
example can be found here:
http://xml.apache.org/cocoon/userdocs/selectors/selectors.html

If you want to select between parameters of an action do it within your
action.

Regards,
Reinhard


 
 map:match pattern=*/**/content.html
  map:act type=cms.actions.template
   map:parameter name=parameters value=true/
   map:parameter name=language value={1}/
   map:parameter name=path value={2}/
  map:select type=browser
  map:when test=pocketexplorer
   map:parameter name=viewType value=browser/
  /map:when
  map:otherwise
   map:parameter name=viewType value=browser/
  /map:otherwise
 /map:select
   map:generate type=CmsContent
map:parameter name=parameters value=true/
map:parameter name=viewComponentId value={viewComponentId}/
   /map:generate
 
   map:transform src=templates/{template}.xsl/
 
   map:serialize type=html/
  /map:act
 /map:match
 
 
 -
 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]




RE: Parsing multipart form data

2003-01-21 Thread Geoff Howard
That explains alot.  Thanks for reporting back.

Geoff

 -Original Message-
 From: Collin VanDyck [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 21, 2003 5:14 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Parsing multipart form data


 Geoff

 Ok, everything is working now.  Strangely, I had in addition to my
 cocoon-2.0.4.jar, a rogue cocoon-2.0.2 which I believe was
 getting deployed
 first or with priority by my container.  Argh.  Thanks for your help!
 Everything is working perfectly now.

 Collin


 - Original Message -
 From: Geoff Howard [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, January 20, 2003 7:27 PM
 Subject: RE: Parsing multipart form data


  
   Hi Geoff,
  
   When I cast directly to FilePartArray I get a
 ClassCastException, which
 I
   thought was due to Cocoon not receiving the init-param correctly.  Is
 that
   normal?
  
   Collin
 
  That sounds right.  Change it back to FilePartArray of course.  So, back
 to
  web.xml/cocoon version for the culprit?
  - Since you have three web.xml files (one per webapp), make sure you're
  changing the same one you're testing on (or all three).
  - Make sure you restart after modifying web.xml.
  - Confirm what version of cocoon you're using - how did you get 2.0.4?
 What
  is the date of the main cocoon jar?
 
  Geoff
 
  
  
   - Original Message -
   From: Geoff Howard [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Monday, January 20, 2003 5:37 PM
   Subject: RE: Parsing multipart form data
  
  
There you go - you've cast to FilePartFile - cast to FilePart
   (or directly
to FilePartArray) and you're set.  We need another example
 at the Wiki
(assuming that's where you got the concept from?) showing
 FilePartArray.
   
Should have thought of that first,
Geoff
   
 -Original Message-
 From: Collin VanDyck [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 20, 2003 5:22 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Parsing multipart form data


 Hi Geoff.

 Here's really the only thing I'm doing with it right now.

 FilePartFile fpf = (FilePartFile)request.get(file_content);
 log.info(received file of name:  + fpf.getFileName());

 thanks,--
 Collin






 - Original Message -
 From: Geoff Howard [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, January 20, 2003 5:32 PM
 Subject: RE: Parsing multipart form data


  ah, that brings to mind another idea - send a snippet of your
 action that
  deals with getting the FilePart...
 
  Geoff
 
   -Original Message-
   From: Collin VanDyck [mailto:[EMAIL PROTECTED]]
   Sent: Monday, January 20, 2003 5:02 PM
   To: [EMAIL PROTECTED]
   Subject: Re: Parsing multipart form data
  
  
   Here is my web.xml file. (It's long, so an apology in
 advance).
 I
   hope this
   helps, and I really do appreciate everyone's help in
 this list.
  
   I commented out overwrite-uploads and set the autosave-uploads
 to
   false, but
   I still get a FilePartFile instead of a FilePartArray.
  
   thanks,
   Collin
  
  
  
   ?xml version=1.0 encoding=UTF-8?
   !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web
 Application
   2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
   web-app
   display-nameContentXML web app/display-name
   descriptionProvides the administration interface to the
   ContentXML
   System/description
   servlet
   servlet-nameCocoon2/servlet-name
   display-nameCocoon2/display-name
   descriptionThe main Cocoon2 servlet/description
   !--
   In cases you're facing class loader problems you can
 alternatively
   use the following servlet-class instead of the normal one
  
 servlet-classorg.apache.cocoon.servlet.ParanoidCocoonServlet/se
   rvlet-clas
   s
   --
  
   servlet-classorg.apache.cocoon.servlet.CocoonServlet/servlet-class
   !--
   This parameter points to the main configuration file
 for Cocoon.
   Note that the path is specified in absolute notation but
   it will be
   resolved relative to the servlets webapp context path
   --
   init-param
   param-nameconfigurations/param-name
   param-value/WEB-INF/cocoon.xconf/param-value
   /init-param
   !--
   This parameter tells cocoon to set the thread's context
   classloader
   to
   its own classloader. If you experience strange classloader
 issues,
   try setting this parameter to true or using
   ParanoidCocoonServlet.
   --
   init-param
   param-nameinit-classloader/param-name
   param-valuefalse/param-value
   /init-param
   !--
   This parameter indicates the configuration file of the LogKit
 management
   --
   init-param
   

Re: SessionTransformer - Getting request parametervalues

2003-01-21 Thread Yves Vindevogel
I don't see the reason to use the SessionTransformer ...
Use the XSP generator.  This has the Request object.
One of the tags in xsp-request is the URL, the querystring and all the 
parameters (see xml.apache.org/cocoon ... user guide ... xsp, bottom of the 
page, all the properties)
You'll have everything you need there to write your code ...

 Hi,

 I'm looking for help in how to extract parameter
 values using SessionTransformer.

 My uri looks like this:

 myaction?item=1item=2item=3


 My goal is to turn this into the following xml:

 items
  item1/item
  item2/item
  item3/item
 /items



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




Re: Hello and question

2003-01-21 Thread Yves Vindevogel
You can use XPath in XSL.
Something like  xsl:for-each select=timeSeries/seriesName/observation[ 
date='2001-03-13']/*
   xsl:...
/xsl:for-each

In cocoon, there are ways to loop through a directory, so you can query 
every file 


 timeSeries
   seriesNameP12345/seriesName
   observation

   date2001-03-12/date
   value1.25/value

   date2001-03-13/date
   value1.28/value

   /observation
 /timeSeries

 ... etc.

 Now: using the various mechanisms available through Cocoon, how best
 would I query a given file (directly, as opposed to through a
 database) via an HTML form, e.g., to extract and display only
 selected dates/values?


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




Re: Hello and question

2003-01-21 Thread John Austin
As always, ... it depends ...

You haven't said how many different time-series files you will
be using and you haven't said how often these will be updated
and/or queried.

Your proposed solution may be appropriate and quite simple to
implement or it may be a disaster in the making. Outsiders
can't help you without much more information.


On Tue, 2003-01-21 at 16:47, Brent Eades wrote:
 Hello,
 
 A word of introduction... I belonged to the list a year or so back, 
 but got sidetracked from Cocoon for awhile. Now I'm back tinkering 
 with 2.04, and have no shortage of questions.
 
 Here's one (a rather broad and newbie-ish one.) In my project I have 
 a large number of XML files that correspond to time series. Each is 
 the same format:
 
 timeSeries
   seriesNameP12345/seriesName
   observation
 
   date2001-03-12/date
   value1.25/value
 
   date2001-03-13/date
   value1.28/value
 
   /observation  
 /timeSeries
 
 ... etc.
 
 Now: using the various mechanisms available through Cocoon, how best 
 would I query a given file (directly, as opposed to through a 
 database) via an HTML form, e.g., to extract and display only 
 selected dates/values?
 
 I have a vague grasp of various ways I could do this if my data were 
 to reside in an intermediate DBMS of some sort, but the objective 
 here is to store each time series as an XML source file only, while 
 still being able to query it.
 
 Does this make any sense? :)
 
 -
 Brent Eades, Almonte, Ontario
  http://www.almonte.com
  http://www.bankofcanada.ca
 
 
 -
 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]
-- 
John Austin [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]




Re: Hello and question

2003-01-21 Thread Brent Eades
On 21 Jan 2003 at 18:29, John Austin wrote:

 As always, ... it depends ...
 
 You haven't said how many different time-series files you will
 be using and you haven't said how often these will be updated
 and/or queried.
 
 Your proposed solution may be appropriate and quite simple to
 implement or it may be a disaster in the making. Outsiders
 can't help you without much more information.

Yes, I know it was a broad (and not especially Cocoon-specific) 
question. 

Here's the context: We have several hundred thousand time series, but 
they will, for the foreseeable future, remain in their present 
repository (the Fame time series database application.)

However, there are a few hundred series which our staff use 
regularly, and which they need to query, graph, plug into reports, 
save as PDFs, import into spreadsheets, etc. By and large, the Cocoon 
framework seems like a promising way of providing these multiple 
views of the data.

At this early stage in our planning, we're considering a mechanism 
whereby these few hundred series are dumped from Fame into XML, one 
file per time series. We explicitly don't want to dump the data into 
some intermediate format (e.g, Oracle or whatever), because Fame will 
remain the core database.

So I suppose I was just trying to get a handle on what the 
preferred methods would be of using web forms to do simple queries 
on these XML files... other folks mentioned XSLT, which I realize 
would be one route... but I still don't know enough about JSP, XSP, 
etc, to know what other mechanisms might be available.

-
Brent Eades, Almonte, Ontario
 http://www.almonte.com
 http://www.bankofcanada.ca


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




WebSphere 5 and Cocoon - new user

2003-01-21 Thread Cameron McKenzie
I'm trying to sell my coworkers on cocoon and
WebSphere, but when I install it on websphere 5, both
the WSAD and the server, I get a continual redirect at
the welcome page, and nothing works.  

However, the same war works fine on Tomcat and
WebSphere 4.  Any ideas?  I can't convince my friends
to use Cocoon if I can't get it to work!

-Cameron Mckenzie

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




Serving servlet under WebLogic 7.0

2003-01-21 Thread Xiaonan Zheng

Can anybody tell me how to configure Cocoon 2.0.4 to serve servlet under
WebLogic 7.0?

Thanks,
Shannon.






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




Re: Schematron transform in a Cocoon pipeline

2003-01-21 Thread Oskar Casquero
Hi Jack,

I have done the same to validate an XML document with an schematron. I think
that it would be also useful to get the XPATH path of the errors in the XML
output. The template which does this is done in skeleton1-5 (axsl:template
match=*|@* mode=schematron-get-full-path); so you have to call it from
the assert template:

xsl:template match=sch:assert | assert
xsl:if test=not(@test)
xsl:messageMarkup Error: no test attribute in
lt;assert/xsl:message
/xsl:if
axsl:choose
axsl:when test={@test}/
axsl:otherwise
error !--my xml output--
message !--my xml output--
xsl:call-template name=process-assert
xsl:with-param name=role select=@role/
xsl:with-param name=id select=@id/
xsl:with-param name=test
select=normalize-space(@test) /
xsl:with-param name=icon select=@icon/
xsl:with-param name=subject select=@subject/
xsl:with-param name=diagnostics
select=@diagnostics/
/xsl:call-template
/message
location !--my xml output--
axsl:apply-templates mode=schematron-get-full-path
select=self::*/ !--XPATH path of the error--
/location
/error
 /axsl:otherwise
/axsl:choose
/xsl:template

Oskar

- Original Message -
From: John R. Callahan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 21, 2003 9:58 PM
Subject: Schematron transform in a Cocoon pipeline


 This seems too simple, but I wanted to see if I could
 use Schematron generated XSLT to validate some
 XML in a Cocoon pipeline.  This might be used for
 validating uploaded  XML files for example.

 I downloaded the latest Schematron skeleton (1.5),
 then generated some XSLT from a set of assertions,
 and then put it into a transform in a pipeline with some
 data:

 map:match pattern=*.xml
   map:generate src={1}.xml/
   map:transform src=asserts1.xsl/
   map:serialize type=xml/
 /map:match

 !-- build the Schematron generated XSLT --
 map:match pattern=asserts1.xsl
   map:generate src=asserts1.sch/
   map:transform src=skeleton1-5.xsl/
   map:transform src=store.xsl
   map:parameter name=file value=asserts1.xsl/
   map:parameter name=dir value=./
   /map:transform
   map:transform type=write-source/
   map:serialize type=xml/
 /map:match

 (see below for the source code for store.xsl)

 Unfortunately, the Schematron skeleton puts out plain
 text messages so the output from data1.xml isn't well-formed
 XML.  What I wanted was a series of applicable
 Schematron messages as XML output.  So, I altered
 the skeleton somewhat and now I works!

 My alterations to the skeleton were pretty simple:

 (1)  Add the following template:

 xsl:template match=sch:error | error mode=text
  xsl:copy-of select=./
 /xsl:template

 (2) Wrap a sch:results around the / template:

   axsl:template match=/
   sch:results
   xsl:call-template name=process-root
 ...
   /xsl:call-template
   /sch:results
   /axsl:template

 Finally, you must wrap all messages in the .sch file with
 sch:error.../sch:error as follows:

 sch:schema xmlns:sch=http://www.ascc.net/xml/schematron;
 ...
 sch:assert test=(@Title = 'Mr' and Sex = 'Male') or @Title != 'Mr'
   sch:errorIf the Title is Mr then the sex of the person must be
Male./sch:error
 /sch:assert
 ...
 /sch:schema

 Enjoy!

 -- jack


 (The XSLT file store.xsl is my own brew to wrap an
 element around the input source for use by the subsequent
 SourceWriterTransformer:

 ?xml version=1.0 encoding=UTF-8?
 !-- CVS: $Id: store.xsl,v 1.1 2002/12/16 11:04:11 callahan Exp $ --

 xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;

 xsl:param name=file select='foo'/
 xsl:param name=dir select='foo'/

 xsl:template match=/
 source:write xmlns:source=http://apache.org/cocoon/source/1.0;
  source:sourcexsl:value-of select=$dir//xsl:value-of
select=$file//source:source
  source:fragment
  xsl:copy-of select=./
  /source:fragment
 /source:write
 /xsl:template

 /xsl:stylesheet
 )



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