<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.text.xml.forrest.cvs">
    <title>gmane.text.xml.forrest.cvs</title>
    <link>http://blog.gmane.org/gmane.text.xml.forrest.cvs</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9474"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9473"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9472"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9471"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9470"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9469"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9468"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9467"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9466"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9465"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9464"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9463"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9462"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9461"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9460"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9459"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9458"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9457"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9456"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9455"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9474">
    <title>svn commit: r721753 - /forrest/trunk/site-author/skinconf.xml</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9474</link>
    <description>Author: crossley
Date: Sat Nov 29 18:53:28 2008
New Revision: 721753

URL: http://svn.apache.org/viewvc?rev=721753&amp;view=rev
Log:
The Message of the Day (motd) for old plugins was incorrect.

Modified:
    forrest/trunk/site-author/skinconf.xml

Modified: forrest/trunk/site-author/skinconf.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/skinconf.xml?rev=721753&amp;r1=721752&amp;r2=721753&amp;view=diff
==============================================================================
--- forrest/trunk/site-author/skinconf.xml (original)
+++ forrest/trunk/site-author/skinconf.xml Sat Nov 29 18:53:28 2008
&lt; at &gt;&lt; at &gt; -141,7 +141,7 &lt; at &gt;&lt; at &gt;
     &lt;motd-option pattern="plugins_0_70"&gt;
       &lt;motd-title&gt;v0.7&lt;/motd-title&gt;
       &lt;motd-page location="both"&gt;
-        This is documentation for current version v0.7
+        This is documentation for past version v0.7
       &lt;/motd-page&gt;
       &lt;motd-page-url&gt;http://forrest.apache.org/pluginDocs/&lt;/motd-page-url&gt;
     &lt;/motd-option&gt;



</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-30T02:53:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9473">
    <title>svn commit: r721084 - /forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples-b/hello-v10.dtd</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9473</link>
    <description>Author: crossley
Date: Wed Nov 26 21:51:36 2008
New Revision: 721084

URL: http://svn.apache.org/viewvc?rev=721084&amp;view=rev
Log:
In r124991 a dummy DTD was added to the "seed site" xdocs directory, to work around an issue with 'build.sh test' not using the projects xml catalog.
As a result of other recent changes (e.g. FOR-1131) this dummy is now not required.

Removed:
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples-b/hello-v10.dtd


</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-27T05:51:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9472">
    <title>svn commit: r721083 - in /forrest/trunk/main: forrest.build.xml targets/validate.xml</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9472</link>
    <description>Author: crossley
Date: Wed Nov 26 21:35:21 2008
New Revision: 721083

URL: http://svn.apache.org/viewvc?rev=721083&amp;view=rev
Log:
The preparation of the set of xmlcatalogs is better done in our "validation-props" ant target.
Thanks to assistance from Thomas Emmel.
Issue: FOR-1131 FOR-1120

Modified:
    forrest/trunk/main/forrest.build.xml
    forrest/trunk/main/targets/validate.xml

Modified: forrest/trunk/main/forrest.build.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/forrest.build.xml?rev=721083&amp;r1=721082&amp;r2=721083&amp;view=diff
==============================================================================
--- forrest/trunk/main/forrest.build.xml (original)
+++ forrest/trunk/main/forrest.build.xml Wed Nov 26 21:35:21 2008
&lt; at &gt;&lt; at &gt; -36,16 +36,6 &lt; at &gt;&lt; at &gt;
   &lt;property name="forrest.build.lib-dir"      location="${forrest.home}/build"/&gt;
   &lt;property name="forrest.core"               location="${forrest.home}/main"/&gt;
   &lt;property name="forrest.core.webapp"        location="${forrest.core}/webapp"/&gt;
-  &lt;path id="fcatalog.path"&gt;
-    &lt;pathelement location="${forrest.core.webapp}/resources/schema/catalog.xcat"/&gt;
-    &lt;pathelement location="${forrest.plugins-dir}/catalog.xcat"/&gt;
-    &lt;pathelement location="${catalog}"/&gt;
-  &lt;/path&gt;
-  &lt;xmlcatalog id="fcatalog"&gt;
-    &lt;catalogpath&gt;
-      &lt;path refid="fcatalog.path"/&gt;
-    &lt;/catalogpath&gt;
-  &lt;/xmlcatalog&gt;
   &lt;import file="targets/validate.xml"/&gt;
   &lt;import file="targets/webapp.xml"/&gt;
   &lt;import file="targets/site.xml"/&gt;

Modified: forrest/trunk/main/targets/validate.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/targets/validate.xml?rev=721083&amp;r1=721082&amp;r2=721083&amp;view=diff
==============================================================================
--- forrest/trunk/main/targets/validate.xml (original)
+++ forrest/trunk/main/targets/validate.xml Wed Nov 26 21:35:21 2008
&lt; at &gt;&lt; at &gt; -95,6 +95,17 &lt; at &gt;&lt; at &gt;
     &lt;property name="forrest.validate.skins.stylesheets.excludes" value=""/&gt;
     &lt;property name="forrest.validate.skins.stylesheets.failonerror"
       value="${forrest.validate.skins.failonerror}" /&gt;
+    &lt;path id="fcatalog.path"&gt;
+      &lt;pathelement location="${forrest.core.webapp}/resources/schema/catalog.xcat"/&gt;
+      &lt;pathelement location="${forrest.plugins-dir}/catalog.xcat"/&gt;
+      &lt;pathelement location="${catalog}"/&gt;
+    &lt;/path&gt;
+    &lt;xmlcatalog id="fcatalog"&gt;
+      &lt;catalogpath&gt;
+        &lt;path refid="fcatalog.path"/&gt;
+      &lt;/catalogpath&gt;
+    &lt;/xmlcatalog&gt;
+    &lt;echo message="Using these catalog descriptors: ${toString:fcatalog.path}"/&gt;
   &lt;/target&gt;
   &lt;target name="validate-site" depends="load-project-props"&gt;
     &lt;condition property="forrest.validate.skinconf.disable-xml-link"&gt;
&lt; at &gt;&lt; at &gt; -121,7 +132,6 &lt; at &gt;&lt; at &gt;
   &lt;/target&gt;
   &lt;target name="validate-xdocs" depends="init, validation-props" if="validate.xdocs"
       description="Validate the project xdocs"&gt;
-    &lt;echo level="verbose" message="Using these catalog descriptors: ${toString:fcatalog.path}"/&gt;
     &lt;xmlvalidate failonerror="${forrest.validate.xdocs.failonerror}" lenient="no" warn="yes" classpathref="forrest.cp" classname="org.apache.xerces.parsers.SAXParser"&gt;
       &lt;attribute name="http://apache.org/xml/features/validation/dynamic"  value="true"/&gt;
       &lt;xmlcatalog refid="fcatalog" /&gt;



</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-27T05:35:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9471">
    <title>svn commit: r721076 - in /forrest/trunk/main: forrest.build.xml targets/validate.xml</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9471</link>
    <description>Author: crossley
Date: Wed Nov 26 19:55:26 2008
New Revision: 721076

URL: http://svn.apache.org/viewvc?rev=721076&amp;view=rev
Log:
A better way to report the set of xmlcatalog files being used.
Define a "path" structure and show it using toString:...

Modified:
    forrest/trunk/main/forrest.build.xml
    forrest/trunk/main/targets/validate.xml

Modified: forrest/trunk/main/forrest.build.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/forrest.build.xml?rev=721076&amp;r1=721075&amp;r2=721076&amp;view=diff
==============================================================================
--- forrest/trunk/main/forrest.build.xml (original)
+++ forrest/trunk/main/forrest.build.xml Wed Nov 26 19:55:26 2008
&lt; at &gt;&lt; at &gt; -36,13 +36,14 &lt; at &gt;&lt; at &gt;
   &lt;property name="forrest.build.lib-dir"      location="${forrest.home}/build"/&gt;
   &lt;property name="forrest.core"               location="${forrest.home}/main"/&gt;
   &lt;property name="forrest.core.webapp"        location="${forrest.core}/webapp"/&gt;
+  &lt;path id="fcatalog.path"&gt;
+    &lt;pathelement location="${forrest.core.webapp}/resources/schema/catalog.xcat"/&gt;
+    &lt;pathelement location="${forrest.plugins-dir}/catalog.xcat"/&gt;
+    &lt;pathelement location="${catalog}"/&gt;
+  &lt;/path&gt;
   &lt;xmlcatalog id="fcatalog"&gt;
     &lt;catalogpath&gt;
-      &lt;pathelement
-        location="${forrest.core.webapp}/resources/schema/catalog.xcat"/&gt;
-      &lt;pathelement
-        location="${forrest.plugins-dir}/catalog.xcat"/&gt;
-      &lt;pathelement location="${catalog}"/&gt;
+      &lt;path refid="fcatalog.path"/&gt;
     &lt;/catalogpath&gt;
   &lt;/xmlcatalog&gt;
   &lt;import file="targets/validate.xml"/&gt;

Modified: forrest/trunk/main/targets/validate.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/targets/validate.xml?rev=721076&amp;r1=721075&amp;r2=721076&amp;view=diff
==============================================================================
--- forrest/trunk/main/targets/validate.xml (original)
+++ forrest/trunk/main/targets/validate.xml Wed Nov 26 19:55:26 2008
&lt; at &gt;&lt; at &gt; -121,10 +121,7 &lt; at &gt;&lt; at &gt;
   &lt;/target&gt;
   &lt;target name="validate-xdocs" depends="init, validation-props" if="validate.xdocs"
       description="Validate the project xdocs"&gt;
