Bug 29559 - switch to anchor syntax in pipelines
Summary: switch to anchor syntax in pipelines
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: Trunk
Hardware: Other other
: P3 enhancement
Target Milestone: 2.0.1
Assignee: Lenya Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-14 16:51 UTC by Gregor J. Rothfuss
Modified: 2007-07-16 02:19 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor J. Rothfuss 2004-06-14 16:51:51 UTC
i just learned that you can do
> 
>   ...
>   <map:match pattern="images/*.gif" name="root">
>      <map:act type="resource-exists">
>        <map:parameter name="url" value="images/{1}.gif">
>        <!-- new level -->
>        <map:read src="images/{#root:1}.gif" mime-type="images/gif"/>
>      </map:act>
>   </map:match>
>   ...
> 
> http://wiki.apache.org/cocoon/SitemapVariableSubstitution
> 
> (notice the {#root:1}). given that our sitemaps are quite complex, and a 
> lot of internal requests happen, wouldnt it make sense to name pipelines 
> and use this syntax?
Comment 1 Gregor J. Rothfuss 2004-10-29 02:06:50 UTC
we need to find out if these names are sitemap-local or global because we do a
lot of cross-sitemap variable substitution.