You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/11/02 12:00:40 UTC

svn commit: r591298 [5/37] - in /lenya/sandbox/pubs/docu/content/authoring: 0033e320-8731-11dc-ae46-9e7b5d14892d/ 003a4bc0-8731-11dc-ae46-9e7b5d14892d/ 018a9980-8731-11dc-ae46-9e7b5d14892d/ 02f9e0f0-8731-11dc-ae46-9e7b5d14892d/ 043dd2a0-8731-11dc-ae46-...

Modified: lenya/sandbox/pubs/docu/content/authoring/1a1ae630-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1a1ae630-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1a1ae630-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1a1ae630-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov  2 03:57:25 2007
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Authoring</value>
 </element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
 <element key="extension">
 <value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
 </element>
 <element key="resourceType">
 <value>forrestDocument20</value>

Added: lenya/sandbox/pubs/docu/content/authoring/1a1ae630-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910779351.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1a1ae630-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910779351.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1a1ae630-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910779351.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/1a1ae630-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910779351.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Authoring</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Modified: lenya/sandbox/pubs/docu/content/authoring/1a1ae630-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1a1ae630-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1a1ae630-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1a1ae630-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov  2 03:57:25 2007
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910779351" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910765413"/>
 <CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781630015" version="1"/>
 <CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781609697"/>
 </XPSRevisionControl>

Added: lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.1193910798900.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.1193910798900.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.1193910798900.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.1193910798900.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed 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: adding-document-creator.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document> 
+
+<header> 
+    <title>Adding a new Document Creator</title>
+     
+     
+     
+</header> 
+<body> 
+
+<section>
+<title>Adding a new Menu Item: "New MyDocument"</title>
+
+<p>
+The Menubars can be found within the directory <code>config/menus</code>.
+Add the "New MyDocument" menu item to the appropriate menubar:
+</p>
+
+<source xml:space="preserve">
+<![CDATA[
+<menus>
+  <menu name="File" label="File">
+    <block>
+      <item><xsp:attribute name="href">?lenya.usecase=create&amp;lenya.step=showscreen</xsp:attribute>New&#160;MyDocument</item>
+    </block>
+]]>
+</source>
+
+</section>
+
+<section>
+<title>Adding usecase "create" to the sitemap</title>
+
+<p>
+The pipelines of the usecases are located within <code>usecase.xmap</code>:
+</p>
+
+<source xml:space="preserve">
+<![CDATA[
+<map:pipeline>
+  <map:match pattern="*/*/*/*/*/index.html">
+    <map:match type="lenya-usecase" pattern="create">
+      <map:match type="lenya-step" pattern="showscreen">
+        <map:generate type="serverpages" src="../../content/authoring/parent-child.xsp"/>
+        <map:transform src="../../xslt/authoring/create.xsl"/>
+        <map:serialize type="html"/>
+      </map:match>
+
+      <map:match type="lenya-step" pattern="execute">
+        <map:act type="parent-child">
+          <map:redirect-to uri="{parent_uri}" session="true"/>
+        </map:act>
+        <map:redirect-to uri="index.html?lenya.usecase=create&amp;lenya.step=showscreen&amp;status=failed" session="true"/>
+      </map:match>
+    </map:match>
+  </map:match>
+</map:pipeline>
+]]>
+</source>
+
+</section>
+
+
+<section>
+<title>Create <code>doctypes.xconf</code>
+</title>
+
+<p>
+The file <code>doctypes.xconf</code> is supposed to be located within the directory <code>config/doctypes</code>.
+</p>
+
+<source xml:space="preserve">
+<![CDATA[
+<doctypes>
+  <doc type="nitf">
+    <creator src="org.apache.lenya.cms.authoring.DefaultLeafCreator">
+      <sample-name>nitf.xml</sample-name>
+    </creator>
+  </doc>
+
+  <doc type="xhtml">
+    <creator src="org.apache.lenya.cms.authoring.DefaultLeafCreator">
+      <sample-name>xhtml.xml</sample-name>
+    </creator>
+  </doc>
+</doctypes>
+]]>
+</source>
+
+</section>
+
+<section>
+<title>Create a sample document</title>
+
+<p>
+The sample documents are located within the directory <code>config/doctypes/samples</code>.
+</p>
+
+<source xml:space="preserve">
+<![CDATA[
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<nitf>
+  <head>
+    <docdata>
+      <doc-id regsrc="nitf_export.pl" id-string="0"/>
+      <date.issue norm="20030314T041021Z"/>
+      <doc.copyright holder="New OSCOM Times"/>
+    </docdata>
+    <pubdata position.section="finance" position.sequence="1"/>
+  </head>
+  <body.head>
+    <hedline>
+      <hl1>Local OSCOM Sprint @ Zurich, Switzerland</hl1>
+]]>
+</source>
+
+</section>
+
+</body>
+</document>

Modified: lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov  2 03:57:25 2007
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Adding a new document creator</value>
 </element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
 <element key="extension">
 <value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
 </element>
 <element key="resourceType">
 <value>forrestDocument20</value>

Added: lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910798900.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910798900.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910798900.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910798900.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Adding a new document creator</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Modified: lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1b676360-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov  2 03:57:25 2007
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910798900" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910770005"/>
 <CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781619752" version="1"/>
 <CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781607970"/>
 </XPSRevisionControl>

Added: lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.1193910781092.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.1193910781092.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.1193910781092.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.1193910781092.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed 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: image-upload.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document> 
+
+<header> 
+    <title>Image Upload (Multipart Requests)</title>
+     
+     
+     
+</header> 
+<body> 
+
+<section>
+<title>web.xml</title>
+<p>
+In order to enable multipart requests (e.g. image upload), one needs to enable the upload option within the file <code>.../webapps/lenya/WEB-INF/web.xml</code>
+</p>
+<source xml:space="preserve">
+<![CDATA[
+<init-param>
+  <param-name>enable-uploads</param-name>
+  <param-value>true</param-value>
+</init-param>
+]]>
+</source>
+<p>
+Please restart your servlet engine after editing <code>web.xml</code>.
+</p>
+<p>
+If one builds Lenya from source then multipart requests can be enabled by editing the file <code>build.properties</code> (enable.uploads=true).
+</p>
+</section>
+</body>
+</document>