-    &lt;echo level="verbose" message="Using these catalog descriptors:
-forrest.core.webapp=${forrest.core.webapp}/resources/schema/catalog.xcat
-forrest.plugins-dir=${forrest.plugins-dir}/catalog.xcat
-catalog=${catalog}"/&gt;
+    &lt;echo level="verbose" message="Using these catalog descriptors: ${toString:fcatalog.path}"/&gt;
     &lt;xmlvalidate failonerror="${forrest.validate.xdocs.failonerror}" lenient="no" warn="yes" classpathref="forrest.cp" classname="org.apache.xerces.parsers.SAXParser"&gt;
       &lt;attribute name="http://apache.org/xml/features/validation/dynamic"  value="true"/&gt;
       &lt;xmlcatalog refid="fcatalog" /&gt;



</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-27T03:55:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9470">
    <title>svn commit: r721024 - /forrest/trunk/site-author/status.xml</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9470</link>
    <description>Author: crossley
Date: Wed Nov 26 14:59:03 2008
New Revision: 721024

URL: http://svn.apache.org/viewvc?rev=721024&amp;view=rev
Log:
The "fixes-bug" attribute needs the "FOR-" prefix.

Modified:
    forrest/trunk/site-author/status.xml

Modified: forrest/trunk/site-author/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/status.xml?rev=721024&amp;r1=721023&amp;r2=721024&amp;view=diff
==============================================================================
--- forrest/trunk/site-author/status.xml (original)
+++ forrest/trunk/site-author/status.xml Wed Nov 26 14:59:03 2008
&lt; at &gt;&lt; at &gt; -186,7 +186,7 &lt; at &gt;&lt; at &gt;
         products such as Apache Xerces and Apache Xalan, etc.
         See &lt;link href="site:upgrading_09/cocoon"&gt;upgrading notes&lt;/link&gt;.
       &lt;/action&gt;
-      &lt;action context="code" type="update" dev="TS" fixes-bug="1103" importance="high"&gt;
+      &lt;action context="code" type="update" dev="TS" fixes-bug="FOR-1103" importance="high"&gt;
         Promoting the output.inputModule plugin to core. Main reason for the move is to 
         prevent plugins dependencies since the code has attracted different use cases 
         solved in plugins to move it into core. 



</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-26T22:59:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9469">
    <title>svn commit: r721023 - /forrest/trunk/site-author/status.xml</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9469</link>
    <description>Author: crossley
Date: Wed Nov 26 14:57:13 2008
New Revision: 721023

URL: http://svn.apache.org/viewvc?rev=721023&amp;view=rev
Log:
Raise the importance of the Jing upgrade, mention FOR-984 Java 6 missing datatype library.

Modified:
    forrest/trunk/site-author/status.xml

Modified: forrest/trunk/site-author/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/status.xml?rev=721023&amp;r1=721022&amp;r2=721023&amp;view=diff
==============================================================================
--- forrest/trunk/site-author/status.xml (original)
+++ forrest/trunk/site-author/status.xml Wed Nov 26 14:57:13 2008
&lt; at &gt;&lt; at &gt; -155,9 +155,11 &lt; at &gt;&lt; at &gt;
       &lt;action context="code" type="update" dev="DC"&gt;
         Forrestbot deploy.scp workstage now reports which files were transferred.
       &lt;/action&gt;
