You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by il...@apache.org on 2012/12/01 11:04:46 UTC
svn commit: r1415967 [2/3] - in /cocoon/trunk/jail/cocoon3: ./
cocoon3-sample-block/ cocoon3-sample-webapp/ src/main/java/
src/main/java/org/ src/main/java/org/apache/
src/main/java/org/apache/cocoon/ src/main/java/org/apache/cocoon/sample/
src/main/ja...
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/linkrewriting/apache_home.html
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/linkrewriting/apache_home.html?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/linkrewriting/apache_home.html (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/linkrewriting/apache_home.html Sat Dec 1 10:04:39 2012
@@ -0,0 +1,254 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <!--
+ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ This file is generated from XML source: DO NOT EDIT!
+ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ -->
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <link rel="stylesheet" href="./css/style.css" type="text/css" media="screen, projection"/>
+ <!--[if IE]><link rel="stylesheet" href="./style/ie.css" type="text/css" media="screen, projection"/><![endif]-->
+<link rel="alternate" title="announce@apache.org Archives" type="application/atom+xml" href="http://mail-archives.apache.org/mod_mbox/www-announce/?format=atom" />
+ <meta name="author" content="The Apache Software Foundation" /><meta name="email" content="apache.AT.apache.DOT.org" />
+ <title>Welcome! - The Apache Software Foundation</title>
+
+ </head>
+ <body>
+ <div class="navigation">
+ <ul>
+ <li><a href="./foundation" title="About the Foundation">Foundation</a></li>
+ <li><a href="http://projects.apache.org" title="Apache Projects">Projects</a></li>
+ <li><a href="http://people.apache.org" title="Apache People">People</a></li>
+ <li><a href="./foundation/getinvolved.html" title="Get involved in Apache">Get Involved</a></li>
+ <li><a href="./foundation/sponsorship.html" title="Support the mission of Apache">Support Apache</a></li>
+ <li class="dlink"><a href="./dyn/closer.cgi" title="Download Apache projects">Download</a></li>
+ <li><a href="http://blogs.apache.org/foundation/" title="Foundation Blog">ASF Blog</a></li>
+ <li><a href="http://blogs.apache.org" title="Project Blogs">Project Blogs</a></li>
+ </ul>
+ </div>
+ <div class="container">
+ <hr class="space col"/>
+ <div class="block">
+ <div class="column span-24">
+ <div id="header">
+ <h1>The Apache Software Foundation<br />
+ <span class="alt"><small>Celebrating a Decade of Open Source Leadership.</small></span></h1><p class="blurb">The Apache Software Foundation provides support for the Apache community of open-source software projects. The <a href="http://projects.apache.org/">Apache projects</a> are characterized by a collaborative, consensus based development process, an open and pragmatic software license, and a desire to create high quality software that leads the way in its field.</p><p class="highlight">We are more than a group of projects sharing a server, we are a <em>community</em> of developers and users.</p>
+ </div>
+ </div>
+ </div>
+ <hr/>
+ <div class="block">
+ <div class="column span-15 first append-1">
+ <h3>
+ Latest News
+ </h3>
+ </div>
+ <div class="column span-8 las search">
+ <form action="http://www.google.com/search" method="get">
+ <input value="*.apache.org" name="sitesearch" type="hidden"/>
+ <input size="10" name="q" id="query" type="text"/>
+ <input name="Search" value="Go" type="submit"/>
+ </form>
+ </div>
+ </div>
+ <div class="block content">
+ <div class="column span-15 colborder">
+
+<div class="section-content">
+<p><em>If you would like to keep up with news and announcements from the foundation and all its projects, you can subscribe to the <a href="foundation/mailinglists.html#foundation-announce">Apache Announcements List</a> or you can visit <a href="https://blogs.apache.org/foundation/">our foundation blog</a></em>. Latest blog entries:</p>
+<p>
+<a href="https://blogs.apache.org/foundation/entry/the_apache_software_foundation_receives"> Oracle agrees to purchase the IP and all assets of The Apache Software Foundation for $1.5 Billion.</a>
+<br /><i>Posted at: 10:00 PM Apr 1, 2010</i></p>
+<p>
+<a href="https://blogs.apache.org/foundation/entry/the_apache_software_foundation_announces2">The Apache Software Foundation Announces the 15th Anniversary of the Apache HTTP Web Server</a>
+<br /><i>Posted at: 2:00 PM Feb 23, 2010</i></p>
+<p>
+<a href="https://blogs.apache.org/foundation/entry/the_apache_software_foundation_announces1">The Apache Software Foundation Announces Apache SpamAssassin Version 3.3.0</a>
+<br /><i>Posted at: 3:04 PM Jan 26, 2010</i></p>
+<p>
+<a href="https://blogs.apache.org/foundation/entry/the_apache_software_foundation_announces">The Apache Software Foundation Announces Apache Pivot as Top-Level Project</a>
+<br /><i>Posted at: 11:11 AM Jan 20, 2010</i></p>
+<p>
+<a href="https://blogs.apache.org/foundation/entry/the_apache_software_foundation_welcomes">The Apache Software Foundation Welcomes Facebook as its Newest Sponsor</a>
+<br /><i>Posted at: 6:00 PM Jan 12, 2010</i></p>
+<p>
+<a href="https://blogs.apache.org/foundation/entry/notice_apache_spamassassin_y2k10_rule">NOTICE: Apache SpamAssassin Y2K10 Rule Bug - Update Your Rules Now!</a>
+<br /><i>Posted at: 4:56 PM Jan 2, 2010</i></p>
+</div>
+ </div>
+ <div class="column span-8 last">
+ <div class="block">
+ <div class="nav column span-11">
+ <div>
+ <div class="menuheader"><a
+href="http://projects.apache.org/">Apache Projects</a></div>
+ <ul>
+ <li><a href="http://httpd.apache.org/" title="Apache Web Server (httpd)">HTTP Server</a></li>
+ <li><a href="http://abdera.apache.org/" title="Atom Publishing Protocol Implementation">Abdera</a></li>
+ <li><a href="http://activemq.apache.org/" title="Distributed Messaging System">ActiveMQ</a></li>
+ <li><a href="http://ant.apache.org/" title="Java-based build tool">Ant</a></li>
+ <li><a href="http://apr.apache.org/" title="Apache Portable Runtime libraries">APR</a></li>
+ <li><a href="http://archiva.apache.org/" title="Build Artifact Repository Manager">Archiva</a></li>
+ <li><a href="http://buildr.apache.org/" title="Simple and intuitive build system for Java applications">Buildr</a></li>
+ <li><a href="http://camel.apache.org/" title="Spring based Integration Framework which implements the Enterprise Integration Patterns">Camel</a></li>
+ <li><a href="http://cayenne.apache.org/" title="User-friendly Java ORM with Tools">Cayenne</a></li>
+ <li><a href="http://click.apache.org/" title="User-friendly page and component oriented web framework">Click</a></li>
+ <li><a href="http://cocoon.apache.org/" title="Web development framework: separation of concerns, component-based">Cocoon</a></li>
+ <li><a href="http://commons.apache.org/" title="Reusable Java components">Commons</a></li>
+ <li><a href="http://continuum.apache.org/" title="Continuous Integration and Build Server">Continuum</a></li>
+ <li><a href="http://couchdb.apache.org/" title="RESTful document database">CouchDB</a></li>
+ <li><a href="http://cxf.apache.org/" title="Service Framework">CXF</a></li>
+ <li><a href="http://db.apache.org/" title="Database access">DB</a></li>
+ <li><a href="http://directory.apache.org/" title="Apache Directory Server">Directory</a></li>
+ <li><a href="http://excalibur.apache.org/" title="Embeddable software libraries related to component and service management access">Excalibur</a></li>
+ <li><a href="http://felix.apache.org/" title="OSGi Framework and components.">Felix</a></li>
+ <li><a href="http://forrest.apache.org/" title="Aggregated multi-channel documentation, separation of concerns">Forrest</a></li>
+ <li><a href="http://geronimo.apache.org/" title="Java2, Enterprise Edition (J2EE) container">Geronimo</a></li>
+ <li><a href="http://gump.apache.org/" title="Continuous integration of open source projects">Gump</a></li>
+ <li><a href="http://hadoop.apache.org/" title="Distributed computing platform">Hadoop</a></li>
+ <li><a href="http://harmony.apache.org/" title="Open source implementation of Java SE">Harmony</a></li>
+ <li><a href="http://hc.apache.org/" title="Java toolset of low level HTTP components">HttpComponents</a></li>
+ <li><a href="http://ibatis.apache.org/" title="SQL Data Mapper for Java and .NET">iBATIS</a></li>
+ <li><a href="http://incubator.apache.org/" title="Shepherd for new projects">Incubator</a></li>
+ <li><a href="http://jackrabbit.apache.org/" title="Content Repository for Java">Jackrabbit</a></li>
+ <li><a href="http://jakarta.apache.org/" title="Server-side Java">Jakarta</a></li>
+ <li><a href="http://james.apache.org/" title="Java Apache Mail Enterprise Server">James</a></li>
+ <li><a href="http://labs.apache.org/" title="The Innovation Laboratories of the Apache Software Foundation">Labs</a></li>
+ <li><a href="http://lenya.apache.org/" title="Content Management System">Lenya</a></li>
+ <li><a href="http://logging.apache.org/" title="Cross-language logging services">Logging</a></li>
+ <li><a href="http://lucene.apache.org/" title="Search engine library">Lucene</a></li>
+ <li><a href="http://maven.apache.org/" title="Java project management and comprehension tools">Maven</a></li>
+ <li><a href="http://mina.apache.org/" title="Multipurpose Infrastructure for Network Application">Mina</a></li>
+ <li><a href="http://myfaces.apache.org/" title="JavaServer(tm) Faces implementation and components">MyFaces</a></li>
+ <li><a href="http://ode.apache.org/" title="Orchestration Director Engine: Business Process Management (BPM), Process Orchestration and Workflow through service compositioni.">ODE</a></li>
+ <li><a href="http://ofbiz.apache.org/" title="Open for Business: enterprise automation software">OFBiz</a></li>
+ <li><a href="http://openejb.apache.org/" title="OpenEJB: a modular, configurable, and extendable EJB Container System and Server">OpenEJB</a></li>
+ <li><a href="http://openjpa.apache.org/" title="OpenJPA: Object Relational Mapping for Java">OpenJPA</a></li>
+ <li><a href="http://openwebbeans.apache.org/" title="OpenWebBeans: JSR-299 Context and Dependency Injection for Java EE Platform Implementation">OpenWebBeans</a></li>
+ <li><a href="http://pdfbox.apache.org/" title="Java library for working with PDF documents">PDFBox</a></li>
+ <li><a href="http://perl.apache.org/" title="Dynamic websites using Perl">Perl</a></li>
+ <li><a href="http://pivot.apache.org/" title="Rich Internet applications in Java">Pivot</a></li>
+ <li><a href="http://poi.apache.org/" title="Java API for OLE 2 Compound Documents">POI</a></li>
+ <li><a href="http://portals.apache.org/" title="Portal technology">Portals</a></li>
+ <li><a href="http://qpid.apache.org/" title="Multiple language implementation of the latest Advanced Message Queuing Protocol (AMQP)">Qpid</a></li>
+ <li><a href="http://roller.apache.org/" title="Java blog server">Roller</a></li>
+ <li><a href="http://santuario.apache.org/" title="XML Security in Java and C++">Santuario</a></li>
+ <li><a href="http://servicemix.apache.org/" title="Enterprise Service Bus">ServiceMix</a></li>
+ <li><a href="http://shindig.apache.org/" title="Opensocial Reference Implementation">Shindig</a></li>
+ <li><a href="http://sling.apache.org/" title="Web Framework for JCR Content Repositories">Sling</a></li>
+ <li><a href="http://spamassassin.apache.org/" title="Mail filter to identify spam">SpamAssassin</a></li>
+ <li><a href="http://stdcxx.apache.org/" title="Apache C++ Standard Library">STDCXX</a></li>
+ <li><a href="http://struts.apache.org/" title="Model 2 framework for building Java web applications">Struts</a></li>
+ <li><a href="http://subversion.apache.org/" title="Version Control">Subversion</a></li>
+ <li><a href="http://synapse.apache.org/" title="Enterprise Service Bus and Mediation Framework">Synapse</a></li>
+ <li><a href="http://tapestry.apache.org/" title="Component-based Java Web Application Framework">Tapestry</a></li>
+ <li><a href="http://tcl.apache.org/" title="Dynamic websites using TCL">TCL</a></li>
+ <li><a href="http://tiles.apache.org/" title="A templating framework for web application user interfaces">Tiles</a></li>
+ <li><a href="http://tomcat.apache.org/" title="A Java Servlet and JSP Container">Tomcat</a></li>
+ <li><a href="http://turbine.apache.org/" title="A Java Servlet Web Application Framework and associated component library">Turbine</a></li>
+ <li><a href="http://tuscany.apache.org/" title="An SCA based Service Composition Framework">Tuscany</a></li>
+ <li><a href="http://velocity.apache.org/" title="A Java Templating Engine">Velocity</a></li>
+ <li><a href="http://wicket.apache.org/" title="Component-based Java Web Application Framework.">Wicket</a></li>
+ <li><a href="http://ws.apache.org/">Web Services</a></li>
+ <li><a href="http://xalan.apache.org/" title="XSLT processors in Java and C++">Xalan</a></li>
+ <li><a href="http://xerces.apache.org/" title="XML parsers in Java, C++ and Perl">Xerces</a></li>
+ <li><a href="http://xml.apache.org/" title="XML solutions focused on the web">XML</a></li>
+ <li><a href="http://xmlbeans.apache.org/" title="XML-Java binding tool">XMLBeans</a></li>
+ <li><a href="http://xmlgraphics.apache.org/" title="Conversion from XML to graphical output">XML Graphics</a></li>
+ <li><a href="http://attic.apache.org/" title="Inactive project repository">Attic</a></li>
+ </ul>
+ </div>
+ </div>
+ <div class="nav column prepend-1 span-12 last">
+ <h6><a
+href="/foundation/">Foundation</a></h6>
+ <ul>
+ <li><a href="/foundation/faq.html">FAQ</a></li>
+ <li><a href="/licenses/">Licenses</a></li>
+ <li><a href="/foundation/news.html">News</a></li>
+ <li><a href="/press/">Press Inquiries</a></li>
+ <li><a href="/foundation/records/">Public Records</a></li>
+ <li><a href="/foundation/sponsorship.html">Sponsorship</a></li>
+ <li><a href="/foundation/contributing.html">Donations</a></li>
+ <li><a href="/foundation/buy_stuff.html">Buy Stuff</a></li>
+ <li><a href="/foundation/thanks.html">Thanks</a></li>
+ <li><a href="/foundation/contact.html">Contact</a></li>
+ </ul>
+ <h6>Foundation Projects</h6>
+ <ul>
+ <li><a href="/foundation/conferences.html" title="Meetings of developers and users">Conferences</a></li>
+ <li><a href="/dev/" title="ASF Infrastructure: Operations and howto documents for PMCs and contributors">Infrastructure</a></li>
+ <li><a href="/jcp/" title="Apache and the Java Community Process">JCP</a></li>
+ <li><a href="/legal/" title="Legal Affairs">Legal Affairs</a></li>
+ <li><a href="/press/" title="Public Relations">Public Relations</a></li>
+ <li><a href="/security/" title="Security">Security</a></li>
+ <li><a href="/travel/" title="Travel Assistance">Travel Assistance</a></li>
+ </ul>
+ <h6>How it works</h6>
+ <ul>
+ <li><a href="/foundation/how-it-works.html">Introduction</a></li>
+ <li><a href="/foundation/how-it-works.html#meritocracy">Meritocracy</a></li>
+ <li><a href="/foundation/how-it-works.html#structure">Structure</a></li>
+ <li><a href="/foundation/how-it-works.html#roles">Roles</a></li>
+ <li><a href="/foundation/how-it-works.html#management">Collaboration</a></li>
+ <li><a href="/foundation/how-it-works.html#infrastructure">Infrastructure</a></li>
+ <li><a href="/foundation/how-it-works.html#incubator">Incubator</a></li>
+ <li><a href="/press/">Public Relations Committee</a></li>
+ <li><a href="/foundation/how-it-works.html#other">Other entities</a></li>
+ <li><a href="/foundation/glossary.html">Glossary</a></li>
+ <li><a href="/foundation/voting.html">Voting</a></li>
+ </ul>
+ <h6><a
+href="/foundation/getinvolved.html">Get Involved</a></h6>
+ <ul>
+ <li><a href="/foundation/mailinglists.html">Mailing Lists</a></li>
+ <li><a href="/dev/version-control.html">Version Control</a></li>
+ <li><a href="/dev/">Developer Info</a></li>
+ </ul>
+ <h6>Download</h6>
+ <ul>
+ <li><a href="/dyn/closer.cgi">from a mirror</a></li>
+ </ul>
+ <h6>Community</h6>
+ <ul>
+ <li><a href="/memorials/">Memorials</a></li>
+ </ul>
+ <h6>Related Sites</h6>
+ <ul>
+ <li><a href="http://apachecon.com/" title="Official Apache Conference">ApacheCon</a></li>
+ <li><a href="http://feathercast.org/" title="Apache Podcasts">Feathercast</a></li>
+ <li><a href="http://planet.apache.org/committers/" title="Apache Committers' Blogs">PlanetApache</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ <div class="column span-24 footer">
+ <hr/>
+ <p>Copyright © 2010 The Apache Software Foundation, Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.<br/>
+ Apache and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
+ </div>
+ </div>
+ </div>
+</body>
+</html>
+
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/linkrewriting/apache_home.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/linkrewriting/apache_home.html
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/linkrewriting/apache_home.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/overview.html
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/overview.html?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/overview.html (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/overview.html Sat Dec 1 10:04:39 2012
@@ -0,0 +1,222 @@
+<!DOCTYPE html>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<html>
+ <head>
+ <title>Cocoon 3 Samples and Integration Tests: Overview </title>
+ <link type="text/css" href="read/style.css" rel="stylesheet"/>
+ <!--[if lt IE 9]>
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+ <base target="_blank"/>
+ </head>
+ <body>
+ <header>
+ <section id="logo">
+ <img src="images/cocoon.gif" alt="Cocoon logo"/>
+ </section>
+ <section id="page-title">
+ <h1>Cocoon 3 Samples and Integration Tests: Overview </h1>
+ </section>
+ </header>
+ <article>
+ <section id="map-read">
+ <h2>map:read</h2>
+ <ul>
+ <li><a href="read/javascript-resource-explicit">Javascript Resource</a>: Test explicit setting of mime-type.</li>
+ <li><a href="read/javascript-resource-implicit.js">Javascript Resource</a>: Test automatic setting of mime-type.</li>
+ </ul>
+ </section>
+ <section id="sax-pipelines">
+ <h2>SAX Pipelines</h2>
+ <ul>
+ <li><a href="sax-pipeline/simple">SAX Pipeline</a>: Simplest possible pipeline that has a generator, transformer and serializer.</li>
+ <li><a href="sax-pipeline/simple-xhtml">SAX Pipeline</a>: Same as before but creates XHTML as output format.</li>
+ <li><a href="sax-pipeline/simple-xml">SAX Pipeline</a>: Same as before but creates XML as output format.</li>
+ <li><a href="sax-pipeline/simple-xsd">SAX Pipeline</a>: Same as before but creates XML as output format after validating the input.</li>
+ <li><a href="sax-pipeline/unauthorized">Status code</a>: Set status code '401' at pipeline.</li>
+ </ul>
+ </section>
+ <section id="stax-pipelines">
+ <h2>StAX Pipelines</h2>
+ <ul>
+ <li><a href="stax-pipeline/simple">StAX Pipeline</a>: Simplest possible pipeline that has a generator and serializer but processing is based on StAX instead of SAX!</li>
+ </ul>
+ </section>
+ <section id="caching">
+ <h2>Caching</h2>
+ <ul>
+ <li><a href="caching-pipeline/off">Non-Caching pipeline</a>: The pipeline doesn't cache (although it's components support it)</li>
+ <li><a href="caching-pipeline/on">Caching pipeline</a>: The result of the pipeline is cached for 1.5 seconds. The next request that occurs
+ after the cached response has expires, triggers a reexecution of the pipeline in the same thread.</li>
+ <li><a href="async-caching-pipeline/on">Async-Caching pipeline</a>: The result of the pipeline is cached for 1.5 seconds. The next request that occurs
+ after the cached response has expires, triggers a reexecution of the pipeline in a separate thread.</li>
+ <li><a href="/expires/caching-pipeline/on">Expires-Caching pipeline</a>: The pipeline returns a cached result for defined period,
+ independently from whether components used in the pipeline support caching or not. The pipeline result is cached for 2 seconds. The
+ recreation of the pipeline result is done in the same thread as the servlet request.</li>
+ <li><a href="/expires/async-caching-pipeline/on">Expires-Async-Caching pipeline</a>: The pipeline returns a cached result for defined period,
+ independently from whether components used in the pipeline support caching or not. The pipeline result is cached for 2 seconds. The recreation of the
+ pipeline result is done in a separate thread than the servlet request.</li>
+ </ul>
+ </section>
+ <section id="error-handling">
+ <h2>Error handling</h2>
+ <ul>
+ <li><a href="123456789123456789">ResourceNotFound</a>: The error handler catches all exceptions, in this case no matcher matches.</li>
+ <li><a href="error-handling/custom-error">Custom error - Sitemap</a>: Catch a custom error in the sitemap.</li>
+ <li><a href="error-handling/custom-error-per-pipeline-error-handling">Custom error - Pipeline</a>: Catch a custom error using a per-pipeline error handler.</li>
+ </ul>
+ </section>
+ <section id="servlet-service">
+ <h2>Servlet-Service-Components and servlet: protocol</h2>
+ <ul>
+ <li><a href="ssf/local">servlet:/</a>: Using a local servlet service.</li>
+ <li><a href="internal-only/simple-xml">ResourceNotFound/</a>: Try to access directly an internal-only pipeline.</li>
+ <li><a href="ssf/local-internal-only">servlet:/</a>: Using a local servlet service provided by an internal-only pipeline.</li>
+ <li><a href="ssf/calling-a-transformer-servlet-service">Servlet service transformer</a>: Call another pipeline that performs a transformation.</li>
+ <li><a href="ssf/calling-a-serializer-servlet-service">Servlet service serializer</a>: Call another pipeline that performs the serialization step.</li>
+ </ul>
+ </section>
+ <section id="expression-language">
+ <h2>Expression language</h2>
+ <ul>
+ <li><a href="expression-language/jexl?fileName=simple">request attribute (jexl)</a>: Accessing a request attribute using Jexl.</li>
+ <li><a href="expression-language/map-numbers/simple">sitemap parameter</a>: Accessing a sitemap parameter.</li>
+ <li><a href="expression-language/map-named-parameters/simple">sitemap parameter</a>: Accessing a sitemap parameter using named parameters in the pattern.</li>
+ <li><a href="expression-language/nested/simple">nested matchers</a>: Accessing a parameter from one level above.</li>
+ </ul>
+ </section>
+ <section id="redirects">
+ <h2>Redirects</h2>
+ <ul>
+ <li><a href="redirect/www.orf.at">Temporary (302)</a>: Temporary redirect to orf.at.</li>
+ <li><a href="redirect/sax-pipeline/simple-xml">servlet</a>: Redirect to a servlet: URL.</li>
+ </ul>
+ </section>
+ <section id="object-model">
+ <h2>Object Model</h2>
+ <ul>
+ <li><a href="object-model/request-parameters?a=1&b=2&c=3">All request parameters</a>: Print all request parameters.</li>
+ </ul>
+ </section>
+ <section id="i18n">
+ <h2>i18N</h2>
+ <ul>
+ <li><a href="i18n/localefrombrowser">Get locale from browser's preferred</a>: Translate with locale from browser's preferred.</li>
+ <li>Get locale from request parameter: <a href="i18n/localefromparameter?lang=de">de</a>|<a href="i18n/localefromparameter?lang=es">es</a>|<a href="i18n/localefromparameter?lang=it">it</a>: Translate with locale from request parameter.</li>
+ </ul>
+ </section>
+ <section id="advanced-matching">
+ <h2>Advanced Matching</h2>
+ <p>(using a JEXL expression to set a test value)</p>
+ <ul>
+ <li><a href="advanced-matching?myparam=11">Equals matcher</a> (using an JEXL expression to set a test value)</li>
+ <li><a href="advanced-matching?myparam=22">Regular expression</a> matcher (using an JEXL expression to set a test value)</li>
+ <li><a href="advanced-matching?myparam=55">Ends-with matcher</a> (using an JEXL expression to set a test value)</li>
+ <li><a href="advanced-matching">Otherwise</a> Reach the otherwise section</li>
+ <li><a href="advanced-matching-2?myparam=1">Uncomplete pipeline: when</a> Adding a transformer</li>
+ <li><a href="advanced-matching-2?myparam=2">Uncomplete pipeline: otherwise</a> Adding a transformer</li>
+ <li><a href="advanced-matching-3?myparam=1&yourparam=2">Two matchers:</a> Two matchers that add components to a pipeline.</li>
+ </ul>
+ </section>
+ <section id="aggregation">
+ <h2>Aggregation</h2>
+ <ul>
+ <li><a href="aggregation/include-transformer">Include-Transformer</a>: Aggregate XML using the IncludeTransformer.</li>
+ <li><a href="aggregation/xinclude-transformer">XInclude-Transformer</a>: Aggregate XML using the XIncludeTransformer, working according to the <a href="http://www.w3.org/TR/xinclude/">XInclude specification</a>.</li>
+ </ul>
+ </section>
+ <section id="link-rewriting">
+ <h2>Link rewriting</h2>
+ <ul>
+ <li><a href="linkrewriting/regexplinkrewriter-transformer">RegexpLinkRewriter-Transformer</a>: Rewrite links according to given regular expressions.</li>
+ </ul>
+ </section>
+ <section id="xslt">
+ <h2>XSLT</h2>
+ <ul>
+ <li><a href="xslt/main">XSLT Transformation</a>: An XSLT transformation that includes stylesheets via file and servlet protocol.</li>
+ </ul>
+ </section>
+ <section id="sitemap-rest-controller">
+ <h2>Sitemap REST Controller</h2>
+ <ul>
+ <li><a href="controller/abc/foo?reqparam=1">GET request</a>: Invoke a controller and pass two parameters</li>
+ <li><a href="controller/conditional-get/abc/foo?reqparam=1">Conditional GET request </a>: A controller that implements the o.a.c.rest.controller.method.ConditionalGet
+ interface and provides a cache key.</li>
+ </ul>
+ </section>
+ <section id="jaxrs-rest-controller">
+ <h2>JAX-RS REST Controller</h2>
+ <ul>
+ <li><a href="jax-rs/sample/parameter-passing/5?req-param=7">JAX-RS REST endpoint</a>: A JAX-RS resources as a controller that returns a Cocoon resources.</li>
+ </ul>
+ </section>
+ <section id="fop">
+ <h2>FOP</h2>
+ <ul>
+ <li><a href="fop/test.pdf">PDF</a>: Create a PDF document by using Apache FOP.</li>
+ </ul>
+ </section>
+ <section id="encoding-serializers">
+ <h2>Encoding Serializers</h2>
+ <ul>
+ <li><a href="serializers/exml">eXML</a>: A XML serializer not relying on the JAXP API.</li>
+ <li><a href="serializers/exhtml">eXHTML</a>: A pedantinc XHTML serializer encoding all recognized entities with their proper HTML names.</li>
+ <li><a href="serializers/ehtml">eHTML</a>: A serializer converting XHTML into plain old HTML.</li>
+ </ul>
+ </section>
+ <section id="cocoon-wicket-integration">
+ <h2>Cocoon-Wicket integration</h2>
+ <ul>
+ <li><a href="wicket/">Wicket Reader</a>: A reader defers redirects a request to a Wicket application.</li>
+ </ul>
+ </section>
+ <section id="stringtemplate">
+ <h2>StringTemplate</h2>
+ <ul>
+ <li><a href="string-template/generator">StringTemplateGenerator</a>: A generator using <a href="http://www.stringtemplate.org/">StringTemplate</a> template engine.</li>
+ <li><a href="string-template/transformer">StringTemplateTransformer</a>: A transformer using <a href="http://www.stringtemplate.org/">StringTemplate</a> template engine.</li>
+ </ul>
+ </section>
+ </article>
+ <nav>
+ <ul>
+ <li><a href="#map-read" target="_self">map:read</a></li>
+ <li><a href="#sax-pipelines" target="_self">Sax Pipelines</a></li>
+ <li><a href="#stax-pipelines" target="_self">StAX Pipelines</a></li>
+ <li><a href="#caching" target="_self">Caching</a></li>
+ <li><a href="#error-handling" target="_self">Error handling</a></li>
+ <li><a href="#servlet-service" target="_self">Servlet-Service-Components and servlet: protocol</a></li>
+ <li><a href="#expression-language" target="_self">Expression language</a></li>
+ <li><a href="#redirects" target="_self">Redirects</a></li>
+ <li><a href="#object-model" target="_self">Object Model</a></li>
+ <li><a href="#i18n" target="_self">i18N</a></li>
+ <li><a href="#advanced-matching" target="_self">Advanced Matching</a></li>
+ <li><a href="#aggregation" target="_self">Aggregation</a></li>
+ <li><a href="#link-rewriting" target="_self">Link rewriting</a></li>
+ <li><a href="#xslt" target="_self">XSLT</a></li>
+ <li><a href="#sitemap-rest-controller" target="_self">Sitemap REST Controller</a></li>
+ <li><a href="#jaxrs-rest-controller" target="_self">JAX-RS REST Controller</a></li>
+ <li><a href="#fop" target="_self">fop</a></li>
+ <li><a href="#encoding-serializers" target="_self">Encoding Serializers</a></li>
+ <li><a href="#cocoon-wicket-integration" target="_self">Cocoon-Wicket integration</a></li>
+ <li><a href="#stringtemplate" target="_self">StringTemplate</a></li>
+ </ul>
+ </nav>
+ </body>
+</html>
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/overview.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/overview.html
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/overview.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/cocoon.gif
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/cocoon.gif?rev=1415967&view=auto
==============================================================================
Binary file - no diff available.
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/cocoon.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/favicon.ico
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/favicon.ico?rev=1415967&view=auto
==============================================================================
Binary file - no diff available.
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/favicon.ico
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/javascript-resource
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/javascript-resource?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/javascript-resource (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/javascript-resource Sat Dec 1 10:04:39 2012
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+function x1() {
+ alert('x1');
+}
\ No newline at end of file
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/javascript-resource.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/javascript-resource.js?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/javascript-resource.js (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/javascript-resource.js Sat Dec 1 10:04:39 2012
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+function x() {
+ alert('x');
+
+}
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/javascript-resource.js
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/javascript-resource.js
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/javascript-resource.js
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/style.css
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/style.css?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/style.css (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/style.css Sat Dec 1 10:04:39 2012
@@ -0,0 +1,117 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+**/
+body {
+ width: 960px;
+ margin: 5px auto;
+ text-align: center;
+ font-family: Arial,Helvetica,sans-serif;
+ font-size:15px;
+}
+
+h1 {
+ font-size:22px;
+ text-shadow: 2px 2px 3px #000;
+}
+
+h2 {
+ font-size: 18px;
+ text-shadow: 0px 0px 1px #000;
+}
+
+#logo {
+ float: left;
+ width:35%;
+ box-shadow: none;
+ border:none;
+}
+
+#page-title {
+ float: right;
+ width: 60%;
+ box-shadow:none;
+ border:none;
+ padding-top:0px;
+}
+
+section, footer, nav {
+ background-color: #FFFFFF;
+ border: 1px solid #1178C2;
+ box-shadow: 5px 5px 2px #888;
+ border-radius: 0.8em 0.8em 0.8em 0.8em;
+ padding: 5px 5px 10px;
+ margin-bottom: 10px;
+}
+
+header {
+ height: 60px;
+ margin:1%;
+ width: 98%;
+}
+
+article {
+ width: 60%;
+ margin-right:1%;
+}
+
+header, article {
+ display: block;
+ float: right;
+ text-align: left;
+}
+
+a:link, a:visited {
+ color: blue;
+ font-size: 0.8em;
+ font-weight: bold;
+ text-decoration: none;
+}
+
+li {
+ list-style-type: square;
+}
+
+nav {
+ float: left;
+ text-align: left;
+ width: 35%;
+ margin-left:1%;
+ background-color: #D1C7C7;
+}
+
+nav ul {
+ border-top: 1px solid #E7E2D7;
+ list-style: none outside none;
+ margin: 14px 0;
+ padding: 0;
+}
+nav li {
+ list-style: none outside none;
+ margin: 0;
+ padding: 0;
+}
+nav li a:link, nav li a:visited {
+ border-bottom: 1px solid #E7E2D7;
+ float: left;
+ padding: 3px 1%;
+ width: 96%;
+ color: black;
+}
+nav li a:hover {
+ background: none repeat scroll 0 0 #F2F1EC;
+}
\ No newline at end of file
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/read/style.css
------------------------------------------------------------------------------
svn:mime-type = text/css
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/add-paragraph.xslt
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/add-paragraph.xslt?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/add-paragraph.xslt (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/add-paragraph.xslt Sat Dec 1 10:04:39 2012
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:param name="text" />
+
+ <xsl:template match="body">
+ <body>
+ <xsl:apply-templates select="@*|node()|text()|comment()|processing-instruction()" />
+ <p>
+ <xsl:value-of select="$text" />
+ </p>
+ </body>
+ </xsl:template>
+
+ <xsl:template match="@*|node()|text()|comment()|processing-instruction()" priority="-1">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()|text()|comment()|processing-instruction()" />
+ </xsl:copy>
+ </xsl:template>
+
+</xsl:stylesheet>
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/add-paragraph.xslt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/add-paragraph.xslt
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/add-paragraph.xslt
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-1.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-1.xml?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-1.xml (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-1.xml Sat Dec 1 10:04:39 2012
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<simple>simple-text-1</simple>
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-1.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-1.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-1.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-2.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-2.xml?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-2.xml (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-2.xml Sat Dec 1 10:04:39 2012
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<simple>simple-text-2</simple>
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-2.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-2.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple-2.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xml?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xml (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xml Sat Dec 1 10:04:39 2012
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<simple>simple-text</simple>
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xsd
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xsd?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xsd (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xsd Sat Dec 1 10:04:39 2012
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- $Id$ -->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="simple"/>
+</xs:schema>
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xsd
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xsd
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xsd
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xslt
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xslt?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xslt (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xslt Sat Dec 1 10:04:39 2012
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:param name="myParam" />
+
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>Simple Pipeline</title>
+ </head>
+
+ <body>
+ <h1>Simple Pipeline</h1>
+ <p><xsl:value-of select="$myParam" /></p>
+ </body>
+ </html>
+ </xsl:template>
+
+</xsl:stylesheet>
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xslt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xslt
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/simple.xslt
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/unauthorized.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/unauthorized.xml?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/unauthorized.xml (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/unauthorized.xml Sat Dec 1 10:04:39 2012
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<html>
+ <head>
+ <title>Unauthorized</title>
+ </head>
+ <body>Unauthorized</body>
+</html>
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/unauthorized.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/unauthorized.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sax-pipeline/unauthorized.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sitemap.xmap?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sitemap.xmap (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sitemap.xmap Sat Dec 1 10:04:39 2012
@@ -0,0 +1,624 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+<!-- $Id$ -->
+<map:sitemap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:map="http://apache.org/cocoon/sitemap"
+ xmlns:servlet="http://apache.org/cocoon/servlet" xmlns:controller="http://apache.org/cocoon/controller">
+
+ <map:pipelines>
+ <!-- ~~~~~~~~~~~~~~~~ map:read ~~~~~~~~~~~~~~~ -->
+ <map:pipeline jmx-group-name="read">
+ <map:match pattern="">
+ <map:read src="overview.html" />
+ </map:match>
+ <map:match pattern="read/javascript-resource-explicit">
+ <map:read src="read/javascript-resource" mime-type="text/javascript" />
+ </map:match>
+ <map:match pattern="read/javascript-resource-implicit.js">
+ <map:read src="read/javascript-resource.js" />
+ </map:match>
+ <map:match pattern="read/javascript-resource-implicit.abc">
+ <map:read src="read/javascript-resource.js" />
+ </map:match>
+ <map:match pattern="images/{filename}.{extension}">
+ <map:read src="read/{map:filename}.{map:extension}" />
+ </map:match>
+ <map:match pattern="favicon.ico">
+ <map:read src="read/favicon.ico" />
+ </map:match>
+ <map:match pattern="read/style.css">
+ <map:read src="read/style.css"/>
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ sax pipelines ~~~~~~~~~~~~~~~ -->
+ <map:pipeline jmx-group-name="sax">
+ <map:match equals="sax-pipeline/simple">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="1" />
+ </map:transform>
+ <map:transform type="logasxml"/>
+ <map:transform type="log"/>
+ <map:serialize />
+ </map:match>
+ <map:match equals="sax-pipeline/simple-1">
+ <map:generate src="sax-pipeline/simple-1.xml" />
+ <map:serialize />
+ </map:match>
+ <map:match equals="sax-pipeline/simple-2">
+ <map:generate src="sax-pipeline/simple-2.xml" />
+ <map:serialize />
+ </map:match>
+ <map:match pattern="sax-pipeline/simple-xhtml">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="2" />
+ </map:transform>
+ <map:serialize type="xhtml" />
+ </map:match>
+ <map:match pattern="sax-pipeline/simple-xml">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="3-{jexl:cocoon.request.ssf}" />
+ </map:transform>
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match equals="sax-pipeline/simple-xsd">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform type="schema" src="sax-pipeline/simple.xsd" />
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match pattern="sax-pipeline/unauthorized">
+ <map:generate src="sax-pipeline/unauthorized.xml" />
+ <map:serialize type="xhtml" status-code="401" />
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ stax pipelines ~~~~~~~~~~~~~~~ -->
+ <map:pipeline jmx-group-name="stax">
+ <map:match equals="stax-pipeline/simple">
+ <map:generate type="stax" src="sax-pipeline/simple.xml" />
+ <map:serialize type="stax"/>
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ caching of pipelines ~~~~~~~~~~~~~~~ -->
+ <map:pipeline jmx-group-name="timestamp-caching">
+ <map:match pattern="caching-pipeline/on">
+ <map:generate type="timestamp-caching" />
+ <map:serialize type="xml" />
+ </map:match>
+ </map:pipeline>
+
+ <map:pipeline type="async-caching" jmx-group-name="async-caching">
+ <map:match pattern="async-caching-pipeline/on">
+ <map:generate type="timestamp-caching" />
+ <map:serialize type="xml" />
+ </map:match>
+ </map:pipeline>
+
+ <map:pipeline type="noncaching" jmx-group-name="nocaching">
+ <map:match pattern="caching-pipeline/off">
+ <map:generate type="timestamp-caching" />
+ <map:serialize type="xml" />
+ </map:match>
+ </map:pipeline>
+
+ <map:pipeline expires="2" expires-cache-key="some-key">
+ <map:match pattern="expires/caching-pipeline/on">
+ <map:generate type="timestamp-noncaching" />
+ <map:serialize type="xml" />
+ </map:match>
+ </map:pipeline>
+
+ <map:pipeline expires="2">
+ <map:match pattern="expires/caching-pipeline/invalid">
+ <map:generate type="timestamp-noncaching" />
+ <map:serialize type="xml" />
+ </map:match>
+ </map:pipeline>
+
+ <map:pipeline type="async-caching" expires="2" expires-cache-key="some-other-key">
+ <map:match pattern="expires/async-caching-pipeline/on">
+ <map:generate type="timestamp-noncaching" />
+ <map:serialize type="xml" />
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ servlet service framework ~~~~~~~~~~~~~~~ -->
+ <map:pipeline internal-only="true">
+ <map:match pattern="internal-only/simple-xml">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="3-{jexl:cocoon.request.ssf}" />
+ </map:transform>
+ <map:serialize type="xml" />
+ </map:match>
+ </map:pipeline>
+
+ <map:pipeline jmx-group-name="servlet-service">
+ <map:match pattern="ssf/local">
+ <map:generate src="servlet:/sax-pipeline/simple-xml" />
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match pattern="ssf/local-internal-only">
+ <map:generate src="servlet:/internal-only/simple-xml" />
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match pattern="ssf/read-resource">
+ <map:read src="servlet:/read/javascript-resource-explicit" />
+ </map:match>
+ <map:match pattern="ssf/service-consumer">
+ <map:generate type="service-consumer" />
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match pattern="ssf/transformer-pipeline">
+ <map:generate type="service-consumer" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="transformer-pipeline" />
+ </map:transform>
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match pattern="ssf/serializer-pipeline">
+ <map:generate type="service-consumer" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="serializer-pipeline" />
+ </map:transform>
+ <map:serialize type="xml" status-code="210"/>
+ </map:match>
+ <map:match pattern="ssf/calling-a-transformer-servlet-service">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform type="servlet-service">
+ <map:parameter name="service" value="servlet:/ssf/transformer-pipeline" />
+ </map:transform>
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match pattern="ssf/calling-a-serializer-servlet-service">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:serialize type="servlet-service">
+ <map:parameter name="service" value="servlet:/ssf/serializer-pipeline" />
+ </map:serialize>
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ expression language ~~~~~~~~~~~~~~~ -->
+ <map:pipeline>
+ <map:match pattern="expression-language/jexl">
+ <map:generate src="sax-pipeline/{jexl:cocoon.request.fileName}.xml" />
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match pattern="expression-language/map-numbers/*">
+ <map:generate src="sax-pipeline/{map:1}.xml" />
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match pattern="expression-language/map-named-parameters/{id}">
+ <map:generate src="sax-pipeline/{map:id}.xml" />
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match pattern="**">
+ <map:match pattern="expression-language/*/*">
+ <map:match pattern="expression-language/nested/*">
+ <map:generate src="sax-pipeline/{map:../2}.xml" />
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match pattern="expression-language/nested2/*">
+ <map:generate src="sax-pipeline/{map:1}.xml" />
+ <map:serialize type="xml" />
+ </map:match>
+ </map:match>
+ </map:match>
+ <map:match pattern="expression-language/**">
+ <map:match pattern="expression-language/nested3/*">
+ <map:generate src="sax-pipeline/{map:1}.xml" />
+ <map:serialize type="xml" />
+ </map:match>
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ advanced matching (when/otherwise) ~~~~~~~~~~~~~~~ -->
+ <map:pipeline>
+ <map:match pattern="advanced-matching">
+ <map:select value="{jexl:cocoon.request.myparam}">
+ <map:when equals="11">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="{map:0}" />
+ </map:transform>
+ <map:serialize />
+ </map:when>
+ <map:when ends-with="5">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="{map:1}" />
+ </map:transform>
+ <map:serialize />
+ </map:when>
+ <map:when regexp="2(.)">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="{map:1}" />
+ </map:transform>
+ <map:serialize />
+ </map:when>
+ <map:otherwise>
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="otherwise" />
+ </map:transform>
+ <map:serialize />
+ </map:otherwise>
+ </map:select>
+ </map:match>
+ <map:match wildcard="advanced-matching-2">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:select value="{jexl:cocoon.request.myparam}">
+ <map:when equals="1">
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="1" />
+ </map:transform>
+ </map:when>
+ <map:otherwise>
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="otherwise" />
+ </map:transform>
+ </map:otherwise>
+ </map:select>
+ <map:serialize />
+ </map:match>
+ <map:match wildcard="advanced-matching-3">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:match value="{jexl:cocoon.request.myparam}" equals="1">
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="1" />
+ </map:transform>
+ </map:match>
+ <map:match value="{jexl:cocoon.request.yourparam}" equals="2">
+ <map:transform src="sax-pipeline/add-paragraph.xslt">
+ <map:parameter name="text" value="2"/>
+ </map:transform>
+ </map:match>
+ <map:serialize />
+ </map:match>
+ <map:match wildcard="advanced-matching-4">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="1" />
+ </map:transform>
+ <map:match value="{jexl:cocoon.request.param_a}" equals="1">
+ <map:select value="{jexl:cocoon.request.param_b}">
+ <map:when equals="1">
+ <map:transform src="sax-pipeline/add-paragraph.xslt">
+ <map:parameter name="text" value="2"/>
+ </map:transform>
+ <map:match value="{jexl:cocoon.request.param_c}" equals="1">
+ <map:transform src="sax-pipeline/add-paragraph.xslt">
+ <map:parameter name="text" value="3"/>
+ </map:transform>
+ <map:select value="{jexl:cocoon.request.param_d}">
+ <map:when equals="1">
+ <map:transform src="sax-pipeline/add-paragraph.xslt">
+ <map:parameter name="text" value="4"/>
+ </map:transform>
+ </map:when>
+ </map:select>
+ </map:match>
+ </map:when>
+ <map:otherwise>
+ <map:transform src="sax-pipeline/add-paragraph.xslt">
+ <map:parameter name="text" value="5"/>
+ </map:transform>
+ </map:otherwise>
+ </map:select>
+ </map:match>
+ <map:match value="{jexl:cocoon.request.param_e}" equals="1">
+ <map:transform src="sax-pipeline/add-paragraph.xslt">
+ <map:parameter name="text" value="6"/>
+ </map:transform>
+ </map:match>
+ <map:select value="{jexl:cocoon.request.param_f}">
+ <map:when equals="1" />
+ <map:otherwise>
+ <map:transform src="sax-pipeline/add-paragraph.xslt">
+ <map:parameter name="text" value="7"/>
+ </map:transform>
+ </map:otherwise>
+ </map:select>
+ <map:select value="{jexl:cocoon.request.param_g}">
+ <map:when regexp="(?!1\b)\b.+\b">
+ <map:transform src="sax-pipeline/add-paragraph.xslt">
+ <map:parameter name="text" value="8"/>
+ </map:transform>
+ </map:when>
+ </map:select>
+ <map:serialize />
+ </map:match>
+
+ <!-- named matcher -->
+ <map:match wildcard="named-matcher/{a}" name="m1">
+ <map:match value="{jexl:cocoon.request.param_a}" equals="1">
+ <map:match value="{jexl:cocoon.request.param_b}" equals="1">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="{map:m1/a}" />
+ </map:transform>
+ <map:serialize />
+ </map:match>
+ </map:match>
+ </map:match>
+
+ <!-- deep relative matcher -->
+ <map:match wildcard="deep-relative-matcher/{a}">
+ <map:match value="{jexl:cocoon.request.param_a}" equals="1">
+ <map:match value="{jexl:cocoon.request.param_b}" equals="1">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="{map:../../a}" />
+ </map:transform>
+ <map:serialize />
+ </map:match>
+ </map:match>
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ aggregation ~~~~~~~~~~~~~~~ -->
+ <map:pipeline>
+ <map:match equals="aggregation/include-transformer">
+ <map:generate src="aggregation/include.xml" />
+ <map:transform type="include" />
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match equals="aggregation/xinclude-transformer">
+ <map:generate src="aggregation/xinclude.xml" />
+ <map:transform type="xinclude" />
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match equals="aggregation/sub-request">
+ <map:generate src="aggregation/sub.xml" />
+ <map:serialize type="xml" />
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ link rewriting ~~~~~~~~~~~~~~~ -->
+ <map:pipeline>
+ <map:match equals="linkrewriting/regexplinkrewriter-transformer">
+ <map:generate src="linkrewriting/apache_home.html" />
+ <map:transform type="regexplinkrewriter">
+ <map:parameter name="element1"
+ value="a href"/>
+ <map:parameter name="element2"
+ value="http://www.w3.org/1999/xhtml link * href"/>
+ <map:parameter name="regexp1"
+ value="^\./([\.]*) http://www.apache.org/$1"/>
+ <map:parameter name="regexp2"
+ value="^/([\.]*) http://www.apache.org/$1"/>
+ </map:transform>
+ <map:serialize type="xml" />
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ xslt ~~~~~~~~~~~~~~~ -->
+ <map:pipeline>
+ <map:match equals="xslt/main">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="xslt/main.xslt" />
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match equals="xslt/sub-servlet.xslt">
+ <map:generate src="xslt/sub-servlet.xslt" />
+ <map:serialize type="xml" />
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ matcher: parameter passing ~~~~~~~~~~~~~~~ -->
+ <!--
+ <map:pipeline>
+ <map:match pattern="parameter-passing/failing">
+ <map:match type="parameter-passing">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:serialize />
+ </map:match>
+ </map:match>
+ <map:match pattern="parameter-passing/working">
+ <map:match type="parameter-passing">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:serialize type="xml" />
+ </map:match>
+ </map:match>
+ </map:pipeline>
+ -->
+
+ <!-- ~~~~~~~~~~~~~~~~ object model ~~~~~~~~~~~~~~~ -->
+ <map:pipeline>
+ <map:match equals="object-model/request-parameters">
+ <map:generate type="request-parameters" />
+ <map:serialize type="xml" />
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ i18N ~~~~~~~~~~~~~~~ -->
+ <map:pipeline>
+ <map:match equals="i18n/localefrombrowser">
+ <map:generate src="i18n/base.xml" />
+ <map:transform type="i18n">
+ <map:parameter name="locale" value="{jexl:cocoon.request.locale.language}" />
+ <map:parameter name="bundle" value="COB-INF/i18n/base" />
+ </map:transform>
+ <map:serialize type="xml" />
+ </map:match>
+ <map:match equals="i18n/localefromparameter">
+ <map:generate src="i18n/base.xml" />
+ <map:transform type="i18n">
+ <map:parameter name="locale" value="{jexl:cocoon.request.lang}" />
+ <map:parameter name="bundle" value="COB-INF/i18n/base" />
+ </map:transform>
+ <map:serialize type="xml" />
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ controller ~~~~~~~~~~~~~~~ -->
+ <map:pipeline>
+ <map:match pattern="controller/conditional-get/{id}/{name}">
+ <controller:call controller="rest-controller" select="org.apache.cocoon.sample.controller.CacheableDemoRESTController">
+ <map:parameter name="id" value="{map:id}" />
+ <map:parameter name="name" value="{map:name}" />
+ </controller:call>
+ </map:match>
+ <map:match pattern="controller/{id}/{name}">
+ <controller:call controller="rest-controller" select="org.apache.cocoon.sample.controller.DemoRESTController">
+ <map:parameter name="id" value="{map:id}" />
+ <map:parameter name="name" value="{map:name}" />
+ </controller:call>
+ </map:match>
+ </map:pipeline>
+ <map:pipeline type="noncaching">
+ <map:match pattern="controller/screen">
+ <map:generate src="controller/demo.html" type="controller-aware-string-template" />
+ <map:serialize type="xml" status-code="202" />
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ redirect ~~~~~~~~~~~~~~~ -->
+ <map:pipeline>
+ <map:match equals="redirect/www.orf.at">
+ <servlet:redirect-to uri="http://www.orf.at" />
+ </map:match>
+ <!-- Redirecting to a servlet service doesn't work -->
+ <map:match equals="redirect/sax-pipeline/simple-xml">
+ <servlet:redirect-to uri="servlet:/sax-pipeline/simple-xml"/>
+ </map:match>
+ </map:pipeline>
+
+ <!-- ~~~~~~~~~~~~~~~~ error handling ~~~~~~~~~~~~~~~ -->
+ <map:pipeline>
+ <map:match pattern="error-handling/custom-error">
+ <map:act type="error-throwing" />
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:serialize type="xml" />
+ </map:match>
+ </map:pipeline>
+
+ <map:pipeline>
+ <map:match equals="error-handling/custom-error-per-pipeline-error-handling">
+ <map:act type="error-throwing" />
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:serialize type="xml" />
+ </map:match>
+ <map:handle-errors>
+ <map:generate src="error-handling/501.xml" />
+ <map:serialize type="xhtml" status-code="501" />
+ </map:handle-errors>
+ </map:pipeline>
+
+ <!-- FOP -->
+ <map:pipeline>
+ <map:match equals="fop/test.pdf">
+ <map:generate src="fop/page.xml" />
+ <map:transform src="fop/page2fo.xsl" />
+ <map:serialize type="fo2pdf" />
+ </map:match>
+ </map:pipeline>
+
+ <!-- Encoding serializers -->
+ <map:pipeline>
+ <map:match equals="serializers/exml">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="1" />
+ </map:transform>
+ <map:serialize type="exml" indent="2"/>
+ </map:match>
+ <map:match equals="serializers/exhtml">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="2" />
+ </map:transform>
+ <map:serialize type="exhtml" doctype-default="strict" />
+ </map:match>
+ <map:match equals="serializers/ehtml">
+ <map:generate src="sax-pipeline/simple.xml" />
+ <map:transform src="sax-pipeline/simple.xslt">
+ <map:parameter name="myParam" value="2" />
+ </map:transform>
+ <map:serialize type="ehtml" encoding="iso-8859-1"/>
+ </map:match>
+ </map:pipeline>
+
+ <!-- Cocoon Wicket integration -->
+ <map:pipeline type="noncaching">
+ <map:match wildcard="wicket/**">
+ <map:read type="wicket" base-path="/wicket" />
+ </map:match>
+ </map:pipeline>
+
+ <!-- StringTemplate -->
+ <map:pipeline type="noncaching">
+ <map:match wildcard="string-template/generator">
+ <map:generate type="string-template" src="string-template/template.xml">
+ <map:parameter name="parameter" value="A value"/>
+ <map:parameter name="booleanParameter" value="{jexl:true}"/>
+ </map:generate>
+ <map:serialize/>
+ </map:match>
+ <map:match wildcard="string-template/transformer">
+ <map:generate src="string-template/template.xml"/>
+ <map:transform type="string-template">
+ <map:parameter name="parameter" value="Another value"/>
+ <map:parameter name="booleanParameter" value="{jexl:false}"/>
+ </map:transform>
+ <map:serialize/>
+ </map:match>
+ </map:pipeline>
+
+ <!-- Global error handling -->
+ <map:handle-errors>
+ <map:select value="{jexl:cocoon.exception.class.name}">
+ <map:when contains="NoMatchingPipelineException">
+ <map:generate src="error-handling/404.xml" />
+ <map:serialize type="xhtml" status-code="404" />
+ </map:when>
+ <map:when ends-with="CustomException">
+ <map:generate src="error-handling/500.xml" />
+ <map:serialize type="xhtml" status-code="500" />
+ </map:when>
+ <map:otherwise>
+ <map:generate type="exception" />
+ <map:serialize type="xml" status-code="500" />
+ </map:otherwise>
+ </map:select>
+ <!--
+ <map:select type="custom-exception">
+ <map:when test="not-found">
+ <map:generate src="error-handling/404.xml" />
+ <map:serialize type="xhtml" status-code="404" />
+ </map:when>
+ <map:when test="custom-exception">
+ <map:generate src="error-handling/500.xml" />
+ <map:serialize type="xhtml" status-code="500" />
+ </map:when>
+ <map:otherwise>
+ <map:generate type="exception" src="error-handling/503.xml" />
+ <map:serialize type="xhtml" status-code="503" />
+ </map:otherwise>
+ </map:select>
+ -->
+ </map:handle-errors>
+ </map:pipelines>
+
+</map:sitemap>
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sitemap.xmap
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sitemap.xmap
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/sitemap.xmap
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/string-template/template.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/string-template/template.xml?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/string-template/template.xml (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/string-template/template.xml Sat Dec 1 10:04:39 2012
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+<html>
+ <head>
+ <title>StringTemplate demo</title>
+ </head>
+ <body>
+ <h3>StringTemplate demo</h3>
+ <p>parameter=$parameter$</p>
+$if(booleanParameter)$
+<p>booleanParameter was TRUE</p>
+$else$
+<p>booleanParameter was FALSE</p>
+$endif$
+ </body>
+</html>
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/string-template/template.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/string-template/template.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/string-template/template.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/xslt/main.xslt
URL: http://svn.apache.org/viewvc/cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/xslt/main.xslt?rev=1415967&view=auto
==============================================================================
--- cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/xslt/main.xslt (added)
+++ cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/xslt/main.xslt Sat Dec 1 10:04:39 2012
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:include href="sub-file.xslt"/>
+ <xsl:include href="servlet:/xslt/sub-servlet.xslt"/>
+
+ <xsl:template match="/">
+ <xslt>
+ <servlet>
+ <xsl:call-template name="servlet"/>
+ </servlet>
+ <file>
+ <xsl:call-template name="file"/>
+ </file>
+ </xslt>
+ </xsl:template>
+
+</xsl:stylesheet>
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/xslt/main.xslt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/xslt/main.xslt
------------------------------------------------------------------------------
svn:keywords = Date Revision Author HeadURL Id
Propchange: cocoon/trunk/jail/cocoon3/src/main/resources/COB-INF/xslt/main.xslt
------------------------------------------------------------------------------
svn:mime-type = text/xml