Modified: lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov  2 03:57:25 2007
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Image Upload</value>
 </element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
 <element key="extension">
 <value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
 </element>
 <element key="resourceType">
 <value>forrestDocument20</value>

Added: lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910781092.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910781092.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910781092.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910781092.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Image Upload</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Modified: lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1c95aa30-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov  2 03:57:25 2007
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910781092" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910766489"/>
 <CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781616899" version="1"/>
 <CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781604043"/>
 </XPSRevisionControl>

Added: lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.1193910787975.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.1193910787975.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.1193910787975.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.1193910787975.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,265 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed 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: openoffice.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document> 
+  <header> 
+    <title>OpenOffice Documents with Lenya</title>
+    <version major="0" minor="1">Initial version</version>
+     
+    <notice/> 
+    <abstract>This document describes the integration of Openoffice with Lenya
+CMS</abstract> 
+  </header> 
+  <body> 
+
+    <section>
+      <title>Goals</title>
+
+      <p>This document describes the integration of Openoffice with Lenya
+	CMS. The integration is guided by the following goals:</p>
+
+      <ul>
+	<li>Use OpenOffice as a content editor for static web
+	pages</li>
+
+	<li>Migrate OpenOffice document to a custom xml format</li>
+      </ul>
+    </section>
+
+    <section>
+      <title>Prerequisites</title>
+
+      <p>In order to seamlessly integrate Openoffice into the
+publication process of Lenya/Cocoon the following prerequisites need
+to be met:</p>
+
+      <section>
+	<title>OpenOffice DTD</title>
+
+	<p>The DTDs for the OpenOffice documents has to be available
+on the system.</p>
+
+	<p>It's best to get them directly from your OpenOffice
+installation. They are located in the share directory of your
+installation. Copy the dtd's into your Lenya installation, e.g. as
+follows:</p>
+
+	<source xml:space="preserve">cp ~/Office/share/dtd/* ~/build/jakarta-tomcat-4.1.18-LE-jdk14/webapps/lenya/lenya/resources/dtd/openoffice/</source>
+	
+	<fixme author="ce">The DTDs should probably go into
+	/usr/share/sgml/openoffice/*</fixme>
+
+	<note>There's a bug in the xml parser. As a workaround we uncomment
+	  all the <code>draw:text-box</code> stuff.</note>
+      </section>
+
+      <section>
+	<title>XML Catalog</title>
+
+	<p>In order for Lenya/Cocoon to find the DTDs you need to setup an XML
+catalog as follows:</p>
+
+	<source xml:space="preserve">
+xmlcatalog --noout --create openoffice.cat
+xmlcatalog --noout --add "public" \
+  "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" 
+  "file:///home/slide/build/jakarta-tomcat-4.1.18-LE-jdk14/webapps/lenya/lenya/resources/dtd/openoffice/officedocument/1_0/office.dtd" \
+  openoffice.cat
+	</source>
+
+	<p>Alternatively you can simply use the attached catalog.</p>
+
+	<p>Store this newly created catalog and edit CatalogManager.properties to
+make sure Cocoon finds this catalog and hence the OpenOffice DTDs.</p>
+
+	<p>Add the location of the OpenOffice catalog to Cocoon's
+CatalogManager.properties (which can be found in
+<code>~/build/jakarta-tomcat-4.1.18-LE-jdk14/webapps/lenya/WEB-INF/classes/CatalogManager.properties</code>)
+by adding the following lines to this file:</p>
+
+	<source xml:space="preserve">
+#catalogs=/path/to/local/catalog
+catalogs=/home/slide/build/jakarta-tomcat-4.1.18-LE-jdk14/webapps/lenya/lenya/resources/dtd/openoffice/catalog.xml
+	</source>
+
+      </section>
+
+      <section>
+	<title>OpenOffice2HTML XSTL</title>
+
+	<p>In order to render the OpenOffice xml as html we need XSLT stylesheets
+to provide the necessary transformations.</p>
+
+	<p>A very good XSLT which is fairly complete can be fetched
+	  from zope.org (<a href="http://www.zope.org/Members/philikon/ZooDocument">http://www.zope.org/Members/philikon/ZooDocument</a>).</p>
+
+      </section>
+
+      <section>
+	<title>Slide</title>
+
+	<p>Slide is an Apache project which offers amongst other things a a
+WebDAV access module (implemented as a servlet). This will allow us to
+deploy the OpenOffice documents directly via WebDAV.</p>
+
+	<p>For a very basic installation the following changes need to be applied
+to a file named Domain.xml in the Slide webapp directory:</p>
+
+	<ul>
+	  <li>Change permissions</li>
+	  <li>ContentStore: set to parent dir of OpenOffice dir</li>
+	  <li>Replace folder "files" by OpenOffice dir name</li>
+	</ul>
+
+	<p>The following patch will apply all changes you need:</p>
+	<source xml:space="preserve">
+diff -u Domain.xml.orig Domain.xml
+--- Domain.xml.orig	Thu Nov  1 15:47:52 2001
++++ Domain.xml		Thu Mar 20 16:44:09 2003
+@@ -44,7 +44,7 @@
+           &lt;reference store="nodestore" /&gt;
+         &lt;/revisiondescriptorstore&gt;
+         &lt;contentstore classname="slidestore.reference.FileContentStore"&gt;
+-          &lt;parameter name="rootpath"&gt;contentstore&lt;/parameter&gt;
++          &lt;parameter name="rootpath"&gt;/home/slide/build/jakarta-tomcat-4.1.18-LE-jdk14/webapps/lenya/lenya/pubs/computerworld/content/authoring&lt;/parameter&gt;
+           &lt;parameter name="version"&gt;false&lt;/parameter&gt;
+           &lt;parameter name="resetBeforeStarting"&gt;true&lt;/parameter&gt;
+         &lt;/contentstore&gt;
+@@ -136,7 +136,7 @@
+       &lt;!-- Paths configuration --&gt;
+       &lt;userspath&gt;/users&lt;/userspath&gt;
+       &lt;guestpath&gt;guest&lt;/guestpath&gt;
+-      &lt;filespath&gt;/files&lt;/filespath&gt;
++      &lt;filespath&gt;/openoffice&lt;/filespath&gt;
+       &lt;parameter name="dav"&gt;true&lt;/parameter&gt;
+       &lt;parameter name="standalone"&gt;true&lt;/parameter&gt;
+ 
+@@ -245,13 +245,12 @@
+           
+         &lt;/objectnode&gt;
+         
+-        &lt;objectnode classname="org.apache.slide.structure.SubjectNode" 
+-         uri="/files"&gt;
++        &lt;objectnode classname="org.apache.slide.structure.SubjectNode" uri="/openoffice"&gt;
+ 
+           &lt;!-- ### Give read/write/manage permission to guest ### 
+                Uncomment the following line to give permission to do
+                all actions on /files to guest (unauthenticated users) --&gt;
+-          &lt;!-- &lt;permission action="/actions" subject="/users/guest"/&gt; --&gt;
++          &lt;permission action="/actions" subject="/users/guest"/&gt;
+ 
+           &lt;permission action="/actions/manage" subject="/users/john"/&gt;
+           &lt;permission action="/actions/write" subject="+/users/groupA"/&gt;
+	</source>
+      </section>
+
+    </section>
+
+    <section>
+      <title>Pipelines</title>
+
+      <p>In order for Lenya/Cocoon to be able to read the content of the
+OpenOffice document, a set of pipelines need to be set up.</p>
+
+      <section>
+	<title>Read the zip/jar file</title>
+	
+	<p>To read the OpenOffice documents we need to setup a simple reader
+	  which as follows:</p>
+	
+	<source xml:space="preserve">
+&lt;map:match pattern="**.sxw"&gt;
+  &lt;map:read src="content/{1}.sxw"/&gt;
+&lt;/map:match&gt;
+	</source>
+      </section>
+ 
+      <section>
+	<title>Unpack zip file and transform the OO xml to xhtml</title>
+
+	<p>OpenOffice documents are actually a zip file containing xml files for
+content and style plus other additional files such as jpg etc.</p>
+
+	<p>Zip is the same file format as jar. JDK supports jar unpacking
+natively with the jar protocol. The pipeline to read a jar file looks
+as follows:</p>
+
+	<source xml:space="preserve">
+&lt;map:match pattern="**.oo"&gt;
+  &lt;map:generate src="jar:http://localhost:38080/lenya/computerworld/authoring/{1}.sxw!/content.xml"/&gt;
+  &lt;map:transform src="../../xslt/openoffice/ooo2html.xsl"/&gt;
+  &lt;map:serialize/&gt;
+&lt;/map:match&gt;
+	</source>
+      </section>
+
+      <section>
+	<title>Aggregate with navigation</title>
+
+	<p>Additionaly we want to embed the OpenOffice document in the usual
+navigation, header and footer. The following is fairly specific to the
+Computerworld publication but can easily be adapted:</p>
+
+	<source xml:space="preserve">
+&lt;map:match pattern="**.html"&gt;
+  &lt;map:aggregate element="lenya"&gt;
+    &lt;map:part src="cocoon:/menus/static/{1}.html"/&gt;
+    &lt;map:part element="cmsbody" src="content/authoring/wrapper.html"/&gt;
+    &lt;map:part src="cocoon:/{1}.oo" element="wrapper"/&gt;
+    &lt;map:part src="content/authoring/small-preview.xml"/&gt;
+    &lt;map:part src="content/authoring/sitetree.xml"/&gt;
+    &lt;map:part src="cocoon:/today"/&gt;
+  &lt;/map:aggregate&gt;
+
+  &lt;map:transform src="xslt/authoring/wrapper.xsl"&gt;
+    &lt;map:parameter name="id" value="/{1}"/&gt;
+    &lt;map:parameter name="authoring" value="true"/&gt;
+  &lt;/map:transform&gt;
+  &lt;map:transform src="xslt/authoring/images.xsl"/&gt;
+  &lt;map:serialize type="html"/&gt;
+&lt;/map:match&gt;
+	</source>
+
+      </section>
+    </section>
+
+    <section>
+      <title>Problems</title>
+      <ul>
+	<li>Caching prevents an update OO file (zip file) from being
+	displayed.</li>
+
+	<li>If you restart tomcat (slide) you lose the NodeContentStore so that
+  WebDAV loses the nodes (documents and folders).</li>
+
+	<li>xml parser cannot handle openoffice dtd's due to a parser bug</li>
+      </ul>
+    </section>
+
+    <section>
+      <title>To do's</title>
+      <ul>
+	<li>Set permissions in tomcat/slide: authorization and autorisation</li>
+	<li>Complete and improve OpenOffice2Html xslt (images, tables, etc.)</li>
+	<li> Add pipelines for other files in zip like images</li>
+	<li> Integration slide and lenya</li>
+      </ul>
+    </section>
+    
+  </body> 
+  </document>

Modified: lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov  2 03:57:25 2007
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>OpenOffice</value>
 </element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
 <element key="extension">
 <value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
 </element>
 <element key="resourceType">
 <value>forrestDocument20</value>

Added: lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910787975.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910787975.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910787975.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910787975.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>OpenOffice</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Modified: lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1e1c2320-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov  2 03:57:25 2007
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910787975" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910771777"/>
 <CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781629393" version="1"/>
 <CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781609313"/>
 </XPSRevisionControl>

Added: lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.1193910782561.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.1193910782561.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.1193910782561.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.1193910782561.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+  
+  Licensed 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: index.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+  <header>
+    <title>Apache Lenya Documentation</title>
+  </header>
+  <body>
+    <p>
+      This is a Forrest Document 2.0 sample.
+    </p>
+  </body>
+</document>

Modified: lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov  2 03:57:25 2007
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Deployment</value>
 </element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
 <element key="extension">
 <value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
 </element>
 <element key="resourceType">
 <value>forrestDocument20</value>

Added: lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910782561.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910782561.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910782561.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910782561.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Deployment</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Modified: lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1e2300f0-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov  2 03:57:25 2007
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910782561" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910767649"/>
 <CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781621503" version="1"/>
 <CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781610219"/>
 </XPSRevisionControl>

Added: lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.1193910792385.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.1193910792385.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.1193910792385.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.1193910792385.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,203 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed 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: mod_proxy.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document> 
+
+<header> 
+    <title>Reverse Proxying Apache Lenya</title>
+     
+     
+     
+</header> 
+<body> 
+
+<section>
+<title>Introduction</title>
+<p>The Lenya LinkRewritingTransformer enables a flexible way of proxy configuration. 
+    It is possible to define different proxies for each pair of area (authoring and live), 
+    and encryption (not encrypted or SSL). The Lenya part of the
+    proxy configuration is done in <code>$PUBLICATION/config/publication.xconf</code>
+    If you specify your proxy setup in that file, the LinkRewritingTransformer will rewrite links in your
+    publication to match these settings.
+</p>
+</section>
+
+<section>
+  <title>Configuration in publication.xconf</title>
+  <p>The publication.xconf of the default publication has proxying disabled by default: </p>
+  <source xml:space="preserve"> <![CDATA[
+<publication>
+  <languages>
+    <language default="true">en</language>
+    <language>de</language>
+  </languages>
+  <path-mapper>org.apache.lenya.cms.publication.DefaultDocumentIdToPathMapper</path-mapper>
+  <document-builder>org.apache.lenya.cms.publication.DefaultDocumentBuilder</document-builder>
+  <breadcrumb-prefix/>
+
+  <!--
+  <proxy area="live" ssl="true" url="https://www.host.com/ssl/default"/>
+  <proxy area="live" ssl="false" url="http://www.host.com/default"/>
+  <proxy area="authoring" ssl="true" url="https://www.host.com/lenya/default/authoring"/>
+  <proxy area="authoring" ssl="false" url="http://www.host.com/lenya/default/authoring"/>
+  -->
+</publication>
+]]> </source>
+  <p>A possible configuration for two servers (an authoring server and a live server) may look like:</p>
+  <source xml:space="preserve"> <![CDATA[
+<publication>
+  <languages>
+    <language default="true">de</language>
+    <language>en</language>
+  </languages>
+  <path-mapper>org.apache.lenya.cms.publication.DefaultDocumentIdToPathMapper</path-mapper>
+  <document-builder>org.apache.lenya.cms.publication.DefaultDocumentBuilder</document-builder>
+  <breadcrumb-prefix>University of Zurich</breadcrumb-prefix>
+
+  <proxy url="https://cms.live.ch/lenya/sandbox" ssl="true" area="live"/>
+  <proxy url="http://cms.sandbox.live.ch/lenya" ssl="false" area="live"/>
+  <proxy url="https://cms.authoring.ch/lenya/sandbox/authoring" ssl="true" area="authoring"/>
+  <proxy url="http://cms.authoring.ch/lenya/sandbox/authoring" ssl="false" area="authoring"/>
+</publication>
+]]> </source>
+  <ul>
+    <li> There is an ssl enabled authoring server (cms.authoring.ch) and the URL you get is e.g. <code>http://cms.authoring.com/lenya/sandbox/authoring/index.html</code>.</li>
+    <li> There is an ssl enabled live server with (cms.live.ch and cms.sandbox.live.ch) and the URL you get on the live side is e.g. <code>http://cms.sandbox.live.ch/lenya/index.html</code> </li>
+  </ul>
+  <p>
+<strong>Note:</strong> Up to now, session is only working if you add /lenya after your domain because the cookie which is sent to the client stores the web application context. Therefore the browser did not send back the cookie if you request a page like http://cms.sandbox.live.ch/index.html. 
+    This is also mentioned on the <a href="http://wiki.apache.org/cocoon/ApacheModProxy">Cocoon Wiki page on proxying</a>. With Apache 2.1 a recently introduced proxy directive for translating the cookie path <code>ProxyPassReverseCookiePath</code> will be available, which will allow you to 
+    get the cookie path translated by Apache with <code>ProxyPassReverseCookiePath /lenya /</code> so that the cookie is always sent back to the server. As of today even the trunk version of Apache httpd does not have this feature. If you still want to use it with Apache 2.0 you will have 
+    to apply a patch <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=10722"> http://issues.apache.org/bugzilla/show_bug.cgi?id=10722</a> and rebuild the Apache modules mod_proxy and mod_http_proxy. The patch should work with Apache 2.0.49+ (I use it with 2.0.52 without any 
+    problems). </p>
+  <p> As an alternative to patching Apache, you could install Lenya within the ROOT context, because 
+    then the CookiePath will contain "/" instead of "/lenya" and it will work with the common mod_proxy settings.
+    Note that you'll have to adjust the proxy rules to get rid of "/lenya" in this case. If you run Jetty,
+    which runs Lenya in the ROOT context, you'll have to remove the "/lenya" parts as well. 
+    Another solution might be to use Squid. The configuration of the Apache web server that goes
+     with this configuration is described next.</p>
+</section>
+<section>
+<title>Apache Webserver setup / Rewrite Rules</title>
+<p>Before you start, make sure you have <code>mod_proxy</code> and <code>mod_rewrite</code> setup correctly.</p>
+<section>
+<title>Rules for the authoring server</title>
+<p>This sample configuration uses <code>cms.authoring.ch</code> as the host name.</p>
+<ul>
+<li>  redirects logins to SSL </li>
+<li>  assumes Tomcat, with Lenya running under /lenya (for Jetty, remove /lenya from the configuration)</li>
+<li>  runs the authoring server over port 80 </li>
+<li>  publications are all mounted under cms.client.com/yourpub </li>
+<li>  you can use this setup for your live server if you do not want to mount your publication in a 
+    virtualhost. Just replace authoring with live, and put the proxy / rewrite directives in a 
+    &lt;Location&gt; rule </li>
+</ul>
+<source xml:space="preserve">
+<![CDATA[
+<VirtualHost cms.authoring.ch:80>
+    ....
+
+    #All Content should be served by tomcat (i.e. lenya)
+    ProxyRequests    Off
+    RewriteEngine    On
+    RewriteLog       /var/log/apache2/cms.authoring.rewrite.log
+    RewriteLogLevel  0
+    RewriteRule      ^/([^/\.]+)$  $1/   [R]
+    RewriteRule       ^/([^/\.]+)/$ http://cms.authoring.ch/lenya/$1/authoring/index.html [R,L]
+
+    RewriteCond      %{QUERY_STRING} lenya\.usecase=login(.*)
+    RewriteRule      ^/(.*)   https://%{SERVER_NAME}/$1 [R,L]
+
+    RewriteRule      ^/(.*)   http://cms.authoring.ch:8080/$1  [P,L]
+    ProxyPassReverse / http://cms.authoring.ch:8080/
+
+
+</VirtualHost>
+
+<VirtualHost cms.authoring.ch:443>
+   ....
+    RewriteEngine On
+
+    RewriteRule      ^/([^/\.]+)$  $1/   [R]
+    RewriteRule       ^/([^/\.]+)/$ http://cms.authoring.ch/lenya/$1/authoring/index.html [R,L]
+
+    RewriteRule      ^/(.*)   http://%{SERVER_NAME}:8080/$1  [P,L]
+    ProxyPassReverse / http://cms.authoring.ch:8080/
+</VirtualHost>
+]]>
+</source>
+</section>
+<section>
+<title>Rules for the live server</title>
+<p>This sample configuration uses <code>cms.sandbox.live.ch</code> as the host name.</p>
+<ul>
+<li>  each publication is mounted as a separate virtualhost </li>
+<li>  assumes Tomcat, with Lenya running under /lenya (for Jetty, remove /lenya from the configuration)</li>
+  <li>The publication in this sample is named sandbox</li>
+<li>  Files within the directory static and files with the extension php are not redirected to Lenya. </li>
+<li>  Certificate is issued for www.client.com </li>
+</ul>
+<source xml:space="preserve">
+<![CDATA[
+<VirtualHost cms.sandbox.live.ch:80>
+    .... 
+ 
+    ProxyRequests Off
+    RewriteEngine On
+    RewriteLog       "/var/log/apache2/cms.sandbox.rewrite.log"
+    RewriteLogLevel  1
+
+    RewriteRule       ^/$ /lenya/index.html [R]
+    RewriteRule      ^/[^(lenya)](.*) /lenya$0  [R]
+    RewriteRule      ^/static/?(.*)  $0 [L]
+    RewriteRule      ^/(.*)\.php  $0 [L]
+
+    # Not carefully tested yet -> login should use https
+    #RewriteCond      %{QUERY_STRING} lenya\.usecase=login(.*)
+    #RewriteRule      ^/lenya/(.*)/live/(.*)$   https://cms.live.ch/$1/$2 [R,L]
+
+    RewriteRule      ^/lenya/[^/]+/live/(.*)$ /lenya/$1 [R,L]
+
+    RewriteRule      ^/(.*\.css$) http://cms.live.ch:8080/$1  [L]
+    RewriteRule      ^/(.*/authoring/.*) http://cms.live.ch:8080/$1  [L]
+    RewriteRule      ^/lenya/(.*) http://cms.live.ch:8080/lenya/sandbox/live/$1  [P]
+
+    ProxyPassReverse  / http://cms.live.ch:8080/
+
+</VirtualHost>
+ 
+<VirtualHost cms.live.ch:443>
+      ......
+       
+    ProxyRequests Off
+    RewriteEngine On
+
+# RewriteRules for css and images
+     RewriteRule      ^/lenya/sandbox/(.*)/images/(.*)$ http://cms.live.ch:8080/lenya/sandbox/$1/images/$2 [L]
+     RewriteRule      ^/(.*\.css$) http://cms.live.ch:8080/$1  [L]
+
+     RewriteRule      ^/(lenya/[^/]+)/(.*)$   http://cms.live.ch:8080/$1/live/$2  [P,L]
+
+     ProxyPassReverse / http://cms.live.ch:8080/
+</VirtualHost>
+]]>
+</source>
+</section>
+</section>
+</body>
+</document>

