View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cocoon/trunk/server/src/webapp/sitemap.xmap
Revision: 4871
Committed: Mon Feb 5 14:34:01 2007 UTC (13 years, 9 months ago) by nvankampenhout
File size: 11625 byte(s)
Error occurred while calculating annotation data.
Log Message:
HIPCO-58: Changed package name of JXTemplateTransformer to use the one in Hippo Misc rather than the broken on in Cocoon 2.1.10.

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?>
2 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
3 <map:components>
4 <map:generators default="file">
5 <map:generator name="file"
6 src="org.apache.cocoon.generation.FileGenerator"
7 label="content"
8 logger="sitemap.generator.file"
9 pool-min="4" pool-max="32" pool-grow="4"
10 />
11 <map:generator name="jx"
12 src="nl.hippo.cocoon.generation.JXTemplateGenerator"
13 label="content"
14 logger="sitemap.generator.jx"
15 pool-min="4" pool-max="32" pool-grow="4"
16 />
17 <map:generator name="status"
18 src="nl.hippo.cocoon.generation.StatusGenerator"
19 label="content"
20 logger="sitemap.generator.status"
21 pool-min="4" pool-max="32" pool-grow="4"
22 />
23 <map:generator name="notifying" src="org.apache.cocoon.sitemap.NotifyingGenerator"/>
24 </map:generators>
25 <map:transformers default="xslt">
26 <map:transformer name="xslt"
27 src="org.apache.cocoon.transformation.TraxTransformer"
28 logger="sitemap.transformer.xslt"
29 pool-min="4" pool-max="32" pool-grow="2">
30 <use-request-parameters>false</use-request-parameters>
31 <use-session-parameters>false</use-session-parameters>
32 <use-cookie-parameters>false</use-cookie-parameters>
33 <xslt-processor-role>xalan</xslt-processor-role>
34 <check-includes>true</check-includes>
35 </map:transformer>
36 <map:transformer name="xsltc"
37 logger="sitemap.transformer.xsltc"
38 src="org.apache.cocoon.transformation.TraxTransformer"
39 pool-min="4" pool-max="32" pool-grow="4">
40 <use-request-parameters>false</use-request-parameters>
41 <use-session-parameters>false</use-session-parameters>
42 <use-cookie-parameters>false</use-cookie-parameters>
43 <xslt-processor-role>xsltc</xslt-processor-role>
44 <check-includes>true</check-includes>
45 </map:transformer>
46 <map:transformer name="webdav"
47 src="nl.hippo.cocoon.transformation.WebDAVTransformer"
48 logger="sitemap.transformers.webdav"
49 pool-min="4" pool-max="32" pool-grow="4">
50 <parameter name="httpstate" value="site:httpstate"/>
51 </map:transformer>
52 </map:transformers>
53 <map:serializers default="html">
54 <map:serializer name="links"
55 logger="sitemap.serializer.links"
56 src="org.apache.cocoon.serialization.LinkSerializer"
57 pool-min="4" pool-max="32" pool-grow="4"
58 />
59 <map:serializer name="xml"
60 logger="sitemap.serializer.xml"
61 mime-type="text/xml"
62 src="org.apache.cocoon.serialization.XMLSerializer"
63 pool-min="4" pool-max="32" pool-grow="4"
64 />
65 <map:serializer name="html"
66 logger="sitemap.serializer.html"
67 mime-type="text/html"
68 src="org.apache.cocoon.serialization.HTMLSerializer"
69 pool-min="4" pool-max="32" pool-grow="4">
70 <doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public>
71 <doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
72 </map:serializer>
73 </map:serializers>
74 <map:readers default="resource">
75 <map:reader name="resource"
76 src="org.apache.cocoon.reading.ResourceReader"
77 logger="sitemap.reader.resource"
78 pool-min="4" pool-max="32" pool-grow="4"
79 />
80 </map:readers>
81 <map:matchers default="wildcard">
82 <map:matcher name="wildcard"
83 src="org.apache.cocoon.matching.WildcardURIMatcher"
84 logger="sitemap.matcher.wildcard"
85 />
86 <map:matcher name="site"
87 src="nl.hippo.cocoon.matching.SiteMatcher"
88 logger="sitemap.matcher.site"
89 />
90 </map:matchers>
91 <map:selectors default="parameter">
92 <map:selector name="exception"
93 src="org.apache.cocoon.selection.ExceptionSelector"
94 logger="sitemap.selector.exception">
95 <exception name="not-found"
96 class="org.apache.cocoon.ResourceNotFoundException"
97 />
98 <exception name="not-found"
99 class="java.io.FileNotFoundException"
100 />
101 <exception name="invalid-continuation"
102 class="org.apache.cocoon.components.flow.InvalidContinuationException"
103 />
104 <exception name="not-found"
105 class="org.apache.excalibur.source.SourceNotFoundException"
106 />
107 <exception class="java.lang.Throwable" unroll="true"/>
108 </map:selector>
109 <map:selector name="parameter"
110 src="org.apache.cocoon.selection.ParameterSelector"
111 logger="sitemap.selector.parameter"
112 />
113 </map:selectors>
114 <map:actions>
115 <map:action name="clear-cache"
116 logger="sitemap.action.clear-cache"
117 src="org.apache.cocoon.acting.ClearCacheAction"
118 />
119 <map:action name="clear-eventawaretransientstore"
120 logger="sitemap.action.clear-cache"
121 src="nl.hippo.cocoon.acting.ClearEventAwareTransientStoreAction"
122 />
123 </map:actions>
124 <map:pipes default="caching">
125 <map:pipe name="caching"
126 src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline"
127 logger="sitemap.pipes.caching">
128 <!-- Commented out caching to make error reporting work -->
129 <!--parameter name="outputBufferSize" value="32768"/-->
130 </map:pipe>
131 <map:pipe name="ecaching"
132 src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline"
133 logger="sitemap.pipes.ecaching">
134 <parameter name="cache-role" value="org.apache.cocoon.caching.Cache/EventAware"/>
135 <!-- Commented out caching to make error reporting work -->
136 <!--parameter name="outputBufferSize" value="32768"/-->
137 </map:pipe>
138
139 <map:pipe logger="sitemap.pipes.ecaching" name="wbdvcaching" src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline">
140 <parameter name="cache-role" value="org.apache.cocoon.caching.Cache/EventAwareRepositoryDoc"/>
141 <!-- Commented out caching to make error reporting work -->
142 <!--parameter name="outputBufferSize" value="32768"/-->
143 </map:pipe>
144
145 <map:pipe name="noncaching"
146 src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline"
147 logger="sitemap.pipes.noncaching">
148 <!-- A 1 MB (1048576 B) buffer for the noncaching pipeline, for pdfs and things? -->
149 <!-- Leaving it at 32KB for now, since it doesn't really matter here -->
150 <parameter name="outputBufferSize" value="32768"/>
151 </map:pipe>
152 </map:pipes>
153 </map:components>
154
155 <map:pipelines>
156
157 <map:pipeline id="system-private" internal-only="true"/>
158
159 <map:pipeline id="system-public">
160
161 <map:match pattern="system/images/*.gif">
162 <map:read mime-type="images/gif" src="resources/images/{1}.gif"/>
163 </map:match>
164
165 <map:match pattern="system/styles/*.css">
166 <map:read mime-type="text/css" src="resources/styles/{1}.css"/>
167 </map:match>
168
169 <map:match pattern="system/scripts/*.js">
170 <map:read mime-type="text/javascript" src="resources/scripts/{1}.js"/>
171 </map:match>
172
173 <map:match pattern="system/favicon.ico">
174 <map:read mime-type="image/x-icon" src="resources/icons/hippo.ico"/>
175 </map:match>
176
177 <map:match type="site">
178 <map:mount src="{src}" uri-prefix="{uri-prefix}"/>
179 </map:match>
180
181 <map:select id="domains" type="parameter">
182 <map:parameter name="parameter-selector-test" value="{request:serverName}"/>
183 </map:select>
184
185 <map:select id="cli" type="parameter">
186 <map:parameter name="parameter-selector-test" value="{request-param:user-agent}"/>
187 </map:select>
188
189 <!-- welcome page -->
190 <map:match pattern="">
191 <map:generate src="welcome.xml"/>
192 <map:transform src="welcome.xslt">
193 <map:parameter name="contextPath" value="{request:contextPath}"/>
194 <map:parameter name="year" value="{cocoon-properties:/year}"/>
195 </map:transform>
196 <map:serialize type="html"/>
197 </map:match>
198
199 <map:match pattern="status">
200 <map:generate type="status">
201 <map:parameter name="hippo-cocoon" value="2.1.8.14-dev"/>
202 <map:parameter name="store" value="{request-param:store}"/>
203 <map:parameter name="extended-report" value="{request-param:extended-report}"/>
204 <map:parameter name="clear-stats" value="{request-param:clear-stats}"/>
205 <map:parameter name="analyze-this" value="{request-param:analyze-this}"/>
206 </map:generate>
207 <map:transform type="xslt" src="stylesheets/system/status2html.xslt"/>
208 <map:serialize/>
209 </map:match>
210
211 <map:match pattern="clearcache">
212 <map:act type="clear-cache">
213 <map:generate type="status"/>
214 <map:transform type="xslt" src="stylesheets/system/status2html.xslt"/>
215 <map:serialize/>
216 </map:act>
217 </map:match>
218
219 <map:match pattern="clearcache-repository-doc">
220 <map:act type="clear-cache">
221 <map:parameter name="cache-role" value="org.apache.cocoon.caching.Cache/EventAwareRepositoryDoc"/>
222 <map:generate type="status"/>
223 <map:transform type="xslt" src="stylesheets/system/status2html.xslt"/>
224 <map:serialize/>
225 </map:act>
226 </map:match>
227
228 <map:match pattern="clearcache-repository-binary">
229 <map:act type="clear-cache">
230 <map:parameter name="cache-role" value="org.apache.cocoon.caching.Cache/EventAwareRepositoryBinary"/>
231 <map:generate type="status"/>
232 <map:transform type="xslt" src="stylesheets/system/status2html.xslt"/>
233 <map:serialize/>
234 </map:act>
235 </map:match>
236
237 <map:match pattern="clear-eventawaretransientstore">
238 <map:act type="clear-eventawaretransientstore">
239 <map:generate type="status"/>
240 <map:transform type="xslt" src="stylesheets/system/status2html.xslt"/>
241 <map:serialize/>
242 </map:act>
243 </map:match>
244
245 </map:pipeline>
246
247 <map:handle-errors>
248 <map:select type="exception">
249
250 <map:when test="not-found">
251 <map:generate type="notifying"/>
252 <map:transform src="stylesheets/system/error2html.xslt">
253 <map:parameter name="pageTitle" value="Resource not found"/>
254 </map:transform>
255 <map:serialize status-code="404"/>
256 </map:when>
257
258 <map:when test="invalid-continuation">
259 <map:generate src="not-found.xml"/>
260 <map:transform src="welcome.xslt"/>
261 <map:serialize status-code="404"/>
262 </map:when>
263
264 <map:otherwise>
265 <map:generate type="notifying"/>
266 <map:transform src="stylesheets/system/error2html.xslt"/>
267 <map:serialize status-code="500"/>
268 </map:otherwise>
269 </map:select>
270
271 </map:handle-errors>
272 </map:pipelines>
273 </map:sitemap>

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision