cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r539133 - in /cocoon/trunk/blocks: cocoon-profiler/cocoon-profiler-sample/src/main/resources/COB-INF/ cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/ cocoon-template/cocoon-template-sample/src/main/resources/COB-INF/
Date Thu, 17 May 2007 21:50:32 GMT
Author: felixk
Date: Thu May 17 14:50:31 2007
New Revision: 539133

URL: http://svn.apache.org/viewvc?view=rev&rev=539133
Log:
reformatting ...

Modified:
    cocoon/trunk/blocks/cocoon-profiler/cocoon-profiler-sample/src/main/resources/COB-INF/sitemap.xmap
    cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/sitemap.xmap
    cocoon/trunk/blocks/cocoon-template/cocoon-template-sample/src/main/resources/COB-INF/sitemap.xmap

Modified: cocoon/trunk/blocks/cocoon-profiler/cocoon-profiler-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-profiler/cocoon-profiler-sample/src/main/resources/COB-INF/sitemap.xmap?view=diff&rev=539133&r1=539132&r2=539133
==============================================================================
--- cocoon/trunk/blocks/cocoon-profiler/cocoon-profiler-sample/src/main/resources/COB-INF/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-profiler/cocoon-profiler-sample/src/main/resources/COB-INF/sitemap.xmap
Thu May 17 14:50:31 2007
@@ -18,107 +18,107 @@
 
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
 
-<!-- =========================== Views =================================== -->
+    <!-- =========================== Views =================================== -->
 