Modified: lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov  2 03:57:25 2007
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Proxying</value>
 </element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
 <element key="extension">
 <value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
 </element>
 <element key="resourceType">
 <value>forrestDocument20</value>

Added: lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910792385.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910792385.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910792385.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910792385.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Proxying</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Modified: lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1f62d3f0-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov  2 03:57:25 2007
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910792385" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910765495"/>
 <CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781621274" version="1"/>
 <CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781609920"/>
 </XPSRevisionControl>

Added: lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.1193910777279.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.1193910777279.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.1193910777279.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.1193910777279.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+  
+  Licensed 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: index.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document>
+  <header>
+    <title>Apache Lenya Documentation</title>
+  </header>
+  <body>
+    <p>
+      This is a Forrest Document 2.0 sample.
+    </p>
+  </body>
+</document>

Modified: lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov  2 03:57:25 2007
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Editors</value>
 </element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
 <element key="extension">
 <value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
 </element>
 <element key="resourceType">
 <value>forrestDocument20</value>

Added: lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910777279.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910777279.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910777279.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910777279.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Editors</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Modified: lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/1f6963a0-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov  2 03:57:25 2007
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910777279" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910763618"/>
 <CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781624498" version="1"/>
 <CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781604124"/>
 </XPSRevisionControl>