-      &lt;action context="code" type="update" dev="DC"&gt;
-        Updated to Jing-20081028 release from
-        &lt;link href="http://code.google.com/p/jing-trang/"&gt;http://code.google.com/p/jing-trang/&lt;/link&gt;
+      &lt;action context="code" type="update" dev="DC" fixes-bug="FOR-984" importance="high"&gt;
+        Updated to Jing-20081028 release (from
+        &lt;link href="http://code.google.com/p/jing-trang/"&gt;http://code.google.com/p/jing-trang/&lt;/link&gt;).
+        As well as providing us with a reliable RELAX NG tool, this upgrade
+        fixes an issue on some Java 6 with missing datatype library.
       &lt;/action&gt;
 &lt;!-- 2008-10 --&gt;
       &lt;action context="code" type="update" dev="DC" importance="high"&gt;



</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-26T22:57:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9468">
    <title>svn commit: r720742 - in /forrest/trunk/site-author: content/xdocs/howto-dev.xml content/xdocs/site.xml status.xml</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9468</link>
    <description>Author: crossley
Date: Tue Nov 25 20:48:13 2008
New Revision: 720742

URL: http://svn.apache.org/viewvc?rev=720742&amp;view=rev
Log:
The Cocoon "Running Modes" facility is not available in cocoon-2.1 version.
Issues: FOR-1091 FOR-917

Modified:
    forrest/trunk/site-author/content/xdocs/howto-dev.xml
    forrest/trunk/site-author/content/xdocs/site.xml
    forrest/trunk/site-author/status.xml

Modified: forrest/trunk/site-author/content/xdocs/howto-dev.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/howto-dev.xml?rev=720742&amp;r1=720741&amp;r2=720742&amp;view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/howto-dev.xml (original)
+++ forrest/trunk/site-author/content/xdocs/howto-dev.xml Tue Nov 25 20:48:13 2008
&lt; at &gt;&lt; at &gt; -384,24 +384,6 &lt; at &gt;&lt; at &gt;
           Cocoon logfiles and their configuration.
         &lt;/p&gt;
       &lt;/section&gt;
-      &lt;section id="debug-modes"&gt;
-        &lt;title&gt;Cocoon Running Modes&lt;/title&gt;
-        &lt;p&gt;
-          Cocoon startup reads additional properties from various files. This
-          enables some different properties to be used for production or
-          development. By default, Forrest uses Cocoon in running mode "dev". So
-          it first reads from
-          &lt;code&gt;main/webapp/WEB-INF/properties/core.properties&lt;/code&gt; then from
-          &lt;code&gt;main/webapp/WEB-INF/properties/dev/core.properties&lt;/code&gt;
-        &lt;/p&gt;
-        &lt;p&gt;
-          To use a different mode, say "prod" for production, add to the
-          forrest.jvmargs in your forrest.properties file:
-          &lt;code&gt;-Dorg.apache.cocoon.mode=prod&lt;/code&gt; and provide the relevant
-          properties in a matching "prod" sub-directory of
-          &lt;code&gt;main/webapp/WEB-INF/properties&lt;/code&gt;
-        &lt;/p&gt;
-      &lt;/section&gt;
       &lt;section id="debug-intermediate"&gt;
         &lt;title&gt;View intermediate processing&lt;/title&gt;
         &lt;p&gt;

Modified: forrest/trunk/site-author/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/site.xml?rev=720742&amp;r1=720741&amp;r2=720742&amp;view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/site.xml (original)
+++ forrest/trunk/site-author/content/xdocs/site.xml Tue Nov 25 20:48:13 2008
&lt; at &gt;&lt; at &gt; -98,7 +98,6 &lt; at &gt;&lt; at &gt;
       &lt;sitemap href="#sitemap"/&gt;
       &lt;debug href="#debug"/&gt;
       &lt;debug-cocoon-profiler href="#debug-cocoon-profiler"/&gt;
-      &lt;debug-modes href="#debug-modes"/&gt;
       &lt;debug-sitemap-exec href="#debug-sitemap-exec"/&gt;
       &lt;debug-validation href="#debug-validation"/&gt;
     &lt;/forrest-dev&gt;

Modified: forrest/trunk/site-author/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/status.xml?rev=720742&amp;r1=720741&amp;r2=720742&amp;view=diff
==============================================================================
--- forrest/trunk/site-author/status.xml (original)
+++ forrest/trunk/site-author/status.xml Tue Nov 25 20:48:13 2008
&lt; at &gt;&lt; at &gt; -304,11 +304,6 &lt; at &gt;&lt; at &gt;
       &lt;action dev="DC" type="add" context="docs"&gt;
         New document to explain &lt;link href="site:sitemap-explain"&gt;Cocoon sitemaps&lt;/link&gt; using a specific worked example.
       &lt;/action&gt;
-      &lt;action dev="DC" type="add" context="docs"&gt;
-        Add explanation of
-        &lt;link href="site:procedures/forrest-dev/debug-modes"&gt;Cocoon Running Modes&lt;/link&gt;
-        for setting different properties.
-      &lt;/action&gt;
       &lt;action dev="DC" type="update" context="code"&gt;
         Enhanced the Message of the Day (MOTD) facility to enable specific matches.
         See skinconf.xml from a "seed" site for configuration details.



</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-26T04:48:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9467">
    <title>svn commit: r720739 - /forrest/trunk/site-author/content/xdocs/docs_0_90/validation.xml</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9467</link>
    <description>Author: crossley
Date: Tue Nov 25 20:33:46 2008
New Revision: 720739

URL: http://svn.apache.org/viewvc?rev=720739&amp;view=rev
Log:
Cocoon properties are now at WEB-INF/properties/core.properties file.
Issue: FOR-1091

Modified:
    forrest/trunk/site-author/content/xdocs/docs_0_90/validation.xml

Modified: forrest/trunk/site-author/content/xdocs/docs_0_90/validation.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/docs_0_90/validation.xml?rev=720739&amp;r1=720738&amp;r2=720739&amp;view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/docs_0_90/validation.xml (original)
+++ forrest/trunk/site-author/content/xdocs/docs_0_90/validation.xml Tue Nov 25 20:33:46 2008
&lt; at &gt;&lt; at &gt; -342,7 +342,7 &lt; at &gt;&lt; at &gt;
       &lt;p&gt;
         However this configuration does not show your DTDs being resolved. So
         raise the verbosity level in the central configuration at
-        &lt;code&gt;main/webapp/WEB-INF/properties/dev/core.properties&lt;/code&gt; and
+        &lt;code&gt;main/webapp/WEB-INF/properties/core.properties&lt;/code&gt; and
         re-start forrest. This also shows the main catalogs being loaded and
         shows the resolving of every DTD and entity set.
       &lt;/p&gt;



</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-26T04:33:46</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9466">
    <title>svn commit: r720112 - /forrest/trunk/site-author/content/xdocs/live-sites.xml</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9466</link>
    <description>Author: crossley
Date: Sun Nov 23 20:33:48 2008
New Revision: 720112

URL: http://svn.apache.org/viewvc?rev=720112&amp;view=rev
Log:
Added newton.codecauldron.org
Issue: FOR-1130

Modified:
    forrest/trunk/site-author/content/xdocs/live-sites.xml

Modified: forrest/trunk/site-author/content/xdocs/live-sites.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/live-sites.xml?rev=720112&amp;r1=720111&amp;r2=720112&amp;view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/live-sites.xml (original)
+++ forrest/trunk/site-author/content/xdocs/live-sites.xml Sun Nov 23 20:33:48 2008
&lt; at &gt;&lt; at &gt; -165,6 +165,7 &lt; at &gt;&lt; at &gt;
         &lt;li&gt;&lt;a href="http://stephane.galles.free.fr/jagraffe/english" rel="nofollow"&gt;JAgraffe&lt;/a&gt; Quickly send scaled down
 pictures by email only via DnD&lt;/li&gt;
         &lt;li&gt;&lt;a href="http://incubator.apache.org/hama"&gt;Apache Hama - a parallel matrix computational package based on Hadoop.&lt;/a&gt;&lt;/li&gt;
+      &lt;li&gt;&lt;a href="http://newton.codecauldron.org/"&gt;Newton&lt;/a&gt; - Distributed OSGi framework&lt;/li&gt;
 &lt;!--  &lt;li&gt;&lt;a href=""&gt;&lt;/a&gt;&lt;/li&gt; --&gt;
       &lt;/ul&gt;
     &lt;/section&gt;



</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-24T04:33:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9465">
    <title>svn commit: r720106 - /forrest/trunk/site-author/skinconf.xml</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9465</link>
    <description>Author: crossley
Date: Sun Nov 23 19:28:39 2008
New Revision: 720106

URL: http://svn.apache.org/viewvc?rev=720106&amp;view=rev
Log:
Use the a.o/events/ promotion resources, rather than link to specific events.

Modified:
    forrest/trunk/site-author/skinconf.xml

Modified: forrest/trunk/site-author/skinconf.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/skinconf.xml?rev=720106&amp;r1=720105&amp;r2=720106&amp;view=diff
==============================================================================
--- forrest/trunk/site-author/skinconf.xml (original)
+++ forrest/trunk/site-author/skinconf.xml Sun Nov 23 19:28:39 2008
&lt; at &gt;&lt; at &gt; -269,9 +269,9 &lt; at &gt;&lt; at &gt;
       &lt;height&gt;22&lt;/height&gt;
     &lt;/credit&gt;
     &lt;credit box-location="alt2"&gt;
-      &lt;name&gt;ApacheCon US 2008&lt;/name&gt;
-      &lt;url&gt;http://us.apachecon.com/&lt;/url&gt;
-      &lt;image&gt;http://apache.org/ads/ApacheCon/2008-usa-125x125.png&lt;/image&gt;
+      &lt;name&gt;ApacheCon&lt;/name&gt;
+      &lt;url&gt;http://www.apache.org/events/current-event.html&lt;/url&gt;
+      &lt;image&gt;http://www.apache.org/events/current-event-125x125.png&lt;/image&gt;
       &lt;width&gt;125&lt;/width&gt;
       &lt;height&gt;125&lt;/height&gt;
     &lt;/credit&gt;



</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-24T03:28:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9464">
    <title>svn commit: r720103 - in /forrest/trunk: site-author/status.xml tools/forrestbot/core/deploy.xml</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9464</link>
    <description>Author: crossley
Date: Sun Nov 23 18:55:29 2008
New Revision: 720103

URL: http://svn.apache.org/viewvc?rev=720103&amp;view=rev
Log:
Forrestbot deploy.scp workstage now reports which files were transferred.

Modified:
    forrest/trunk/site-author/status.xml
    forrest/trunk/tools/forrestbot/core/deploy.xml

Modified: forrest/trunk/site-author/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/status.xml?rev=720103&amp;r1=720102&amp;r2=720103&amp;view=diff
==============================================================================
--- forrest/trunk/site-author/status.xml (original)
+++ forrest/trunk/site-author/status.xml Sun Nov 23 18:55:29 2008
&lt; at &gt;&lt; at &gt; -153,6 +153,9 &lt; at &gt;&lt; at &gt;
       &lt;/action&gt;
 &lt;!-- 2008-11 --&gt;
       &lt;action context="code" type="update" dev="DC"&gt;
+        Forrestbot deploy.scp workstage now reports which files were transferred.
+      &lt;/action&gt;
+      &lt;action context="code" type="update" dev="DC"&gt;
         Updated to Jing-20081028 release from
         &lt;link href="http://code.google.com/p/jing-trang/"&gt;http://code.google.com/p/jing-trang/&lt;/link&gt;
       &lt;/action&gt;

Modified: forrest/trunk/tools/forrestbot/core/deploy.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/tools/forrestbot/core/deploy.xml?rev=720103&amp;r1=720102&amp;r2=720103&amp;view=diff
==============================================================================
--- forrest/trunk/tools/forrestbot/core/deploy.xml (original)
+++ forrest/trunk/tools/forrestbot/core/deploy.xml Sun Nov 23 18:55:29 2008
&lt; at &gt;&lt; at &gt; -77,7 +77,7 &lt; at &gt;&lt; at &gt;
       &lt;/then&gt;
     &lt;/if&gt;
     &lt;scp todir="${deploy.scp.dest}"
-        keyfile="${deploy.scp.keyfile}" passphrase="${deploy.scp.passphrase}"&gt;
+        keyfile="${deploy.scp.keyfile}" passphrase="${deploy.scp.passphrase}" verbose="true"&gt;
       &lt;fileset dir="${build.site-dir}"&gt;
         &lt;modified/&gt;
       &lt;/fileset&gt;



</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-24T02:55:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9463">
    <title>svn commit: r720102 - in /forrest/trunk/tools/ant/lib: jsch-0.1.28.jar.license.txt jsch-0.1.39.jar.license.txt</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9463</link>
    <description>Author: crossley
Date: Sun Nov 23 18:27:53 2008
New Revision: 720102

URL: http://svn.apache.org/viewvc?rev=720102&amp;view=rev
Log:
Update Jsch license.

Added:
    forrest/trunk/tools/ant/lib/jsch-0.1.39.jar.license.txt   (contents, props changed)
      - copied, changed from r719458, forrest/trunk/tools/ant/lib/jsch-0.1.28.jar.license.txt
Removed:
    forrest/trunk/tools/ant/lib/jsch-0.1.28.jar.license.txt

Copied: forrest/trunk/tools/ant/lib/jsch-0.1.39.jar.license.txt (from r719458, forrest/trunk/tools/ant/lib/jsch-0.1.28.jar.license.txt)
URL: http://svn.apache.org/viewvc/forrest/trunk/tools/ant/lib/jsch-0.1.39.jar.license.txt?p2=forrest/trunk/tools/ant/lib/jsch-0.1.39.jar.license.txt&amp;p1=forrest/trunk/tools/ant/lib/jsch-0.1.28.jar.license.txt&amp;r1=719458&amp;r2=720102&amp;rev=720102&amp;view=diff
==============================================================================
--- forrest/trunk/tools/ant/lib/jsch-0.1.28.jar.license.txt (original)
+++ forrest/trunk/tools/ant/lib/jsch-0.1.39.jar.license.txt Sun Nov 23 18:27:53 2008
&lt; at &gt;&lt; at &gt; -2,7 +2,7 &lt; at &gt;&lt; at &gt;
 over to a BSD-style license. 
 
 ------------------------------------------------------------------------------
-Copyright (c) 2002,2003,2004,2005,2006 Atsuhiko Yamanaka, JCraft,Inc. 
+Copyright (c) 2002,2003,2004,2005,2006,2007,2008 Atsuhiko Yamanaka, JCraft,Inc. 
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without

Propchange: forrest/trunk/tools/ant/lib/jsch-0.1.39.jar.license.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: forrest/trunk/tools/ant/lib/jsch-0.1.39.jar.license.txt
------------------------------------------------------------------------------
    svn:mergeinfo = 



</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-24T02:27:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9462">
    <title>svn commit: r719471 - in /forrest/trunk: lib/core/jing-20030619.jar lib/core/jing-20030619.jar.license.txt lib/core/jing-20081028.jar lib/core/jing-20081028.jar.license.txt site-author/status.xml</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9462</link>
    <description>Author: crossley
Date: Thu Nov 20 20:10:17 2008
New Revision: 719471

URL: http://svn.apache.org/viewvc?rev=719471&amp;view=rev
Log:
Upgraded Jing from Jing-20030619 to new Jing-20081028 from http://code.google.com/p/jing-trang/
This should also fix FOR-984.

Added:
    forrest/trunk/lib/core/jing-20081028.jar   (with props)
    forrest/trunk/lib/core/jing-20081028.jar.license.txt   (contents, props changed)
      - copied, changed from r719458, forrest/trunk/lib/core/jing-20030619.jar.license.txt
Removed:
    forrest/trunk/lib/core/jing-20030619.jar
    forrest/trunk/lib/core/jing-20030619.jar.license.txt
Modified:
    forrest/trunk/site-author/status.xml

Added: forrest/trunk/lib/core/jing-20081028.jar
URL: http://svn.apache.org/viewvc/forrest/trunk/lib/core/jing-20081028.jar?rev=719471&amp;view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/lib/core/jing-20081028.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Copied: forrest/trunk/lib/core/jing-20081028.jar.license.txt (from r719458, forrest/trunk/lib/core/jing-20030619.jar.license.txt)
URL: http://svn.apache.org/viewvc/forrest/trunk/lib/core/jing-20081028.jar.license.txt?p2=forrest/trunk/lib/core/jing-20081028.jar.license.txt&amp;p1=forrest/trunk/lib/core/jing-20030619.jar.license.txt&amp;r1=719458&amp;r2=719471&amp;rev=719471&amp;view=diff
==============================================================================
--- forrest/trunk/lib/core/jing-20030619.jar.license.txt (original)
+++ forrest/trunk/lib/core/jing-20081028.jar.license.txt Thu Nov 20 20:10:17 2008
&lt; at &gt;&lt; at &gt; -1,4 +1,4 &lt; at &gt;&lt; at &gt;
-Copyright (c) 2001, 2002 Thai Open Source Software Center Ltd
+Copyright (c) 2001-2003, 2008 Thai Open Source Software Center Ltd
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without

Propchange: forrest/trunk/lib/core/jing-20081028.jar.license.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: forrest/trunk/lib/core/jing-20081028.jar.license.txt
------------------------------------------------------------------------------
    svn:mergeinfo = 

Modified: forrest/trunk/site-author/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/status.xml?rev=719471&amp;r1=719470&amp;r2=719471&amp;view=diff
==============================================================================
--- forrest/trunk/site-author/status.xml (original)
+++ forrest/trunk/site-author/status.xml Thu Nov 20 20:10:17 2008
&lt; at &gt;&lt; at &gt; -151,6 +151,11 &lt; at &gt;&lt; at &gt;
         Added document to facilitate
         &lt;link href="site:upgrading_09"&gt;upgrading to v0.9&lt;/link&gt;
       &lt;/action&gt;
+&lt;!-- 2008-11 --&gt;
+      &lt;action context="code" type="update" dev="DC"&gt;
+        Updated to Jing-20081028 release from
+        &lt;link href="http://code.google.com/p/jing-trang/"&gt;http://code.google.com/p/jing-trang/&lt;/link&gt;
+      &lt;/action&gt;
 &lt;!-- 2008-10 --&gt;
       &lt;action context="code" type="update" dev="DC" importance="high"&gt;
         Updated to Apache-Ant-1.7.1 release.



</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-21T04:10:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9461">
    <title>svn commit: r719454 - /forrest/trunk/main/template-sites/benchmark/src/documentation/resources/schema/symbols-project-v10.ent</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9461</link>
    <description>Author: twilliams
Date: Thu Nov 20 18:39:58 2008
New Revision: 719454

URL: http://svn.apache.org/viewvc?rev=719454&amp;view=rev
Log:
After reading FOR-1071 and FOR-1075 I gather this was just an oversight. 

Added:
    forrest/trunk/main/template-sites/benchmark/src/documentation/resources/schema/symbols-project-v10.ent

Added: forrest/trunk/main/template-sites/benchmark/src/documentation/resources/schema/symbols-project-v10.ent
URL: http://svn.apache.org/viewvc/forrest/trunk/main/template-sites/benchmark/src/documentation/resources/schema/symbols-project-v10.ent?rev=719454&amp;view=auto
==============================================================================
--- forrest/trunk/main/template-sites/benchmark/src/documentation/resources/schema/symbols-project-v10.ent (added)
+++ forrest/trunk/main/template-sites/benchmark/src/documentation/resources/schema/symbols-project-v10.ent Thu Nov 20 18:39:58 2008
&lt; at &gt;&lt; at &gt; -0,0 +1,26 &lt; at &gt;&lt; at &gt;
+&lt;!--
+  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.
+--&gt;
+
+&lt;!-- Typical invocation:
+  &lt;!ENTITY % symbols-project
+      PUBLIC "-//Apache Forrest//ENTITIES Symbols Project v1.0//EN"
+      "symbols-project-v10.ent"&gt;
+  %symbols-project;
+--&gt;
+&lt;!ENTITY myp "My Project Name"&gt;
+&lt;!ENTITY myp-s "&lt;strong&gt;My Project Name&lt;/strong&gt;"&gt;
+&lt;!ENTITY myp-t "My Project Name&amp;trade;"&gt;



</description>
    <dc:creator>twilliams&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-21T02:39:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9460">
    <title>svn commit: r714223 - /forrest/trunk/tools/logos/projects.xml</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9460</link>
    <description>Author: crossley
Date: Sat Nov 15 00:33:11 2008
New Revision: 714223

URL: http://svn.apache.org/viewvc?rev=714223&amp;view=rev
Log:
ApacheCon 2009.

Modified:
    forrest/trunk/tools/logos/projects.xml

Modified: forrest/trunk/tools/logos/projects.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/tools/logos/projects.xml?rev=714223&amp;r1=714222&amp;r2=714223&amp;view=diff
==============================================================================
--- forrest/trunk/tools/logos/projects.xml (original)
+++ forrest/trunk/tools/logos/projects.xml Sat Nov 15 00:33:11 2008
&lt; at &gt;&lt; at &gt; -18,6 +18,54 &lt; at &gt;&lt; at &gt;
 &lt;projects&gt;
 &lt;!-- ApacheCon images. See www.apache.org/ads/ApacheCon/ --&gt;
   &lt;project
+    id="apachecon-eu-2009"
+    logo="apachecon"
+    name="Europe"
+    name-2="2009"
+    name-3="March 23-27"
+    name-4="Amsterdam"
+    name-5="The Netherlands"
+    bgcolor="#c98d44"
+    color="white"
+    color-2="black"
+    scale="normal" /&gt;
+  &lt;project
+    id="apachecon-eu-2009-wide"
+    logo="apachecon-wide"
+    name="Europe"
+    name-2="2009"
+    name-3="March 23-27"
+    name-4="Amsterdam"
+    name-5="The Netherlands"
+    bgcolor="#c98d44"
+    color="white"
+    color-2="black"
+    scale="normal" /&gt;
+  &lt;project
+    id="apachecon-us-2009"
+    logo="apachecon"
+    name="US"
+    name-2="2009"
+    name-3="November 2-6"
+    name-4="Oakland"
+    name-5="California, USA"
+    bgcolor="#4169e1"
+    color="white"
+    color-2="black"
+    scale="normal" /&gt;
+  &lt;project
+    id="apachecon-us-2009-wide"
+    logo="apachecon-wide"
+    name="US"
+    name-2="2009"
+    name-3="November 2-6"
+    name-4="Oakland"
+    name-5="California, USA"
+    bgcolor="#4169e1"
+    color="white"
+    color-2="black"
+    scale="normal" /&gt;
+  &lt;project
     id="apachecon-eu-2008"
     logo="apachecon"
     name="Europe"



</description>
    <dc:creator>crossley&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-15T08:33:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9459">
    <title>svn commit: r712030 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrQueryResult-to-xdocs.xsl</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9459</link>
    <description>Author: thorsten
Date: Thu Nov  6 17:14:44 2008
New Revision: 712030

URL: http://svn.apache.org/viewvc?rev=712030&amp;view=rev
Log:
Updating link generation to actually generate the correct link.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrQueryResult-to-xdocs.xsl

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrQueryResult-to-xdocs.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrQueryResult-to-xdocs.xsl?rev=712030&amp;r1=712029&amp;r2=712030&amp;view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrQueryResult-to-xdocs.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrQueryResult-to-xdocs.xsl Thu Nov  6 17:14:44 2008
&lt; at &gt;&lt; at &gt; -64,7 +64,7 &lt; at &gt;&lt; at &gt;
         &lt;section id="result-{$id}"&gt;
           &lt;title&gt;&lt;xsl:value-of select="str[&lt; at &gt;name='title']"/&gt;&lt;/title&gt;
           &lt;p&gt;
-            &lt;a href="{concat(substring-before($id,'.xml'),'.html')}"&gt;
+            &lt;a href="{concat(substring-after(substring-before($id,'.xml'),':'),'.html')}"&gt;
             &lt;xsl:value-of select="str[&lt; at &gt;name='title']"/&gt;
             &lt;/a&gt;
           &lt;/p&gt;



</description>
    <dc:creator>thorsten&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-07T01:14:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9458">
    <title>svn commit: r712029 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrResult-to-xdocs.xsl</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9458</link>
    <description>Author: thorsten
Date: Thu Nov  6 17:12:42 2008
New Revision: 712029

URL: http://svn.apache.org/viewvc?rev=712029&amp;view=rev
Log:
Updating solr result document matching

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrResult-to-xdocs.xsl

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrResult-to-xdocs.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrResult-to-xdocs.xsl?rev=712029&amp;r1=712028&amp;r2=712029&amp;view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrResult-to-xdocs.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/resources/stylesheets/solrResult-to-xdocs.xsl Thu Nov  6 17:12:42 2008
&lt; at &gt;&lt; at &gt; -21,7 +21,7 &lt; at &gt;&lt; at &gt;
     &lt;document&gt;
       &lt;header&gt;
         &lt;xsl:choose&gt;
-          &lt;xsl:when test="not(result/&lt; at &gt;status='0')"&gt;
+          &lt;xsl:when test="not(response/lst[&lt; at &gt;name='responseHeader']/int[&lt; at &gt;name='status']/text()='0')"&gt;
             &lt;title&gt;error in solr operation &lt;/title&gt;
           &lt;/xsl:when&gt;
           &lt;xsl:otherwise&gt;
&lt; at &gt;&lt; at &gt; -30,11 +30,11 &lt; at &gt;&lt; at &gt;
         &lt;/xsl:choose&gt;
       &lt;/header&gt;
       &lt;body&gt;
-        &lt;xsl:apply-templates select="result"/&gt;
+        &lt;xsl:apply-templates select="response"/&gt;
       &lt;/body&gt;
     &lt;/document&gt;
   &lt;/xsl:template&gt;
-  &lt;xsl:template match="result"&gt;
+  &lt;xsl:template match="response"&gt;
     &lt;section id="result"&gt;
       &lt;title&gt;solr server response&lt;/title&gt;
       &lt;p&gt;
&lt; at &gt;&lt; at &gt; -42,7 +42,7 &lt; at &gt;&lt; at &gt;
         &lt;xsl:value-of select="$command"/&gt;
       &lt;/p&gt;
       &lt;xsl:choose&gt;
-        &lt;xsl:when test="not(&lt; at &gt;status='0')"&gt;
+        &lt;xsl:when test="not(lst[&lt; at &gt;name='responseHeader']/int[&lt; at &gt;name='status']/text()='0')"&gt;
           &lt;warning&gt;
             There was a problem:
             &lt;xsl:value-of select="."/&gt;



</description>
    <dc:creator>thorsten&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-11-07T01:12:42</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9457">
    <title>svn commit: r709421 - in /forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src: cocoon-2.2-block/src/main/resources/META-INF/cocoon/spring/ java/org/apache/forrest/dispatcher/transformation/</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9457</link>
    <description>Author: thorsten
Date: Fri Oct 31 07:01:37 2008
New Revision: 709421

URL: http://svn.apache.org/viewvc?rev=709421&amp;view=rev
Log:
Adding a sax implementation again since both other are slower then the former version. The sax version needs still some attention

Added:
    forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherWrapperTransformer.java
      - copied, changed from r708186, forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java
Modified:
    forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/cocoon-2.2-block/src/main/resources/META-INF/cocoon/spring/dispatcher-context.xml
    forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java

Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/cocoon-2.2-block/src/main/resources/META-INF/cocoon/spring/dispatcher-context.xml
URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/cocoon-2.2-block/src/main/resources/META-INF/cocoon/spring/dispatcher-context.xml?rev=709421&amp;r1=709420&amp;r2=709421&amp;view=diff
==============================================================================
--- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/cocoon-2.2-block/src/main/resources/META-INF/cocoon/spring/dispatcher-context.xml (original)
+++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/cocoon-2.2-block/src/main/resources/META-INF/cocoon/spring/dispatcher-context.xml Fri Oct 31 07:01:37 2008
&lt; at &gt;&lt; at &gt; -18,21 +18,28 &lt; at &gt;&lt; at &gt;
   limitations under the License.
 --&gt;
 &lt;beans&gt;
-  &lt;bean id="dispatcher"
+  &lt;bean id="dispatcher" scope="prototype"
     name="org.apache.cocoon.transformation.Transformer/dispatcher"
     class="org.apache.forrest.dispatcher.transformation.DispatcherTransformer"&gt;
     &lt;property name="manager" ref="org.apache.avalon.framework.service.ServiceManager"/&gt;
     &lt;property name="config" ref="config"/&gt;
-    &lt;property name="xpathSupport" value="enhanced"/&gt;
+    &lt;property name="xpathSupport" value="basic"/&gt;
   &lt;/bean&gt;
-  &lt;bean id="dispatcherEnhanced"
-    name="org.apache.cocoon.transformation.Transformer/dispatcherEnhanced"
-    class="org.apache.forrest.dispatcher.transformation.DispatcherTransformer"&gt;
+  &lt;bean id="dispatcherWrapper" scope="prototype"
+    name="org.apache.cocoon.transformation.Transformer/dispatcherWrapper"
+    class="org.apache.forrest.dispatcher.transformation.DispatcherWrapperTransformer"&gt;
+    &lt;property name="manager" ref="org.apache.avalon.framework.service.ServiceManager"/&gt;
+    &lt;property name="config" ref="config"/&gt;
+    &lt;property name="xpathSupport" value="basic"/&gt;
+  &lt;/bean&gt;
+  &lt;bean id="dispatcherWrapperEnhanced" scope="prototype"
+    name="org.apache.cocoon.transformation.Transformer/dispatcherWrapperEnhanced"
+    class="org.apache.forrest.dispatcher.transformation.DispatcherWrapperTransformer"&gt;
     &lt;property name="manager" ref="org.apache.avalon.framework.service.ServiceManager"/&gt;
     &lt;property name="config" ref="config"/&gt;
     &lt;property name="xpathSupport" value="enhanced"/&gt;
   &lt;/bean&gt;
-  &lt;bean id="config"
+  &lt;bean id="config" scope="prototype"
     class="org.apache.forrest.dispatcher.config.WritableDispatcherBean"&gt;
     &lt;property name="allowXmlProperties" value="true"/&gt;
     &lt;property name="shrink" value="false"/&gt;

Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java
URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java?rev=709421&amp;r1=709420&amp;r2=709421&amp;view=diff
==============================================================================
--- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java (original)
+++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java Fri Oct 31 07:01:37 2008
&lt; at &gt;&lt; at &gt; -23,8 +23,13 &lt; at &gt;&lt; at &gt;
 import java.io.InputStream;
 import java.io.Serializable;
 import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Iterator;
 import java.util.Map;
 
+import javax.xml.namespace.QName;
+import javax.xml.stream.XMLStreamException;
+import javax.xml.stream.XMLStreamReader;
 import javax.xml.transform.TransformerException;
 import javax.xml.transform.TransformerFactory;
 import javax.xml.transform.TransformerFactoryConfigurationError;
&lt; at &gt;&lt; at &gt; -38,6 +43,15 &lt; at &gt;&lt; at &gt;
 import org.apache.avalon.framework.service.ServiceException;
 import org.apache.avalon.framework.service.ServiceManager;
 import org.apache.axiom.attachments.utils.IOUtils;
+import org.apache.axiom.om.OMAbstractFactory;
+import org.apache.axiom.om.OMAttribute;
+import org.apache.axiom.om.OMDocument;
+import org.apache.axiom.om.OMElement;
+import org.apache.axiom.om.OMFactory;
+import org.apache.axiom.om.OMNamespace;
+import org.apache.axiom.om.OMNode;
+import org.apache.axiom.om.impl.builder.StAXOMBuilder;
+import org.apache.commons.io.output.ByteArrayOutputStream;
 import org.apache.cocoon.ProcessingException;
 import org.apache.cocoon.caching.CacheableProcessingComponent;
 import org.apache.cocoon.environment.SourceResolver;
&lt; at &gt;&lt; at &gt; -47,32 +61,33 &lt; at &gt;&lt; at &gt;
 import org.apache.excalibur.source.SourceException;
 import org.apache.excalibur.source.SourceValidity;
 import org.apache.excalibur.xml.sax.SAXParser;
+import org.apache.forrest.dispatcher.api.Contract;
+import org.apache.forrest.dispatcher.api.Resolver;
 import org.apache.forrest.dispatcher.api.Structurer;
 import org.apache.forrest.dispatcher.config.DispatcherBean;
 import org.apache.forrest.dispatcher.config.WritableDispatcherBean;
+import org.apache.forrest.dispatcher.exception.ContractException;
 import org.apache.forrest.dispatcher.exception.DispatcherException;
+import org.apache.forrest.dispatcher.factories.ContractFactory;
 import org.apache.forrest.dispatcher.impl.CocoonResolver;
 import org.apache.forrest.dispatcher.impl.XMLStructurer;
 import org.apache.forrest.dispatcher.impl.XMLStructurerAxiom;
+import org.apache.forrest.dispatcher.impl.helper.AXIOMXPathCreate;
 import org.apache.forrest.dispatcher.impl.helper.Captions;
 import org.apache.forrest.dispatcher.impl.helper.StAX;
+import org.apache.forrest.dispatcher.impl.helper.StreamHelper;
 import org.apache.forrest.dispatcher.impl.helper.XMLProperties;
+import org.jaxen.JaxenException;
+import org.xml.sax.Attributes;
 import org.xml.sax.InputSource;
 import org.xml.sax.SAXException;
 
 /**
- * A cocoon transformer wrapper class for the dispatcher.
+ * A cocoon transformer class for the dispatcher.
  * 
- * The actual work will be done in the core code of the dispatcher which is
- * based on StAX and AXIOM.
- * 
- * &lt;li&gt;In this transformer we doing principal configuration to adopt the
- * dispatcher to the cocoon environment ({&lt; at &gt;link #configure(Configuration)} and (
- * {&lt; at &gt;link #setup(SourceResolver, Map, String, Parameters)} &lt;li&gt;We reusing cocoon
- * caching mechanism ({&lt; at &gt;link #getKey()} and {&lt; at &gt;link #getValidity()} to cache the
- * dispatcher. &lt;li&gt;We record the SAX events ({&lt; at &gt;link #startDocument()} to later
- * {&lt; at &gt;link #endDocument()} passing them as Stream to the Structurer
- * implementation we have chosen.
+ * Unlike the wrapper this class will do the actual work and only reuse the
+ * contract handling from the core. This class is nearly the same as we had
+ * before just switching DOM for StAX/AXIOM.
  * 
  * &lt; at &gt;version 1.0
  * 
&lt; at &gt;&lt; at &gt; -80,6 +95,8 &lt; at &gt;&lt; at &gt;
 public class DispatcherTransformer extends AbstractSAXTransformer implements
     Disposable, CacheableProcessingComponent, URIResolver {
 
+  private static final String PATH_PREFIX = "result";
+
   /**
    * The requested format.
    * &lt;p&gt;
&lt; at &gt;&lt; at &gt; -137,17 +154,21 &lt; at &gt;&lt; at &gt;
   /**
    * Main configuration bean of the dispatcher.
    * &lt;p&gt;
-   * This config will control things like &lt;li&gt;contract prefixes/suffixes &lt;li&gt;
+   * This config will control things like
+   * &lt;li&gt;contract prefixes/suffixes
+   * &lt;li&gt;
    * resolver to use
    */
   private WritableDispatcherBean config;
 
   /**
-   * Cocoon 2.2 compatible method.
-   * Allow that the ServiceManager is be set via e.g. spring
-   * &lt; at &gt;param manager manger to use in the context
+   * Cocoon 2.2 compatible method. Allow that the ServiceManager is be set via
+   * e.g. spring
+   * 
+   * &lt; at &gt;param manager
+   *          manger to use in the context
    */
-  public void setManager(ServiceManager manager){
+  public void setManager(ServiceManager manager) {
     this.manager = manager;
   }
 
&lt; at &gt;&lt; at &gt; -162,7 +183,8 &lt; at &gt;&lt; at &gt;
   private String xpathSupport;
 
   /**
-   * &lt; at &gt;param xpathSupport the xpathSupport to set
+   * &lt; at &gt;param xpathSupport
+   *          the xpathSupport to set
    */
   public synchronized void setXpathSupport(String xpathSupport) {
     this.xpathSupport = xpathSupport;
&lt; at &gt;&lt; at &gt; -184,6 +206,34 &lt; at &gt;&lt; at &gt;
    */
   private static final String DEFAULT_VARIABLES = "defaultVariables";
 
+  /**
+   * preparing the parser that will pick up the result and pass it to the
+   * consumer again.
+   */
+  private SAXParser parser = null;
+  private OMFactory factory;
+  private ContractFactory contractRep;
+
+  private boolean insideProperties = false;
+  private boolean includeNodes = true;
+  private OMElement root;
+
+  private OMElement pathNode;
+
+  private Resolver resolverDispatcher;
+
+  private Contract contract;
+
+  private HashMap&lt;String, Object&gt; map;
+
+  private HashMap&lt;String, Object&gt; localParams;
+
+  private boolean allowXml;
+
+  private String currentProperty;
+
+  private InputStream dataStream;
+
   /*
    * &lt; at &gt;see
    * org.apache.cocoon.transformation.AbstractSAXTransformer#configure(org.apache
&lt; at &gt;&lt; at &gt; -195,37 +245,43 &lt; at &gt;&lt; at &gt;
     // parameters here
     config = new WritableDispatcherBean();
     config.setStaxHelper(new StAX());
-    boolean allowXml = configuration.getChild("allowXml").getValueAsBoolean(
+    allowXml = configuration.getChild("allowXml").getValueAsBoolean(
         false);
     config.setAllowXmlProperties(allowXml);
     contractUriPrefix = configuration.getChild("contractUriPrefix").getValue(
         "cocoon://resolve.contract.");
-    config.setContractUriSufix(configuration.getChild("contractUriSufix").getValue(""));
+    config.setContractUriSufix(configuration.getChild("contractUriSufix")
+        .getValue(""));
     xpathSupport = configuration.getChild("xpathSupport").getValue("basic");
     boolean shrink = configuration.getChild("shrink").getValueAsBoolean(true);
     config.setShrink(shrink);
     setNewTransformerFactory();
   }
-  
+
   /**
-   * Cocoon 2.2 compatible method.
-   * Allow that the WritableDispatcherBean is be set via e.g. spring
-   * &lt; at &gt;param config the configuration to use.
+   * Cocoon 2.2 compatible method. Allow that the WritableDispatcherBean is be
+   * set via e.g. spring
+   * 
+   * &lt; at &gt;param config
+   *          the configuration to use.
    */
   public void setConfig(WritableDispatcherBean config) {
     this.config = config;
-    if(config.getTransFact()==null){
+    if (config.getTransFact() == null) {
       setNewTransformerFactory();
     }
     contractUriPrefix = config.getContractUriPrefix();
   }
+
   private void setNewTransformerFactory()
       throws TransformerFactoryConfigurationError {
-    // FIXME: is this the best way to get an instance in cocoon?
+    // Is this the best way to get an instance in cocoon?
     TransformerFactory tfactory = TransformerFactory.newInstance();
     tfactory.setURIResolver(this);
     tfactory.setErrorListener(new TraxErrorHandler(getLogger()));
     config.setTransFact(tfactory);
+    this.factory = OMAbstractFactory.getOMFactory();
+    this.contractRep = new ContractFactory(config);
   }
 
   // we do all the heavy stuff later and only prepare the basics here,
&lt; at &gt;&lt; at &gt; -238,8 +294,9 &lt; at &gt;&lt; at &gt;
         .getParameter(DISPATCHER_REQUEST_ATTRIBUTE, null);
     this.cacheKey = parameters.getParameter(CACHE_PARAMETER, null);
     if (null == this.cacheKey)
-      getLogger().warn("Caching not activated! Declare the CACHE_KEY_PARAMETER="
-          + CACHE_PARAMETER + " in your sitemap.");
+      getLogger().warn(
+          "Caching not activated! Declare the CACHE_KEY_PARAMETER="
+              + CACHE_PARAMETER + " in your sitemap.");
     this.validityFile = parameters.getParameter(VALIDITY_PARAMETER, null);
     this.validityChecking = parameters.getParameter(
         VALIDITY_OVERRIDE_PARAMETER, "");
&lt; at &gt;&lt; at &gt; -263,48 +320,331 &lt; at &gt;&lt; at &gt;
       throw new ProcessingException(error);
     }
     this.cacheKey += requestedFormat;
-    if (null == m_resolver){
+    if (null == m_resolver) {
       try {
         m_resolver = (org.apache.excalibur.source.SourceResolver) manager
             .lookup(SourceResolver.ROLE);
-        config.setResolver(new CocoonResolver(m_resolver));
+        resolverDispatcher = new CocoonResolver(m_resolver);
+        config.setResolver(resolverDispatcher);
       } catch (ServiceException e) {
         throw new ProcessingException(e);
       }
     }
   }
+
+  /*
+   * old transformer link &lt; at &gt;see
+   * http://svn.apache.org/viewvc?view=rev&amp;revision=694101
+   * 
+   * &lt; at &gt;see
+   * org.apache.cocoon.transformation.AbstractSAXTransformer#startElement(String
+   * uri, String name, String raw, Attributes attr)
+   */
+  public void startElement(String uri, String name, String raw, Attributes attr)
+      throws SAXException {
+    // Process start element event
+     if (Captions.NS.equals(uri)) {
+      try {
+        /*
+         * We are in the dispatcher ns.
+         */
+        getLogger().debug("Starting dispatcher element: " + raw);
+        if (Captions.STRUCTURE_ELEMENT.equals(name)) {
+          structurerProcessingStart(attr);
+        } else if (Captions.HOOK_ELEMENT.equals(name) &amp;&amp; this.includeNodes) {
+          hookProcessingStart(name, raw, attr);
+        } else if (Captions.CONTRACT_ELEMENT.equals(name) &amp;&amp; this.includeNodes) {
+          contractProcessingStart(attr);
+        } else if (Captions.PROPERTY_ELEMENT.equals(name) &amp;&amp; this.includeNodes) {
+          this.insideProperties = true;
+          propertyProcessingStart(uri, name, raw, attr);
+        }
+      } catch (Exception e) {
+        throw new SAXException(e);
+      }
+    } else {
+      if (!this.insideProperties &amp;&amp; this.includeNodes ){
+        super.startElement(uri, name, raw, attr);
+      }
+    }
+
+  }
   
-/*
- * Here we just start recording to use them later on.
- * 
- * In the future we may want to implement a sax based 
- * structurer implementation again.
- * 
- * old transformer link &lt; at &gt;see
- * http://svn.apache.org/viewvc?view=rev&amp;revision=694101
- * 
- * &lt; at &gt;see org.apache.cocoon.transformation.AbstractSAXTransformer#startDocument()
- */
-  public void startDocument() throws SAXException {
-    // just start the recording
-    startSerializedXMLRecording(null);
+  public void endElement(String uri, String name, String raw)
+  throws SAXException {
+    getLogger().debug("Ending element: " + raw);
+    if (Captions.NS.equals(uri)){
+      try {
+        if (Captions.STRUCTURE_ELEMENT.equals(name)){
+          structurerProcessingEnd(raw);
+        } else if (Captions.HOOK_ELEMENT.equals(name) &amp;&amp; this.includeNodes) {
+          //TODO Implement
+        } else if (Captions.CONTRACT_ELEMENT.equals(name) &amp;&amp; this.includeNodes) {
+          contractProcessingEnd();
+        } else if (Captions.PROPERTY_ELEMENT.equals(name) &amp;&amp; this.includeNodes){
+          if (allowXml){
+            String property = null;
+            try {
+              super.endElement(uri, name, raw);
+              property = super.endSerializedXMLRecording();
+            } catch (ProcessingException e) {
+              throw new SAXException(e);
+            }
+            if (null != property){
+              localParams.put(currentProperty, property.getBytes());
+            }
+          }
+        }
+      } catch (ContractException e) {
+        throw new SAXException (e);
+      } catch (IOException e) {
+        throw new SAXException (e);
+      } catch (JaxenException e) {
+        throw new SAXException (e);
+      } catch (XMLStreamException e) {
+        throw new SAXException (e);
+      }
+    }else if (!this.insideProperties &amp;&amp; this.includeNodes){
+      super.endElement(uri, name, raw);
+    }
+  }
+
+  private void contractProcessingEnd() throws ContractException, IOException, JaxenException, XMLStreamException {
+    InputStream resultStream = contract.execute(dataStream, localParams);
+    StreamHelper.closeStream(dataStream);
+    processContractResult(resultStream, pathNode);
+    StreamHelper.closeStream(resultStream);
+  }
+
+  /**
+   * &lt; at &gt;param resultStream
+   * &lt; at &gt;param pathNode
+   * &lt; at &gt;throws XMLStreamException
+   * &lt; at &gt;throws JaxenException
+   */
+  &lt; at &gt;SuppressWarnings("unchecked")
+  private void processContractResult(InputStream resultStream,
+      OMElement pathNode) throws XMLStreamException, JaxenException {
+    XMLStreamReader contractResultReader = config.getStaxHelper().getReader(resultStream);
+    StAXOMBuilder builder = new StAXOMBuilder(contractResultReader);
+    OMElement content = builder.getDocumentElement();
+    /*
+     * For full blown ns support we need to get all ns from the result. This
+     * will be passed later to the XPath processor.
+     */
+    Iterator&lt;OMNamespace&gt; ns = content.getAllDeclaredNamespaces();
+    HashSet&lt;OMNamespace&gt; spaces = new HashSet&lt;OMNamespace&gt;();
+    while (ns.hasNext()) {
+      OMNamespace space = ns.next();
+      spaces.add(space);
+    }
+    Iterator&lt;OMElement&gt; parts = content.getChildrenWithName(qIt(
+        Captions.NS_CONTRACTS, Captions.PART_ELEMENT));
+    while (parts.hasNext()) {
+      OMElement part = parts.next();
+      String xpath = part.getAttributeValue(qIt(Captions.RESULT_XPATH));
+      Iterator&lt;OMNode&gt; children = part.getChildren();
+      if (xpath == null) {
+        while (children.hasNext()) {
+          OMNode child = (OMNode) children.next();
+          pathNode.addChild(child);
+        }
+      } else {
+        xpath = PATH_PREFIX + xpath;
+        // we need to feed the xpathSelector with the ns we may have
+        AXIOMXPathCreate xpathSelector = new AXIOMXPathCreate(xpath);
+
+        for (OMNamespace space : spaces) {
+          xpathSelector
+              .addNamespace(space.getPrefix(), space.getNamespaceURI());
+        }
+        OMElement injectionPoint = (OMElement) xpathSelector.selectSingleNode(
+            root, true);
+        while (children.hasNext()) {
+          OMNode child = (OMNode) children.next();
+          injectionPoint.addChild(child);
+        }
+
+      }
+    }
+  }
+  /**
+   * &lt; at &gt;param name
+   * &lt; at &gt;return
+   */
+  private QName qIt(String name) {
+    return new QName(name);
+  }
+  /**
+   * &lt; at &gt;param name
+   * &lt; at &gt;param uri
+   * &lt; at &gt;return
+   */
+  private QName qIt(String uri,String name) {
+    return new QName(uri,name);
+  }
+  private void structurerProcessingEnd(String raw) {
+    if(includeNodes){
+      
+    }
+    
+  }
+
+  private void propertyProcessingStart(String uri, String name, String raw,
+      Attributes attr) throws SAXException {
+    
+    String id = null , value = null;
+    for (int i = 0; i &lt; attr.getLength(); i++) {
+      String localName = attr.getLocalName(i);
+      String localValue = attr.getValue(i);
+      if (Captions.NAME_ATT.equals(localName)){
+        id = localValue;
+      }else if(Captions.VALUE_ATT.equals(localName)){
+        value = localValue;
+      }
+    }
+    
+    if (allowXml){
+      // just start the recording
+      startSerializedXMLRecording(null);
+      super.startElement(uri, name, raw, attr);
+      currentProperty = id;
+    }else{
+      if (id!=null &amp;&amp; value!= null){
+        localParams.put(id, new String(value));
+      }
+    }
+
+  }
+
+  private void contractProcessingStart(Attributes attr) throws SAXException {
+    String name = "", data = null;
+    try {
+      for (int i = 0; i &lt; attr.getLength(); i++) {
+        String localName = attr.getLocalName(i);
+        String value = attr.getValue(i);
+        if (Captions.NAME_ATT.equals(localName)) {
+          name = value;
+        } else if (Captions.DATA_ATT.equals(localName)) {
+          data = value;
+        }
+      }
+      dataStream = null;
+      if (null != data &amp;&amp; !data.equals("")) {
+        dataStream = resolverDispatcher.resolve(data);
+      }
+      contract = contractRep.resolve(name);
+      localParams = new HashMap&lt;String, Object&gt;(map);
+
+    } catch (Exception e) {
+      String error = DispatcherException.ERROR_500 + "\n"
+          + "component: ContractBean" + "\n"
+          + "message: Could not setup contractBean." + "\n" + "\n\n"
+          + "dispatcherErrorStack:\n" + e;
+      getLogger().error(error);
+      throw new SAXException(error);
+    }
+
+  }
+
+  private void hookProcessingStart(String name, String raw, Attributes attr) {
+    OMElement element = factory.createOMElement(name, Captions.NS, "forrest");
+    for (int i = 0; i &lt; attr.getLength(); i++) {
+      String localName = attr.getLocalName(i);
+      String value = attr.getValue(i);
+      OMAttribute attribute = factory.createOMAttribute(localName, null, value);
+      element.addAttribute(attribute);
+    }
+    pathNode.addChild(element);
+  }
+
+  /**
+   * view type="?" Here we check which format we have in the view. That should
+   * be extended to matching the requested format
+   * 
+   * &lt; at &gt;param attr
+   * &lt; at &gt;throws JaxenException
+   * &lt; at &gt;throws SAXException
+   */
+  private void structurerProcessingStart(Attributes attr)
+      throws DispatcherException {
+    String m_type = "", path = "";
+    for (int i = 0; i &lt; attr.getLength(); i++) {
+      String localName = attr.getLocalName(i);
+      String value = attr.getValue(i);
+      if (localName.equals(Captions.TYPE_ATT)) {
+        m_type = value;
+      }
+      if (localName.equals(Captions.HOOKS_ATT)) {
+        // adding the default path
+        boolean startsWithRoot = "/".equals(String.valueOf(value.charAt(0)));
+        if (!startsWithRoot) {
+          value = "/" + value;
+        } else if (value.length() == 1 &amp;&amp; startsWithRoot) {
+          value = "";
+        }
+        path += value;
+      }
+    }
+    if (requestedFormat.equals(m_type)) {
+      try {
+        // need to get the properties for this uri
+        map = new HashMap&lt;String, Object&gt;();
+        String propertyURI = "cocoon://" + requestId + ".props";
+        // get the source representation of the propertyURI
+        Source propsSource = m_resolver.resolveURI(propertyURI);
+        if (propsSource != null) {
+          // get the stream
+          InputStream stream = new BufferedInputStream(propsSource
+              .getInputStream());
+          /*
+           * we need either just the bytes of the stream (if we allow xml
+           * properties) or we need to process it extracting the properties.
+           */
+          if (config.isAllowXmlProperties()) {
+            // get the bytes from the stream
+            byte[] properties = IOUtils.getStreamAsByteArray(stream);
+            /*
+             * add the bytes to the properties map later on they will be picked
+             * up and parsed to a dom node.
+             */
+            map.put(DEFAULT_VARIABLES, properties);
+          } else {
+            // extract the properties of the in coming stream
+            XMLProperties.parseProperties(stream, map);
+          }
+          // release source - you need to ALWAYS do this!
+          release(propsSource);
+        }
+        BufferedInputStream stream = null;
+        ByteArrayOutputStream out = new ByteArrayOutputStream();
+        /*
+         * Preparing the model by creating a root document/element. Afterward we
+         * need to strip the root element again.
+         */
+        OMDocument doc = factory.createOMDocument();
+        root = factory.createOMElement(PATH_PREFIX, null);
+        doc.addChild(root);
+        AXIOMXPathCreate xpath = new AXIOMXPathCreate("/"+PATH_PREFIX + path);
+        pathNode = (OMElement) xpath.selectSingleNode(root, true);
+        this.includeNodes = true;
+      } catch (Exception e) {
+        throw new DispatcherException(e);
+      }
+    } else {
+      pathNode = null; // unset path because we do not process the node
+      this.includeNodes = false;
+    }
+
   }
 
   /*
-   * Here we pick up the recoreder result and start the
-   * processing on it.
+   * Here we pick up the recoreder result and start the processing on it.
    * 
    * &lt; at &gt;see org.apache.cocoon.transformation.AbstractSAXTransformer#endDocument()
    */
   public void endDocument() throws SAXException {
-    // the recorded document we just streamed
-    String document = null;
-    try {
-      // request the information from the recorder
-      document = super.endSerializedXMLRecording();
-    } catch (ProcessingException e) {
-      throw new SAXException(e);
-    }
+
     // start structurer routine
     Structurer structurer = null;
     // need to get the properties for this uri
&lt; at &gt;&lt; at &gt; -314,28 +654,26 &lt; at &gt;&lt; at &gt;
       // get the source representation of the propertyURI
       Source propsSource = m_resolver.resolveURI(propertyURI);
       if (propsSource != null) {
-        // get the stream 
+        // get the stream
         InputStream stream = new BufferedInputStream(propsSource
             .getInputStream());
         /*
-         * we need either just the bytes of the stream (if we allow
-         * xml properties) or we need to process it extracting the 
-         * properties.  
+         * we need either just the bytes of the stream (if we allow xml
+         * properties) or we need to process it extracting the properties.
          */
         if (config.isAllowXmlProperties()) {
           // get the bytes from the stream
           byte[] properties = IOUtils.getStreamAsByteArray(stream);
           /*
-           *  add the bytes to the properties map
-           *  later on they will be picked up and
-           *  parsed to a dom node.
+           * add the bytes to the properties map later on they will be picked up
+           * and parsed to a dom node.
            */
           map.put(DEFAULT_VARIABLES, properties);
         } else {
           // extract the properties of the in coming stream
           XMLProperties.parseProperties(stream, map);
         }
-        // release source - you need to ALWAYS do this! 
+        // release source - you need to ALWAYS do this!
         release(propsSource);
       }
     } catch (Exception e) {
&lt; at &gt;&lt; at &gt; -344,26 +682,29 &lt; at &gt;&lt; at &gt;
     // which implementation do we want
     if (xpathSupport.equals("enhanced")) {
       /*
-       * The axiom implementation is an object model
-       * approach to StAX. It allows you a dom like navigation
-       * (allocate xpath nodes), adding of child elements in
-       * this xpath statement and many more. 
+       * The axiom implementation is an object model approach to StAX. It allows
+       * you a dom like navigation (allocate xpath nodes), adding of child
+       * elements in this xpath statement and many more.
        */
-      structurer = new XMLStructurerAxiom((DispatcherBean)config, map);
+      structurer = new XMLStructurerAxiom((DispatcherBean) config, map);
     } else {
       /*
-       * The stax implementationis 100% StAX even the generation 
-       * of the resulting document is done with StAX.
-       * However it does not offer real support of xpath expressions.
+       * The stax implementationis 100% StAX even the generation of the
+       * resulting document is done with StAX. However it does not offer real
+       * support of xpath expressions.
        */
-      structurer = new XMLStructurer((DispatcherBean)config, map);
+      structurer = new XMLStructurer((DispatcherBean) config, map);
     }
-    /*
-     * preparing the parser that will pick up the result and
-     * pass it to the consumer again. 
-     */
-    SAXParser parser = null;
+
     try {
+      // the recorded document we just streamed
+      String document = null;
+      try {
+        // request the information from the recorder
+        document = super.endSerializedXMLRecording();
+      } catch (ProcessingException e) {
+        throw new SAXException(e);
+      }
       // get the result of the structurer as stream
       InputStream result = structurer.execute(new BufferedInputStream(
           new ByteArrayInputStream(document.getBytes())), requestedFormat);
&lt; at &gt;&lt; at &gt; -377,7 +718,7 &lt; at &gt;&lt; at &gt;
       throw new SAXException(e);
     } finally {
       if (null != parser) {
-     // release parser - you need to ALWAYS do this! 
+        // release parser - you need to ALWAYS do this!
         manager.release(parser);
       }
     }
&lt; at &gt;&lt; at &gt; -456,9 +797,11 &lt; at &gt;&lt; at &gt;
 
   }
 
-  /* 
+  /*
    * From URIResolver, copied from TraxProcessor
-   * &lt; at &gt;see javax.xml.transform.URIResolver#resolve(java.lang.String, java.lang.String)
+   * 
+   * &lt; at &gt;see javax.xml.transform.URIResolver#resolve(java.lang.String,
+   * java.lang.String)
    */
   public javax.xml.transform.Source resolve(String href, String base)
       throws TransformerException {

Copied: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherWrapperTransformer.java (from r708186, forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java)
URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherWrapperTransformer.java?p2=forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherWrapperTransformer.java&amp;p1=forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java&amp;r1=708186&amp;r2=709421&amp;rev=709421&amp;view=diff
==============================================================================
--- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java (original)
+++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherWrapperTransformer.java Fri Oct 31 07:01:37 2008
&lt; at &gt;&lt; at &gt; -77,7 +77,7 &lt; at &gt;&lt; at &gt;
  * &lt; at &gt;version 1.0
  * 
  */
-public class DispatcherTransformer extends AbstractSAXTransformer implements
+public class DispatcherWrapperTransformer extends AbstractSAXTransformer implements
     Disposable, CacheableProcessingComponent, URIResolver {
 
   /**
&lt; at &gt;&lt; at &gt; -184,6 +184,11 &lt; at &gt;&lt; at &gt;
    */
   private static final String DEFAULT_VARIABLES = "defaultVariables";
 
+  /**
+   * preparing the parser that will pick up the result and
+   * pass it to the consumer again. 
+   */
+  SAXParser parser = null;
   /*
    * &lt; at &gt;see
    * org.apache.cocoon.transformation.AbstractSAXTransformer#configure(org.apache
&lt; at &gt;&lt; at &gt; -297,14 +302,7 &lt; at &gt;&lt; at &gt;
    * &lt; at &gt;see org.apache.cocoon.transformation.AbstractSAXTransformer#endDocument()
    */
   public void endDocument() throws SAXException {
-    // the recorded document we just streamed
-    String document = null;
-    try {
-      // request the information from the recorder
-      document = super.endSerializedXMLRecording();
-    } catch (ProcessingException e) {
-      throw new SAXException(e);
-    }
+    
     // start structurer routine
     Structurer structurer = null;
     // need to get the properties for this uri
&lt; at &gt;&lt; at &gt; -358,19 +356,23 &lt; at &gt;&lt; at &gt;
        */
       structurer = new XMLStructurer((DispatcherBean)config, map);
     }
-    /*
-     * preparing the parser that will pick up the result and
-     * pass it to the consumer again. 
-     */
-    SAXParser parser = null;
+    
     try {
-      // get the result of the structurer as stream
-      InputStream result = structurer.execute(new BufferedInputStream(
-          new ByteArrayInputStream(document.getBytes())), requestedFormat);
-      // requesting a parser
-      parser = (SAXParser) manager.lookup(SAXParser.ROLE);
-      // adding the result to the consumer
-      parser.parse(new InputSource(result), super.xmlConsumer);
+     // the recorded document we just streamed
+        String document = null;
+        try {
+          // request the information from the recorder
+          document = super.endSerializedXMLRecording();
+        } catch (ProcessingException e) {
+          throw new SAXException(e);
+        }
+        // get the result of the structurer as stream
+        InputStream result = structurer.execute(new BufferedInputStream(
+            new ByteArrayInputStream(document.getBytes())), requestedFormat);
+     // requesting a parser
+        parser = (SAXParser) manager.lookup(SAXParser.ROLE);
+        // adding the result to the consumer
+        parser.parse(new InputSource(result), super.xmlConsumer); 
     } catch (DispatcherException e) {
       throw new SAXException(e);
     } catch (Exception e) {



</description>
    <dc:creator>thorsten&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-10-31T14:01:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9456">
    <title>svn commit: r709419 - /forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/cocoon-2.2-block/src/main/resources/COB-INF/sitemap.xmap</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9456</link>
    <description>Author: thorsten
Date: Fri Oct 31 07:00:36 2008
New Revision: 709419

URL: http://svn.apache.org/viewvc?rev=709419&amp;view=rev
Log:
Using the basic version

Modified:
    forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/cocoon-2.2-block/src/main/resources/COB-INF/sitemap.xmap

Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/cocoon-2.2-block/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/cocoon-2.2-block/src/main/resources/COB-INF/sitemap.xmap?rev=709419&amp;r1=709418&amp;r2=709419&amp;view=diff
==============================================================================
--- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/cocoon-2.2-block/src/main/resources/COB-INF/sitemap.xmap (original)
+++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/cocoon-2.2-block/src/main/resources/COB-INF/sitemap.xmap Fri Oct 31 07:00:36 2008
&lt; at &gt;&lt; at &gt; -36,7 +36,7 &lt; at &gt;&lt; at &gt;
           &lt;map:parameter name="contextPath" value="{request:contextPath}"/&gt;
           &lt;map:parameter name="getRequestExtension" value="html"/&gt;
         &lt;/map:generate&gt;
-        &lt;map:transform type="dispatcherEnhanced"&gt;
+        &lt;map:transform type="dispatcher"&gt;
           &lt;map:parameter name="cacheKey" value="{0}"/&gt;
           &lt;map:parameter name="validityFile"
             value="lm://resolve.structurer.{1}"/&gt;



</description>
    <dc:creator>thorsten&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-10-31T14:00:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9455">
    <title>svn commit: r709418 - /forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/XMLStructurerAxiom.java</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9455</link>
    <description>Author: thorsten
Date: Fri Oct 31 06:59:02 2008
New Revision: 709418

URL: http://svn.apache.org/viewvc?rev=709418&amp;view=rev
Log:
Fixing bug regarding panels

Modified:
    forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/XMLStructurerAxiom.java

Modified: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/XMLStructurerAxiom.java
URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/XMLStructurerAxiom.java?rev=709418&amp;r1=709417&amp;r2=709418&amp;view=diff
==============================================================================
--- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/XMLStructurerAxiom.java (original)
+++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/XMLStructurerAxiom.java Fri Oct 31 06:59:02 2008
&lt; at &gt;&lt; at &gt; -199,6 +199,8 &lt; at &gt;&lt; at &gt;
     } else if (component.getQName().equals(
         qIt(Captions.NS, Captions.HOOK_ELEMENT))) {
       processHook(component, pathNode);
+    } else{
+      nextChildren(component, pathNode);
     }
   }
 
&lt; at &gt;&lt; at &gt; -223,6 +225,12 &lt; at &gt;&lt; at &gt;
 
     }
     pathNode.addChild(element);
+    nextChildren(component, element);
+  }
+
+  private void nextChildren(OMElement component, OMElement element)
+      throws DispatcherException, XMLStreamException, IOException,
+      JaxenException {
     Iterator&lt;OMNode&gt; childs = component.getChildren();
     while (childs.hasNext()) {
       OMNode node = (OMNode) childs.next();



</description>
    <dc:creator>thorsten&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-10-31T13:59:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.forrest.cvs/9454">
    <title>svn commit: r708187 - /forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/helper/Key.java</title>
    <link>http://comments.gmane.org/gmane.text.xml.forrest.cvs/9454</link>
    <description>Author: thorsten
Date: Mon Oct 27 07:06:32 2008
New Revision: 708187

URL: http://svn.apache.org/viewvc?rev=708187&amp;view=rev
Log:
Adding simple key generating class that can be use in the jx template like: 'jx:cache-key="${Packages.org.apache.forrest.dispatcher.impl.helper.Key(cocoon.request).toString()}"'

Added:
    forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/helper/Key.java   (with props)

Added: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/helper/Key.java
URL: http://svn.apache.org/viewvc/forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/helper/Key.java?rev=708187&amp;view=auto
==============================================================================
--- forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/helper/Key.java (added)
+++ forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/helper/Key.java Mon Oct 27 07:06:32 2008
&lt; at &gt;&lt; at &gt; -0,0 +1,41 &lt; at &gt;&lt; at &gt;
+/*
+ * 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.
+ */
+package org.apache.forrest.dispatcher.impl.helper;
+
+import java.io.Serializable;
+
+import org.apache.cocoon.environment.http.HttpRequest;
+
+public class Key implements Serializable{
+  /**
+   * serialVersionUID
+   */
+  private static final long serialVersionUID = 1L;
+  private String key;
+
+  public Key(HttpRequest request) {
+
+    key = request.getRequestURI();
+
+    if (null != request.getQueryString()){
+      key=key+request.getQueryString();
+    }
+  }
+  public String toString(){
+    return key;
+  }
+}
\ No newline at end of file

Propchange: forrest/branches/dispatcher_rewrite/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/impl/helper/Key.java
------------------------------------------------------------------------------
    svn:eol-style = native



</description>
    <dc:creator>thorsten&lt; at &gt;apache.org</dc:creator>
    <dc:date>2008-10-27T14:06:32</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.text.xml.forrest.cvs">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.text.xml.forrest.cvs</link>
  </textinput>
</rdf:RDF>