- <map:views>
-  <map:view name="content" from-label="content">
-   <map:serialize type="xml"/>
-  </map:view>
-
-  <map:view from-label="content" name="pretty-content">
-    <map:transform src="servlet:style-default:/stylesheets/system/xml2html.xslt"/>
-    <map:transform type="servletLinkRewriter" />
-    <map:serialize type="html"/>
-  </map:view>
-
-  <map:view name="links" from-position="last">
-   <map:serialize type="links"/>
-  </map:view>
-  
- </map:views>
-
-<!-- =========================== Pipelines ================================= -->
-
- <map:pipelines>
-
-<!-- =========================== Cacheable ================================= -->
-
-  <map:pipeline type="profile-caching">
-
-   <map:match pattern="caching-testsite.html">
-    <map:generate src="test.xml"/>
-    <map:transform src="test2page.xsl"/>
-    <map:transform src="servlet:style-default:/common/style/xsl/html/complex-page2html.xsl"
/>
-    <map:transform type="servletLinkRewriter" />
-    <map:serialize type="html"/>
-   </map:match>
-
-  </map:pipeline>
-
-<!-- =========================== Noncacheable ================================= -->
-
-  <map:pipeline type="profile-noncaching">
-
-   <map:match pattern="noncaching-testsite.html">
-    <map:generate src="test.xml"/>
-    <map:transform src="test2page.xsl"/>
-    <map:transform src="servlet:style-default:/common/style/xsl/html/complex-page2html.xsl"
/>
-    <map:transform type="servletLinkRewriter" />
-    <map:serialize type="html"/>
-   </map:match>
-
-  </map:pipeline>
-
-<!-- =========================== Profiler ================================= -->
-
-  <map:pipeline type="caching">
-
-   <map:match pattern="">
-    <map:redirect-to uri="welcome"/>
-   </map:match>
-
-   <map:match pattern="welcome">
-    <map:generate src="samples.xml"/>
-    <map:transform src="servlet:style-default:/common/style/xsl/html/simple-samples2html.xsl"
/>
-    <map:transform type="servletLinkRewriter" />
-    <map:serialize/>
-   </map:match>
-  
-   <map:match pattern="profile.html">
-    <map:generate type="profiler"/>
-    <!-- The type for this transform is set to xalan, because it causes an
-         ArrayIndexOutOfBoundsException with xsltc (filed as bug 19770) -->
-    <map:transform type="xalan" src="profile2page.xsl">
-     <map:parameter name="use-request-parameters" value="true"/>
-    </map:transform>
-    <map:transform src="servlet:style-default:/common/style/xsl/html/complex-page2html.xsl"
/>
-    <map:transform type="servletLinkRewriter" />
-    <map:serialize type="html"/>
-   </map:match>
-
-   <map:match pattern="profile2.html">
-    <map:generate type="profiler"/>
-    <map:transform src="profile2html.xsl">
-     <map:parameter name="use-request-parameters" value="true"/>
-    </map:transform>
-    <map:serialize type="html"/>
-   </map:match>
-
-   <map:match pattern="profile.xml">
-    <map:generate type="profiler"/>
-    <map:serialize type="xml"/>
-   </map:match>
-
-   <map:match pattern="*.css">
-    <map:read src="{1}.css" mime-type="text/css"/>
-   </map:match>
-
-   <map:match pattern="*.js">
-    <map:read src="{1}.js" mime-type="text/javascript"/>
-   </map:match>
-   
-  </map:pipeline>
- 
- </map:pipelines>
+    <map:views>
+        <map:view name="content" from-label="content">
+            <map:serialize type="xml" />
+        </map:view>
+
+        <map:view from-label="content" name="pretty-content">
+            <map:transform src="servlet:style-default:/stylesheets/system/xml2html.xslt"
/>
+            <map:transform type="servletLinkRewriter" />
+            <map:serialize type="html" />
+        </map:view>
+
+        <map:view name="links" from-position="last">
+            <map:serialize type="links" />
+        </map:view>
+
+    </map:views>
+
+    <!-- =========================== Pipelines ================================= -->
+
+    <map:pipelines>
+
+        <!-- =========================== Cacheable ================================= -->
+
+        <map:pipeline type="profile-caching">
+
+            <map:match pattern="caching-testsite.html">
+                <map:generate src="test.xml" />
+                <map:transform src="test2page.xsl" />
+                <map:transform src="servlet:style-default:/common/style/xsl/html/complex-page2html.xsl"
/>
+                <map:transform type="servletLinkRewriter" />
+                <map:serialize type="html" />
+            </map:match>
+
+        </map:pipeline>
+
+        <!-- =========================== Noncacheable =================================
-->
+
+        <map:pipeline type="profile-noncaching">
+
+            <map:match pattern="noncaching-testsite.html">
+                <map:generate src="test.xml" />
+                <map:transform src="test2page.xsl" />
+                <map:transform src="servlet:style-default:/common/style/xsl/html/complex-page2html.xsl"
/>
+                <map:transform type="servletLinkRewriter" />
+                <map:serialize type="html" />
+            </map:match>
+
+        </map:pipeline>
+
+        <!-- =========================== Profiler ================================= -->
+
+        <map:pipeline type="caching">
+
+            <map:match pattern="">
+                <map:redirect-to uri="welcome" />
+            </map:match>
+
+            <map:match pattern="welcome">
+                <map:generate src="samples.xml" />
+                <map:transform src="servlet:style-default:/common/style/xsl/html/simple-samples2html.xsl"
/>
+                <map:transform type="servletLinkRewriter" />
+                <map:serialize />
+            </map:match>
+
+            <map:match pattern="profile.html">
+                <map:generate type="profiler" />
+                <!-- The type for this transform is set to xalan, because it causes an
+                    ArrayIndexOutOfBoundsException with xsltc (filed as bug 19770) -->
+                <map:transform type="xalan" src="profile2page.xsl">
+                    <map:parameter name="use-request-parameters" value="true" />
+                </map:transform>
+                <map:transform src="servlet:style-default:/common/style/xsl/html/complex-page2html.xsl"
/>
+                <map:transform type="servletLinkRewriter" />
+                <map:serialize type="html" />
+            </map:match>
+
+            <map:match pattern="profile2.html">
+                <map:generate type="profiler" />
+                <map:transform src="profile2html.xsl">
+                    <map:parameter name="use-request-parameters" value="true" />
+                </map:transform>
+                <map:serialize type="html" />
+            </map:match>
+
+            <map:match pattern="profile.xml">
+                <map:generate type="profiler" />
+                <map:serialize type="xml" />
+            </map:match>
+
+            <map:match pattern="*.css">
+                <map:read src="{1}.css" mime-type="text/css" />
+            </map:match>
+
+            <map:match pattern="*.js">
+                <map:read src="{1}.js" mime-type="text/javascript" />
+            </map:match>
+
+        </map:pipeline>
+
+    </map:pipelines>
 
 </map:sitemap>