Added: lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.1193910780940.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.1193910780940.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.1193910780940.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.1193910780940.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed 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: htmlform.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document> 
+
+<header> 
+    <title>Forms Editor</title>
+</header> 
+<body> 
+
+<section>
+<title>XUpdate</title>
+<p>The Forms Editor is using the <a href="http://xmldb.org/xupdate/xupdate-wd.html">XUpdate specification</a> from the xmldb group to update elements and attributes. 
+You can test-drive the XUpdate engine in Lenya by doing the following:</p>
+<source xml:space="preserve">
+<![CDATA[
+java -classpath lib/xmldb-common-2003-09-02.jar:lib/xmldb-xupdate-2003-09-02.jar:lib/log4j-1.2.8.jar:build/lenya/webapp/WEB-INF/lib/xercesImpl-2.4.0.jar:build/lenya/webapp/WEB-INF/lib/xalan-2.5.1.jar org.xmldb.xupdate.lexus.XUpdateQueryImpl xupdate.xml entry.xml
+]]>
+</source>
+</section>
+
+<section>
+<title>Customization</title>
+<p>Customization of the Forms Editor is done with stylesheets. You need to have one stylesheet for each doctype. The
+stylesheet goes into <code>lenya/xslt/formeditor/mydoctype.xsl</code>. A simple stylesheet may look like</p>
+<source xml:space="preserve">
+<![CDATA[
+<?xml version="1.0" encoding="UTF-8"?>
+                                                                
+<xsl:stylesheet version="1.0"  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:import href="../../../../../xslt/authoring/edit/form.xsl"/>
+
+<xsl:template match="sidebar">
+ <xsl:apply-templates select="block"/>
+
+  <node name="Add Block">
+    <action><insert name="&lt;xupdate:append select=&quot;/sidebar&quot;&gt;&lt;xupdate:element name=&quot;block&quot;&gt;&lt;title&gt;New title&lt;/title&gt;&lt;content&gt;New content&lt;/content&gt;&lt;/xupdate:element&gt;&lt;/xupdate:append&gt;"/></action>
+  </node>
+</xsl:template>
+
+<xsl:template match="block">
+  <node name="Add Block">
+    <action><insert name="&lt;xupdate:insert-before select=&quot;/sidebar/block[@tagID='{@tagID}']&quot;&gt;&lt;xupdate:element name=&quot;block&quot;&gt;&lt;title&gt;New title&lt;/title&gt;&lt;content&gt;New content&lt;/content&gt;&lt;/xupdate:element&gt;&lt;/xupdate:insert-before&gt;"/></action>
+  </node>
+  <node name="Delete Block">
+    <action><delete name="&lt;xupdate:remove select=&quot;/sidebar/block[@tagID='{@tagID}']&quot;/&gt;"/></action>
+  </node>
+  <node name="Title" select="/sidebar/block/title[@tagID='{title/@tagID}']">
+    <content type="plain"><input type="text" name="&lt;xupdate:update select=&quot;/sidebar/block/title[@tagID='{title/@tagID}']&quot;&gt;" size="40"><xsl:attribute name="value"><xsl:value-of select="title"/></xsl:attribute></input></content>
+  </node>
+  <node name="Content" select="/sidebar/block/content[@tagID='{content/@tagID}']">
+    <content type="mixed">
+      <textarea name="&lt;xupdate:update select=&quot;/sidebar/block/content[@tagID='{content/@tagID}']&quot;&gt;" cols="40" rows="3">
+        <xsl:copy-of select="content/node()"/>
+      </textarea>
+    </content>
+ </node> 
+</xsl:template>
+ 
+</xsl:stylesheet>
+]]>
+</source>
+</section>
+    
+<section>
+<title>Editing attributes</title>
+<p>To add editing of attributes, you need to change the XPath and XUpdate statements to select the attribute:</p>
+<source xml:space="preserve">
+<![CDATA[
+<xsl:template match="xhtml:table">
+  <node name="Background Color" select="/*/xhtml:table[@tagID='{@tagID}']/@class">
+    <content>
+      <textarea name="&lt;xupdate:update select=&quot;/*/xhtml:table[@tagID='{@tagID}']/@class&quot;&gt;" cols="40" rows="2">
+        <xsl:value-of select="@class"/>
+      </textarea>
+    </content>
+  </node>
+</xsl:template>
+]]>
+</source>
+</section>
+</body>
+</document>

