cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@apache.org>
Subject Re: slide-sample is losing principal-data
Date Mon, 18 Nov 2002 09:29:09 GMT


On Mon, 18 Nov 2002, Alexander Peters wrote:

> Hello Cocoon-developers,
>
> i'm trying to get cocoon using jakarta-slide as repository for the xml documents.
> While running the slide sample in the cvs/scratchpad (11.11.2002) i recognized
> that the sample is losing the principal-data at some places. For example:
>
> sitemap.xmap
> --------------
>      <map:match pattern="view/**">
> -      <map:read src="slide://{1}?cocoon-principal={../ID}"/>
> +      <map:read src="slide://{1}?cocoon-source-principal={../ID}"/>
>      </map:match>
>
>
> src/scratchpad/src/org/apache/cocoon/generation/SourceDescriptionGenerator
> -------------------------------------------------------------------------------
> private void collectSources(Hashtable sources, String uri, int deep){
> ..
> 252:     collectSources(sources, traversablesource.getChildSource(i), deep-1);
> ...
> private void pushSourceDescription(String systemid, int deep) {
> 368:      pushSourceDescription(traversablesource.getChildSource(i), deep-1);
>
> [getChildSource returns only the name]
>
> src/scratchpad/webapp/samples/slide/description2html4content.xsl
> -------------------------------------------------------------------
> 212/218:                <xi:include href="{@source:systemid}" parse="text"/>
>
> [systemid does not contain the uri parameter]
>
> Because i'm new to cocoon and the list i would like to know if anybody is
> already working on it and further bugs/patches should be posted to the bugzilla, the
> committer or the list.

Thanks for your hint, I will look into that.

Bugs/Patches should always went into bugzilla, mails can get lost.

Stephan Michels.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message