cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hahn Kurt (CHA)" <kurt.h...@etat.ge.ch>
Subject RE: A little help with aggregation
Date Thu, 06 Jun 2002 09:50:41 GMT
I did some more testing and checked the logs. It's confusing, because the
error is:

org.apache.cocoon.ProcessingException: Could not get sitemap source
http://st-080234:8080/cocoon/mount/AigleK/pv/title/229124.xml BUT:This URL
is working if I copy/paste it directly into the browser. I restarted my PC
to be sure and have all the cached information removed, the error remains
the same. The only good thing is that now I know that my parameter-value is
correctly passed. 
How can Cocoon not find this URL from its sitemap?


-----Message d'origine-----
De : Stephan Michels [mailto:stephan@vern.chem.tu-berlin.de]
Envoyé : jeudi, 6. juin 2002 10:59
À : 'cocoon-users@xml.apache.org'
Objet : RE: A little help with aggregation




On Thu, 6 Jun 2002, Hahn Kurt (CHA) wrote:

> Adding the root element to map:aggregate fixed the error, I can now
display
> what once will be the aggregated page. But, I don't get the content of my
> parts, I just get this:
>
> <pvDoc>
>   <title xmlns="http://some.thing.com/title" />
> </pvDoc>
>
> I changed the sitemap a little to make it clearer, it now looks like this:
>
> <map:match pattern="pvDoc/*.pdf">
>     <map:aggregate element="pvDoc">
> 	<map:part src="cocoon:/pv/title/{1}.xml" element="title"
> ns="http://etat.geneve.com/title"/>
> 	<map:part src="cocoon:/pv/{1}.xml" element="pvtexte"
> ns="http://etat.geneve.com/pvtexte"/>
>     	</map:aggregate>
>     	<map:serialize type="xml"/>
> </map:match>
>
> As I mentioned before, the parts called individually work fine. I'm
> suspecting that maybe the parameter isn't passed correctly. Can somebody
> confirm (or disconfirm ) if my syntaxe is correct?
>

Could you find any errors in WEB-INF/logs/error.log, or something else in
sitemap.log?


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

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