Modified: lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov  2 03:57:25 2007
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>HTML Form Editor</value>
 </element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
 <element key="extension">
 <value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
 </element>
 <element key="resourceType">
 <value>forrestDocument20</value>

Added: lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910780940.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910780940.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910780940.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910780940.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>HTML Form Editor</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Modified: lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/20a3df70-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov  2 03:57:25 2007
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910780940" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910766337"/>
 <CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781628433" version="1"/>
 <CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781608189"/>
 </XPSRevisionControl>

Added: lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.1193910787887.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.1193910787887.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.1193910787887.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.1193910787887.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed 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: 1form.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document> 
+
+<header> 
+    <title>HTML One Form Editor</title>
+     
+     
+     
+</header> 
+<body> 
+
+<section>
+<title>Integration</title>
+<p>In order to make an XML document editable by the One Form Editor, one needs to add a menu item as follows:</p>
+<source xml:space="preserve">
+<![CDATA[
+  <menus>
+    <menu name="File" label="File">
+      <block>
+        <item uc:usecase="1formedit" href="?lenya.step=open">Edit&#160;with&#160;one&#160;Form</item>
+        ...
+]]>
+</source>
+<p>
+Note that the filesystem path is generated by the path mapper which is configured within <code>pub-id/config/publication.xconf</code>.
+</p>
+<p>
+In order to get the redirect right after closing and saving the document, one might need to add a <code>redirect-to</code> entry to the publication specific sitemap.
+</p>
+</section>
+
+<section>
+<title>Configuration</title>
+<p>
+The One Form Editor can be configured within the generic Lenya usecase sitemap <code>lenya/usecase.xmap</code>.
+</p>
+</section>
+
+<section>
+<title>Validation</title>
+<p>
+Upon saving, the form content is validated against the appropriate Relax NG schema using the <code>ValidateAction</code>
+</p>
+</section>
+</body>
+</document>