Modified: cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/sitemap.xmap?view=diff&rev=539133&r1=539132&r2=539133
==============================================================================
--- cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-proxy/cocoon-proxy-sample/src/main/resources/COB-INF/sitemap.xmap
Thu May 17 14:50:31 2007
@@ -16,43 +16,42 @@
   limitations under the License.
 -->
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-  <!-- =========================== Views =================================== -->
-  <map:views>
-    <map:view name="xml" from-label="xml">
-      <map:serialize type="xml"/>
-    </map:view>
-  </map:views>
-  <!-- =========================== Pipelines ================================= -->
-  <map:pipelines>
-    <map:pipeline>
-      <map:match pattern="">
-        <map:redirect-to uri="welcome"/>
-      </map:match>
+    <!-- =========================== Views =================================== -->
+    <map:views>
+        <map:view name="xml" from-label="xml">
+            <map:serialize type="xml" />
+        </map:view>
+    </map:views>
+    <!-- =========================== Pipelines ================================= -->
+    <map:pipelines>
+        <map:pipeline>
+            <map:match pattern="">
+                <map:redirect-to uri="welcome" />
+            </map:match>
 
-      <map:match pattern="welcome">
-        <map:generate src="samples.xml"/>
-        <map:transform src="servlet:style-default:/common/style/xsl/html/simple-samples2html.xsl"
/>
-        <map:transform type="servletLinkRewriter" />
-        <map:serialize type="html"/>
-      </map:match>
-    </map:pipeline>
+            <map:match pattern="welcome">
+                <map:generate src="samples.xml" />
+                <map:transform src="servlet:style-default:/common/style/xsl/html/simple-samples2html.xsl"
/>
+                <map:transform type="servletLinkRewriter" />
+                <map:serialize type="html" />
+            </map:match>
+        </map:pipeline>
 
-    <!-- pipeline mounting Cocoon hive portal demo -->
-    <map:pipeline>
-      <map:match pattern="cocoonhive/**">
-        <map:mount src="cocoonhive/" uri-prefix="cocoonhive"/>
-      </map:match>
-    </map:pipeline>
+        <!-- pipeline mounting Cocoon hive portal demo -->
+        <map:pipeline>
+            <map:match pattern="cocoonhive/**">
+                <map:mount src="cocoonhive/" uri-prefix="cocoonhive" />
+            </map:match>
+        </map:pipeline>
 
-    <!-- Interactive Web Application Syndication  -->
-    <map:pipeline>
-      <map:match pattern="wsproxy/*">
-        <map:generate type="wsproxy" label="xml"
-          src="http://{request:serverName}:{request:serverPort}{servlet:main-sample:/}hello-world/hello.xml"/>
-        <map:transform src="servlet:main-sample:/hello-world/style/xsl/page2html.xsl"/>
-        <map:transform type="servletLinkRewriter" />
-        <map:serialize type="html"/>
-      </map:match>
-    </map:pipeline>
-  </map:pipelines>
+        <!-- Interactive Web Application Syndication  -->
+        <map:pipeline>
+            <map:match pattern="wsproxy/*">
+                <map:generate type="wsproxy" label="xml" src="http://{request:serverName}:{request:serverPort}{servlet:main-sample:/}hello-world/hello.xml"
/>
+                <map:transform src="servlet:main-sample:/hello-world/style/xsl/page2html.xsl"
/>
+                <map:transform type="servletLinkRewriter" />
+                <map:serialize type="html" />
+            </map:match>
+        </map:pipeline>
+    </map:pipelines>
 </map:sitemap>

