cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <John.Morri...@uk.experian.com>
Subject RE: Aggregation Error
Date Tue, 02 Oct 2001 15:28:19 GMT


> -----Original Message-----
> From: Alexander Smirnoff [mailto:asmirnoff@vistar.ca]
> Sent: Tuesday, 02 October 2001 4:20 pm
> To: cocoon-users@xml.apache.org
> Subject: Aggregation Error
> 
> 
> Hi everyone,
> 
> Maybe I do not get the idea of pipelines and the aggregation 
> stuff, but this
> what happens:
> 
> My sitemap has:
> 
> <map:pipeline>
> ....
>    <map:match pattern="account">
>        <map:generate src="xsp/account.xsp" type="serverpages"/>
>        <map:serialize type="xml"/>
>    </map:match>
>    <map:match pattern="request/messages">
>        <map:aggregate element="Response">
>            <map:part src="cocoon:account"/>

try

		 <map:part src="cocoon:/account"/>

>        </map:aggregate>
>        <map:serialize type="xml"/>
>    </map:match>
> ....
> </map:pipeline>
> 
> When I send http://loalhost:8080/mysite/request/messages 
> cocoon goes wild by
> giving me Exception:
> 
> Could not get sitemap source http://localhost:8080/mysite/account:
> java.lang.NullPointerException,
> 
> but http://localhost:8080/mysite/account does work fine. Any ideas?
> 
> Thanks,
> Alexander Smirnoff
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message