Modified: lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov  2 03:57:25 2007
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>HTML One Form Editor</value>
 </element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
 <element key="extension">
 <value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
 </element>
 <element key="resourceType">
 <value>forrestDocument20</value>

Added: lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910787887.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910787887.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910787887.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910787887.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>HTML One Form Editor</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Modified: lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/21c83b30-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov  2 03:57:25 2007
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910787887" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910771675"/>
 <CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781625569" version="1"/>
 <CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781605028"/>
 </XPSRevisionControl>

Added: lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.1193910789553.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.1193910789553.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.1193910789553.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.1193910789553.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,260 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed 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: bxe.xml 55543 2004-10-26 00:14:59Z gregor $ --><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+
+<document> 
+
+<header> 
+    <title>Bitflux Editor (BXE)</title>
+     
+     
+     
+</header> 
+<body> 
+
+<section>
+<title>Overview</title>
+<p>
+<a href="http://bxe.oscom.org">BXE</a> is a validating WYSIWYG XML editor for Mozilla-based browsers.
+    It uses <a href="http://www.relaxng.org/">RELAX NG</a> for validation and CSS for layout. 
+    Integration with Lenya is done with a series of use case steps that are defined
+    in a sitemap inside your publication: <code>usecase-bxeng.xmap</code>. If you understand the purpose
+    of the various use case steps, you will have a good grasp of how to integration is done, and will be
+    able to adjust it to your needs as necessary.</p>
+</section>
+<section>
+<title>The open step</title>
+    <p>The open step is called when you first open BXE from the Lenya menu. It first checks
+        if BXE is installed, and displays a warning page if it is not. It then attempts to check
+        out the page to be edited (to protect it from being edited by other users at the same time),
+        and displays an error page if this fails for some reason. It then loads the BXE start page
+        that contains references to the BXE configuration to be used for this page, such as the
+        location of the RELAX NG schema, CSS files, and more. The BXE start page is a dynamically
+        generated page that is being aggregated from a configuration pipeline (the config step), 
+        a file that contains all the namespaces that may occur in the document to be edited 
+        (<code>content-namespaces.xml</code>), and the skeleton BXE start page (<code>index.xhtml</code>).
+        The pipeline looks like this:
+     </p>
+    <source xml:space="preserve">
+    <![CDATA[
+          <map:match type="step" pattern="open">
+           <!-- Check for BXENG -->
+           <map:act type="resource-exists" src="../../resources/bxeng/bxeLoader.js">
+            <map:act type="reserved-checkout">
+              <map:generate type="serverpages" src="../../content/rc/{exception}.xsp">
+                <map:parameter name="user" value="{user}"/>
+                <map:parameter name="filename" value="{filename}"/>
+                <map:parameter name="date" value="{date}"/>
+                <map:parameter name="message" value="{message}"/>
+              </map:generate>
+              <map:transform src="../../xslt/rc/rco-exception.xsl"/>
+              <map:call resource="style-cms-page"/>
+            </map:act>
+            <map:aggregate element="bxeng">
+              <map:part src="../../resources/misc/bxeng/index.xhtml"/>
+              <map:part src="../../resources/misc/bxeng/content-namespaces.xml"/>
+            </map:aggregate>
+            <map:transform src="../../xslt/bxeng/aggregate.xsl"/>
+            <map:transform src="../../xslt/bxeng/index-xhtml.xsl">
+              <map:parameter name="configfile" value="{request:requestURI}?lenya.usecase=bxeng&amp;lenya.step=config"/>
+              <map:parameter name="context" value="{request:contextPath}"/>
+            </map:transform>
+            <map:serialize type="xhtml"/>
+            </map:act>
+            <map:generate src="../../resources/misc/bxeng/download.xhtml"/>
+            <map:call resource="style-cms-page"/>
+            <map:serialize type="html"/>
+          </map:match>
+    ]]>
+    </source>
+</section>    
+<section>
+<title>The config step</title>
+    <p>The config step generates the BXE config file by transforming a template file (<code>config.xml</code>)
+        and passing in values for the following parameters:
+     </p>
+        <ul>
+        <li>BX_exitdestination: URL of the location BXE should redirect to upon exit</li>
+        <li>BX_validationfile: URL of the RELAX NG schema for the XML to be edited</li>
+        <li>BX_xhtmlfile: URL of the XHTML page to load the XML content into for editing</li>
+        <li>BX_xmlfile: URL of the XML for the page to be edited</li>
+        <li>BX_xslfile: URL of the XSL stylesheet to use for formatting the XML in BXE (BXE 1.1 only)</li>
+        <li>contextmenufile: URL of the file that defines the BXE context menu</li>
+        <li>css: URL of the CSS file used for styling the XML to be edited in BXE</li>
+        <li>defaultlanguage: default language of the publication, used for insert popups</li>
+        </ul>
+      <p>If you want to customize BXE, the config step is your starting point. Make sure to pass
+        in the right URL for these parameters. The default publication uses additional pipelines
+        for these URL to provide more flexibility (such as automatically loading the correct
+        RELAX NG schema based on the resource type of the current page). More information about
+        the format of <code>config.xml</code> is available at the <a href="http://wiki.bitfluxeditor.org/Config.xml">BXE wiki</a>. 
+        The config step pipeline looks as follows in the default publication:</p>
+    <source xml:space="preserve">
+    <![CDATA[
+        <map:match type="step" pattern="config">
+          <map:generate src="../../resources/misc/bxeng/inc/config.xml"/>
+          <map:transform src="../../xslt/bxeng/config-xml.xsl">
+            <map:parameter name="BX_xmlfile" value="{request:requestURI}?lenya.usecase=bxeng&amp;lenya.step=xml"/>
+            <map:parameter name="defaultlanguage" value="{page-envelope:default-language}"/>
+            
+  <!--      Instead of an xsl we use the xhtml file to provide the basic layout
+            <map:parameter name="BX_xslfile" value="{2}.xsl"/>
+  -->
+            <map:parameter name="BX_xhtmlfile" value="{../2}.bxe.html"/>
+            <map:parameter name="BX_validationfile" value="{request:contextPath}/{page-envelope:publication-id}/{page-envelope:area}/{page-envelope:document-type}.rng"/>
+            <map:parameter name="css" value="{request:contextPath}/{page-envelope:publication-id}/{page-envelope:area}/css/{page-envelope:document-type}-bxeng.css"/>
+  <!--       The document is checked in when we exit from bx (in case of save&exit and in case of exit), so we use the usecase
+             for the checkin while we redirect to the document
+  -->
+            <map:parameter name="BX_exitdestination" value="{request:requestURI}?lenya.usecase=checkin&amp;lenya.step=checkin&amp;backup=true"/>
+            <map:parameter name="contextmenufile" value="../../resources/misc/bxeng/contextmenu.xml"/>
+          </map:transform>
+          <map:transform type="cinclude"/>
+          <map:serialize type="xml"/>
+        </map:match>
+    ]]>
+    </source>
+</section>    
+<section>
+<title>The xml step</title>
+    <p>The xml step is responsible for retrieving the XML of the page to be edited, and sending it back to the server
+        for saving (via HTTP PUT). It first checks if the request method is a GET or a PUT, and goes on to either deliver
+        the XML to BXE (for the GET case) or sending the XML to the server (for the PUT case). If the request method
+        is a PUT, it then checks if the page is properly checked out, and invokes a flow script function 
+        (<code>editDocument</code>) to save the page. The <code>editDocument</code> function takes care of checking
+        the page back in, triggering workflow transitions, and finally redirecting to the saved page. This is the
+        xml pipeline from the default publication:</p>
+    <source xml:space="preserve">
+    <![CDATA[
+      <map:match type="step" pattern="xml">      
+        <map:select type="request-method">
+          
+          <map:when test="PUT">
+            <!-- before we save, we must be sure that the document is well checked out
+            -->           
+	        <map:act type="reserved-checkout-test">
+    	      <map:generate type="serverpages" src="../../content/rc/{exception}.xsp">
+        	    <map:parameter name="user" value="{user}"/>
+            	<map:parameter name="filename" value="{filename}"/>
+	            <map:parameter name="date" value="{date}"/>
+    	      </map:generate>
+        	  <map:transform src="../../xslt/rc/rco-exception.xsl"/>
+	          <map:call resource="style-cms-page"/>
+        	</map:act>
+          
+          <map:call function="editDocument">
+            <map:parameter name="sourceUri" value="cocoon:/request2document"/>
+            <map:parameter name="noCheckin" value="true"/>
+          </map:call>
+          </map:when>
+
+          <map:otherwise> <!-- GET -->
+            <map:generate src="content/authoring/{page-envelope:document-path}"/>
+            <map:transform src="../../xslt/bxeng/change-object-path.xsl">
+              <map:parameter name="documentid" value="{page-envelope:document-id}"/>
+            </map:transform>
+            <map:serialize type="xml"/>
+          </map:otherwise>
+          
+        </map:select>
+      </map:match>
+    ]]>
+    </source>
+</section>    
+<section>
+<title>The image-upload-show, link-show and asset-upload-show steps</title>
+    <p>BXE supports the notion of callbacks to allow Lenya to display a list of assets, images or links
+        to be inserted into a page. These three steps generate the content of these popup windows, respectively.
+        The <code>link-show</code> step is the most complex of these since it takes lots of parameters, such
+        as the currently selected language, the position in the sitetree and the list of available languages.
+        These parameters are necessary to recreate the sitetree visualization from the site area for the link
+        insert popup.</p>
+    <source xml:space="preserve">
+    <![CDATA[
+      <map:match pattern="image-upload-show" type="step">
+        <map:call resource="cms-screen">
+           <map:parameter name="serverpage" value="info/assets.xsp"/>
+           <map:parameter name="stylesheet" value="bxeng/image.xsl"/>
+        </map:call>
+      </map:match>
+
+      <map:match pattern="asset-upload-show" type="step">
+        <map:call resource="cms-screen">
+           <map:parameter name="serverpage" value="info/assets.xsp"/>
+           <map:parameter name="stylesheet" value="bxeng/asset.xsl"/>
+        </map:call>
+      </map:match> 
+
+      <map:match pattern="link-show" type="step">
+            <!-- just a dummy xsp since we call the info area directly -->
+           <map:generate type="serverpages" src="../../content/info/assets.xsp"/>
+          <map:transform src="../../xslt/bxeng/link.xsl" label="content">
+            <map:parameter name="infoarea" value="true"/>
+            <map:parameter name="contextprefix" value="{request:contextPath}"/>
+            <map:parameter name="publicationid" value="{page-envelope:publication-id}"/>
+            <map:parameter name="area" value="authoring"/>
+            <map:parameter name="tab" value="en"/>
+            <map:parameter name="chosenlanguage" value="{page-envelope:document-language}"/>
+            <map:parameter name="documentid" value="{page-envelope:document-id}"/>
+            <map:parameter name="documenturl" value="/{page-envelope:document-url}"/>
+            <map:parameter name="documentextension" value="{page-envelope:document-extension}"/>
+            <map:parameter name="defaultlanguage" value="{page-envelope:default-language}"/>
+            <map:parameter name="languages" value="{page-envelope:publication-languages-csv}"/>
+          </map:transform>
+        <map:call resource="style-cms-page"/>
+      </map:match>
+    ]]>
+    </source>
+</section>    
+<section>
+<title>The image-upload and asset-upload steps</title>
+    <p>To enable the upload of new assets to Lenya directly from the BXE <code>insert Image</code> 
+        and <code>insert Asset</code> popup windows, there are two use case steps that use the
+        upload action to process the uploaded file, and then redirect to the respective popup window.</p>
+    <source xml:space="preserve">
+    <![CDATA[
+          <map:match type="step" pattern="asset-upload">
+            <map:act type="upload">
+              <map:redirect-to uri="{request:requestURI}?lenya.usecase=bxeng&amp;lenya.step=asset-upload-show"/>
+            </map:act>
+            <map:call resource="cms-screen">
+              <map:parameter name="serverpage" value="info/assets.xsp"/>
+              <map:parameter name="stylesheet" value="bxeng/asset.xsl"/>
+            </map:call>
+          </map:match>
+
+          <map:match type="step" pattern="image-upload">
+            <map:act type="upload">
+              <map:redirect-to uri="{request:requestURI}?lenya.usecase=bxeng&amp;lenya.step=image-upload-show"/>
+            </map:act>
+	        <map:call resource="cms-screen">
+	           <map:parameter name="serverpage" value="info/assets.xsp"/>
+	           <map:parameter name="stylesheet" value="bxeng/image.xsl"/>
+	        </map:call>
+	       </map:match>
+    ]]>
+    </source>
+</section>    
+<section>
+<title>Further BXE configuration</title>
+    <p>BXE offers a lot of customization options beyond those outlined above. If you plan to make the most
+        of BXE, you should familiarize yourself with the contents of the 
+            <a href="http://wiki.bitfluxeditor.org/Main_Page">BXE wiki</a>.</p>
+</section>    
+
+</body>
+</document>