Modified: cocoon/trunk/blocks/cocoon-template/cocoon-template-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-template/cocoon-template-sample/src/main/resources/COB-INF/sitemap.xmap?view=diff&rev=539133&r1=539132&r2=539133
==============================================================================
--- cocoon/trunk/blocks/cocoon-template/cocoon-template-sample/src/main/resources/COB-INF/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-template/cocoon-template-sample/src/main/resources/COB-INF/sitemap.xmap
Thu May 17 14:50:31 2007
@@ -17,47 +17,47 @@
 -->
 
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-  <map:components>
-    <map:matchers default="wildcard">
-      <map:matcher logger="sitemap.matcher.header" name="filename" src="org.apache.cocoon.matching.modular.CachingRegexpMatcher">
-        <input-module name="request-param">
-           <parameter>filename</parameter>
-        </input-module>
-      </map:matcher>
-    </map:matchers>
-  </map:components>
-  <map:views>
-    <map:view name="content" from-label="content">
-      <map:serialize type="xml"/>
-    </map:view>
-    <map:view from-label="content" name="pretty-content">
-      <map:transform src="context://stylesheets/system/xml2html.xslt"/>
-      <map:serialize type="html"/>
-    </map:view>
-    <map:view name="links" from-position="last">
-      <map:serialize type="links"/>
-    </map:view>
-  </map:views>
-  <map:pipelines>
-    <map:pipeline>
-      <map:match pattern="">
-        <map:generate src="welcome.xml"/>
-        <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
-          <map:parameter name="contextPath" value="{request:contextPath}"/>
-        </map:transform>
-        <map:serialize/>
-      </map:match>
-      <map:match pattern="view/*">
-        <map:generate src="view/{1}.jx" type="jx"/>
-        <map:transform src="context://samples/blocks/dynamic-page2html.xsl">
-          <map:parameter name="servletPath" value="{request:servletPath}"/>
-          <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
-          <map:parameter name="contextPath" value="{request:contextPath}"/>
-          <map:parameter name="file" value="view/{1}.jx"/>
-          <map:parameter name="remove" value="{0}"/>
-        </map:transform>
-        <map:serialize/>
-      </map:match>
-    </map:pipeline>
-  </map:pipelines>
+    <map:components>
+        <map:matchers default="wildcard">
+            <map:matcher logger="sitemap.matcher.header" name="filename" src="org.apache.cocoon.matching.modular.CachingRegexpMatcher">
+                <input-module name="request-param">
+                    <parameter>filename</parameter>
+                </input-module>
+            </map:matcher>
+        </map:matchers>
+    </map:components>
+    <map:views>
+        <map:view name="content" from-label="content">
+            <map:serialize type="xml" />
+        </map:view>
+        <map:view from-label="content" name="pretty-content">
+            <map:transform src="context://stylesheets/system/xml2html.xslt" />
+            <map:serialize type="html" />
+        </map:view>
+        <map:view name="links" from-position="last">
+            <map:serialize type="links" />
+        </map:view>
+    </map:views>
+    <map:pipelines>
+        <map:pipeline>
+            <map:match pattern="">
+                <map:generate src="welcome.xml" />
+                <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
+                    <map:parameter name="contextPath" value="{request:contextPath}" />
+                </map:transform>
+                <map:serialize />
+            </map:match>
+            <map:match pattern="view/*">
+                <map:generate src="view/{1}.jx" type="jx" />
+                <map:transform src="context://samples/blocks/dynamic-page2html.xsl">
+                    <map:parameter name="servletPath" value="{request:servletPath}" />
+                    <map:parameter name="sitemapURI" value="{request:sitemapURI}" />
+                    <map:parameter name="contextPath" value="{request:contextPath}" />
+                    <map:parameter name="file" value="view/{1}.jx" />
+                    <map:parameter name="remove" value="{0}" />
+                </map:transform>
+                <map:serialize />
+            </map:match>
+        </map:pipeline>
+    </map:pipelines>
 </map:sitemap>



Mime
View raw message