Modified: lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.meta
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.meta?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.meta (original)
+++ lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.meta Fri Nov  2 03:57:25 2007
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <metadata xmlns="http://apache.org/lenya/metadata/1.0">
-<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
-<element key="mimeType">
-<value>application/xml</value>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Bitflux Editor</value>
 </element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
 <element key="extension">
 <value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
 </element>
 <element key="resourceType">
 <value>forrestDocument20</value>

Added: lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910789553.bak
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910789553.bak?rev=591298&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910789553.bak (added)
+++ lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.meta.1193910789553.bak Fri Nov  2 03:57:25 2007
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Bitflux Editor</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="mimeType">
+<value>application/xml</value>
+</element>
+<element key="resourceType">
+<value>forrestDocument20</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Modified: lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.rcml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.rcml?rev=591298&r1=591297&r2=591298&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.rcml (original)
+++ lenya/sandbox/pubs/docu/content/authoring/23061260-8731-11dc-ae46-9e7b5d14892d/en.rcml Fri Nov  2 03:57:25 2007
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910789553" version="2"/>
+<CheckOut identity="lenya" session="1f12dc80-8860-11dc-ba66-cfbbb816bd0d" time="1193910762413"/>
 <CheckIn backup="true" identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781622729" version="1"/>
 <CheckOut identity="lenya" session="60798970-8730-11dc-ae46-9e7b5d14892d" time="1193781611911"/>
 </XPSRevisionControl>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org