svn commit: r743041 [3/9] - in /lenya/trunk: org.apache.lenya.core.api/ org.apache.lenya.core.api/src/main/java/org/apache/lenya/cms/publication/ org.apache.lenya.core.api/src/test/ org.apache.lenya.core.api/src/test/java/ org.apache.lenya.core.api/src...

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/sitemanager.gml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/sitemanager.gml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/sitemanager.gml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/sitemanager.gml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: editor.gml 473861 2006-11-12 03:51:14Z gregor $ -->
+
+<group class="org.apache.lenya.ac.file.FileGroup" id="sitemanager"/>
\ No newline at end of file

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/sitemanager.rml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/sitemanager.rml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/sitemanager.rml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/sitemanager.rml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: admin.rml 473861 2006-11-12 03:51:14Z gregor $ -->
+
+<role class="org.apache.lenya.ac.file.FileRole" id="sitemanager"/>
\ No newline at end of file

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/visit.rml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/visit.rml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/visit.rml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/passwd/visit.rml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id$ -->
+
+<role class="org.apache.lenya.ac.file.FileRole" id="visit"/>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/archive/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/archive/subtree-policy.acml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/archive/subtree-policy.acml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/archive/subtree-policy.acml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <group id="editor">
+    <role id="edit" method="grant" />
+  </group>
+
+  <group id="reviewer">
+    <role id="review" method="grant" />
+  </group>
+
+  <group id="admin">
+    <role id="admin"  method="grant"/>
+  </group>
+ 
+  <group id="sitemanager">
+    <role id="sitemanager" method="grant" />
+  </group>
+
+  <!-- the "session" role grants access to login, logout and aboutLenya -->
+  <world>
+    <role id="session" method="grant"/>
+  </world>
+
+</policy> 

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/authoring/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/authoring/subtree-policy.acml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/authoring/subtree-policy.acml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/authoring/subtree-policy.acml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 597037 2007-11-21 11:15:43Z andreas $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <group id="editor">
+    <role id="edit"  method="grant"/>
+  </group>
+
+  <group id="reviewer">
+    <role id="review"  method="grant"/>
+  </group>
+
+  <group id="admin">
+    <role id="admin"  method="grant"/>
+  </group>
+ 
+  <group id="sitemanager">
+    <role id="sitemanager" method="grant"/>
+  </group>
+ 
+  <!-- the "session" role grants access to login, logout and aboutLenya -->
+  <world>
+    <role id="session" method="grant"/>
+  </world>
+
+</policy> 

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/introduction.html/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/introduction.html/subtree-policy.acml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/introduction.html/subtree-policy.acml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/introduction.html/subtree-policy.acml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 473861 2006-11-12 03:51:14Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <world>
+    <role id="visit" method="grant"/>
+  </world>
+
+</policy> 

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/live/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/live/subtree-policy.acml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/live/subtree-policy.acml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/live/subtree-policy.acml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 473861 2006-11-12 03:51:14Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <world>
+    <role id="visit" method="grant"/>
+  </world>
+
+</policy> 

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/modules/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/modules/subtree-policy.acml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/modules/subtree-policy.acml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/modules/subtree-policy.acml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <world>
+    <role id="visit" method="grant"/>
+  </world>
+
+</policy> 

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/trash/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/trash/subtree-policy.acml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/trash/subtree-policy.acml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/trash/subtree-policy.acml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <group id="editor">
+    <role id="edit" method="grant"/>
+  </group>
+
+  <group id="reviewer">
+    <role id="review" method="grant"/>
+  </group>
+
+  <group id="admin">
+    <role id="admin" method="grant"/>
+  </group>
+  
+  <group id="sitemanager">
+    <role id="sitemanager"  method="grant"/>
+  </group>
+
+  <!-- the "session" role grants access to login, logout and aboutLenya -->
+  <world>
+    <role id="session" method="grant"/>
+  </world>
+
+</policy> 

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/url-policy.acml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/url-policy.acml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/url-policy.acml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/url-policy.acml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: url-policy.acml 473861 2006-11-12 03:51:14Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <world>
+    <role id="visit" method="deny"/>
+  </world>
+
+</policy> 

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/webdav/index/url-policy.acml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/webdav/index/url-policy.acml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/webdav/index/url-policy.acml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/webdav/index/url-policy.acml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: url-policy.acml,v 1.3 2004/03/13 12:34:15 gregor Exp $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <group id="editor">
+    <role id="edit" method="grant"/>
+  </group>
+  
+  <world>
+    <!-- If no @method is set, we assume method="deny" -->
+    <role id="visit"/>
+  </world>
+  
+</policy> 

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/webdav/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/webdav/subtree-policy.acml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/webdav/subtree-policy.acml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/policies/webdav/subtree-policy.acml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 597037 2007-11-21 11:15:43Z andreas $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <group id="editor">
+    <role id="edit"  method="grant"/>
+  </group>
+
+  <group id="reviewer">
+    <role id="review"  method="grant"/>
+  </group>
+
+  <group id="admin">
+    <role id="admin"  method="grant"/>
+  </group>
+
+  <group id="sitemanager">
+    <role id="sitemanager"  method="grant"/>
+  </group>
+
+</policy> 

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/usecase-policies.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/usecase-policies.xml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/usecase-policies.xml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/access-control/usecase-policies.xml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,426 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: usecase-policies.xml 734162 2009-01-13 15:47:48Z andreas $ -->
+    
+<!--+++NOTE+++ The usecase list was initialized using modules/usecase-impl/xslt/initUsecasePolicies.xsl.-->
+<usecases xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <usecase id="ac.visit">
+    <role id="visit" method="grant"/>
+    <role id="admin" method="grant"/>
+    <role id="edit" method="grant"/>
+    <role id="sitemanager" method="grant"/>
+    <role id="review" method="grant"/>
+  </usecase>
+  <usecase id="ac.logout">
+    <role id="session" method="grant"/>
+  </usecase>
+  <usecase id="ac.login">
+    <role id="session" method="grant"/>
+  </usecase>
+  <usecase id="admin.aboutLenya">
+    <role id="session" method="grant"/>
+  </usecase>
+
+  <usecase id="bxe.edit">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="bxe.close">
+    <role id="sitemanager"/>
+    <role id="edit"/>
+  </usecase>  
+  <usecase id="cforms.edit">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="fckeditor.edit">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="linkcheck.getLinks">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="lucene.externalOpensearch">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="lucene.index">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="lucene.indexSite">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="lucene.opensearch">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="lucene.search">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+    <role id="visit" method="grant"/>
+  </usecase>
+  <usecase id="sitemanagement.archive">
+    <role id="sitemanager" method="grant"/>
+  </usecase>
+  <usecase id="sitemanagement.changeLabel">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="sitemanagement.changeNodeID">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="sitemanagement.changeVisibility">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="sitemanagement.copy">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="sitemanagement.create">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="sitemanagement.createLanguage">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="sitemanagement.cut">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="sitemanagement.delete">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="sitemanagement.deleteLanguage">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="sitemanagement.paste">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="sitemanagement.restore">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="sitemanagement.rollback">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>  
+  <usecase id="sitemanagement.forceCheckIn">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>  
+  <usecase id="tab.acArchive">
+    <role id="sitemanager" method="grant"/>
+  </usecase>
+  <usecase id="tab.acAuthoring">
+    <role id="sitemanager" method="grant"/>
+  </usecase>
+  <usecase id="tab.acLive">
+    <role id="sitemanager" method="grant"/>
+  </usecase>
+  <usecase id="tab.acTrash">
+    <role id="sitemanager" method="grant"/>
+  </usecase>
+  <usecase id="tab.assets">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="tab.meta">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="tab.overview">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+    <role id="review" method="grant"/>
+    <role id="visit" method="grant"/>
+  </usecase>
+  <usecase id="tab.revisions">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="tab.scheduler">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="tab.workflow">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="opendocument.create">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="opendocument.upload">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="sitetree.nudge">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="contactForm.sendMessage">
+    <role id="visit" method="grant"/>
+  </usecase>
+  <usecase id="usecasedocument.create">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="webdav.delete">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="webdav.filePropfind">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="webdav.mkcol">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="webdav.propfind">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="webdav.put">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="admin.showPubConf">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.editPubConf">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.usecases">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.addGroup">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.addIPRange">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.addUser">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.changePassword">
+    <role id="admin" method="grant"/>
+    <role id="edit" method="grant"/>
+    <role id="review" method="grant"/>
+    <role id="visit" method="grant"/>
+    <role id="sitemanager" method="grant"/>
+  </usecase>
+  <usecase id="admin.changePasswordAdmin">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.deleteGroup">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.deleteIPRange">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.deleteUser">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.emptyTrash">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.liveCheckIn">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.group">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.groupMembers">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.groupProfile">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.groups">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.ipRangeGroups">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.ipRangeProfile">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.ipRange">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.ipRanges">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.serverStatus">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.sessions">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.siteOverview">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.user">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.userGroups">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.userProfile">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.users">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="admin.reports">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="editors.forms">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="editors.oneform">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="editors.publicationEdit">
+    <role id="sitemanager" method="grant"/>
+  </usecase>
+  <usecase id="templating.createPublicationFromTemplate">
+    <role id="sitemanager" method="grant"/>
+  </usecase>
+  <usecase id="workflow.delete">
+    <role id="sitemanager" method="grant"/>
+  </usecase>
+  <usecase id="workflow.publish">
+    <role id="sitemanager" method="grant"/>
+    <role id="review" method="grant"/>
+  </usecase>
+  <usecase id="workflow.deactivate">
+    <role id="sitemanager" method="grant"/>
+    <role id="review" method="grant"/>
+  </usecase>
+  <usecase id="workflow.reject">
+    <role id="sitemanager" method="grant"/>
+    <role id="review" method="grant"/>
+  </usecase>
+  <usecase id="workflow.submit">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="workflow.multiWorkflow">
+    <role id="sitemanager" method="grant"/>
+    <role id="review" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="workflow.multiWorkflowInvoke">
+    <role id="sitemanager" method="grant"/>
+    <role id="review" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="kupu.edit">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="resource.upload">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="resource.create">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="entry.create">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="export.import">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="export.importExampleContent">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="notification.inbox">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+    <role id="review" method="grant"/>
+  </usecase>
+  <usecase id="notification.sendMessage">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+    <role id="review" method="grant"/>
+  </usecase>
+  <usecase id="notification.deleteMessage">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+    <role id="review" method="grant"/>
+  </usecase>
+  <usecase id="neutron.checkout">
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="neutron.checkin">
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="news.edit">
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="editors.insertLink">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="editors.insertImage">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="editors.insertAsset">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="editors.createResource">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="tinymce.edit">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="fckeditor.edit">
+    <role id="sitemanager" method="grant"/>
+    <role id="edit" method="grant"/>
+  </usecase>
+  <usecase id="monitoring.sessionLogs">
+    <role id="admin" method="grant"/>
+  </usecase>
+  <usecase id="metadata.change">
+    <role id="edit" method="grant"/>
+  </usecase>
+</usecases>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/menu.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/menu.xml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/menu.xml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/menu.xml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: generic.xsp 155806 2005-03-01 17:55:42Z andreas $ -->
+
+<menu xmlns:i18n="http://apache.org/cocoon/i18n/2.1"    
+  xmlns:uc="http://apache.org/cocoon/lenya/usecase/1.0"
+  xmlns="http://apache.org/cocoon/lenya/menubar/1.0">
+  
+  <menus>
+    <menu i18n:attr="name" name="File">
+      <block areas="authoring site">
+        <item uc:usecase="sitemanagement.createLanguage" href="?"><i18n:text>New Language Version</i18n:text></item>
+        <item uc:usecase="sitemanagement.deleteLanguage"><i18n:text>Remove Language Version</i18n:text></item>
+      </block>
+      <block areas="authoring">
+        <item uc:usecase="sitemanagement.forceCheckIn"><i18n:text>force-checkin</i18n:text></item>
+      </block>
+      <block areas="authoring site admin">
+        <item uc:usecase="admin.changePassword"><i18n:text>Change Password</i18n:text></item>
+        <item uc:usecase="ac.logout"><i18n:text>Logout</i18n:text></item>
+      </block>
+    </menu>
+    
+    <menu i18n:attr="name" name="Edit">
+      <block areas="authoring">
+        <item uc:usecase="tab.meta"><i18n:text>Edit Metadata</i18n:text></item>
+        <item uc:usecase="sitemanagement.changeLabel"><i18n:text>Edit Navigation Title</i18n:text></item>
+      </block>
+    </menu>
+    
+    <menu i18n:attr="name" name="Workflow">
+      <block areas="authoring site">
+        <item uc:usecase="workflow.submit"><i18n:text>workflow.submit</i18n:text></item>
+        <item uc:usecase="workflow.reject"><i18n:text>workflow.reject</i18n:text></item>
+        <item uc:usecase="workflow.publish"><i18n:text>workflow.publish</i18n:text></item>
+        <item uc:usecase="workflow.deactivate"><i18n:text>workflow.deactivate</i18n:text></item>
+      </block>
+      <block areas="authoring site">
+        <item uc:usecase="workflow.multiWorkflow"><i18n:text>workflow.multiWorkflow</i18n:text></item>
+      </block>
+    </menu>
+    
+    <menu i18n:attr="name" name="Help">
+      <block areas="authoring site admin">
+        <item uc:usecase="admin.aboutLenya"><i18n:text>About Apache Lenya</i18n:text></item>
+        <item href="http://lenya.apache.org"><i18n:text>Apache Lenya Homepage</i18n:text></item>
+        <item href="http://lenya.apache.org/docs/index.html"><i18n:text>Documentation</i18n:text></item>
+        <item href="http://wiki.apache.org/lenya/"><i18n:text>Wiki</i18n:text></item>
+      </block>
+    </menu>
+    
+    <menu i18n:attr="name" name="Development">
+    </menu>
+  </menus>
+  
+</menu>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/publication.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/publication.xml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/publication.xml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/publication.xml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="UTF-8"?><!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+--><!-- $Id: publication.xml 736671 2009-01-22 15:24:02Z andreas $ --><publication xmlns="http://apache.org/cocoon/lenya/publication/1.1">
+
+  <name>Test Publication</name>
+  <description>This publication is a best practice, getting started publication.</description>
+  <!-- the @...@ macros are evaluated by ant at build time -->
+  <version>2.0.3-dev</version>
+  <lenya-version>2.0.3-dev</lenya-version>
+  <lenya-revision>xxx</lenya-revision>
+  <cocoon-version>2.1.10-dev</cocoon-version>
+
+  <!-- The various languages need to be listed for verification and widget building -->
+  <languages>
+    <language default="true">en</language>
+    <language>de</language>
+    <language>he</language>
+    <language>es</language>
+    <language>fr</language>
+  </languages>
+  <!-- A template instantiator is used to create new publications based on this one. -->
+  
+  <!-- A publication can inherit from another publication. "id" corresponds to the publication id 
+       of that template (and thus to the name of the directory it's stored in) -->
+  <!--
+     <template id="some-pub-id"/>
+  -->
+  <path-mapper>org.apache.lenya.cms.publication.DefaultDocumentIdToPathMapper</path-mapper>
+  <document-builder name="default"/>
+  <breadcrumb-prefix/>
+  <site-manager name="tree"/>
+  
+  <!-- Resource types need to be listed because of the workflow resp. because the workflow depends on the publication and not on the resource type -->
+  <resource-types>
+    <resource-type name="xhtml" workflow="fallback://config/workflow/workflow.xml"/>
+    <resource-type name="homepage" workflow="fallback://config/workflow/workflow.xml"/>
+    <resource-type name="links" workflow="fallback://config/workflow/workflow.xml"/>
+    <resource-type name="cforms" workflow="fallback://config/workflow/workflow.xml"/>
+    <resource-type name="opendocument" workflow="fallback://config/workflow/workflow.xml"/>
+    <resource-type name="resource" workflow="fallback://config/workflow/workflow.xml"/>
+    <resource-type name="usecase" workflow="fallback://config/workflow/workflow.xml"/>
+    <resource-type name="news" workflow="fallback://config/workflow/workflow.xml"/>
+  </resource-types>
+  
+  <!-- Modules need to be listed because of the menu and i18n -->
+  <modules>
+    <module name="usecase"/>
+    <module name="editors"/>
+    <module name="xhtml"/>
+    <module name="links"/>
+    <module name="opendocument"/>
+    <module name="cforms"/>
+    <module name="homepage"/>
+    <module name="resource"/>
+    <module name="sitemanagement"/>
+    <module name="sitetree"/>
+    <module name="export"/>
+    <module name="workflow"/>
+    <module name="notification"/>
+    <module name="svg"/>
+    <module name="lucene"/>
+    <module name="development"/>
+    <module name="profiling"/>
+    <module name="languageselector"/>
+    <module name="administration"/>
+    <module name="acusecases"/>
+    <module name="news"/>
+    <module name="prettyprinting"/>
+    <module name="usecasedocument"/>
+    <module name="monitoring"/>
+    <module name="navigation"/>
+  </modules>
+  <!-- TODO: The goal is to have a blog module ;-) -->
+  <!--
+  <module name="blog"/>
+  -->
+
+  <!-- You can specify a custom location for your content, outside the Lenya build tree. Note that you will probably also want
+       to specify custom locations for access control (see access-control/access-control.xml), so that all your dynamically generated data is in one place
+       for easy backup. -->
+  <!--
+       Relative to webapp context: 
+          <content-dir src="lenya/pubs/default"/>
+       Absolute:
+          <content-dir src="/home/USERNAME/data/default"/>
+          <content-dir src="D:/tmp/default"/>
+  -->
+  
+  <proxies>
+    <!-- 
+       Lenya can rewrite the links to cater to special proxy setups.
+       Make sure to update the GlobalProxies configuration in cocoon.xconf as well.
+       For information about these settings, read
+       http://lenya.apache.org/docs/2_0_x/tutorials/proxy.html
+      
+       This example setting simulates the following situation:
+       * A customer wants a company hostname and URLs without Lenya-specific
+         path components for his live site.
+       * The server uses name-based virtual hosting with just one IP, i.e.
+         there can only be one SSL vhost, which is shared among several
+         customers. This implies the need for sub-directories in the proxy
+         URL.
+       * "authoring" should be ssl-protected. There is no need for a
+         customer hostname here, since it's not publicly visible.
+       * Any SSL-protected documents in "live" can be handled by the SSL
+         vhost (not using the company hostname is ok in this case, because
+         the customer does not want to pay for an additional IP address).
+         
+       The desired customer hostname is customer.example.com.
+       The SSL vhost is called https://www.example.com.
+       The Lenya CMS for our customer is reachable as
+       http[s]://www.example.com/lenya/customer/authoring.
+       The global proxy for non-publication-specific resources shall be
+       http://www.example.com/lenya.
+     -->
+<!--
+    <proxy area="live" ssl="true" url="https://www.example.com/lenya/customer/live"/>
+    <proxy area="live" ssl="false" url="http://customer.example.com"/>
+    <proxy area="authoring" ssl="true" url="https://www.example.com/lenya/customer/authoring"/>
+    <proxy area="authoring" ssl="false" url="http://www.example.com/lenya/customer/authoring"/>
+    <proxy area="archive" ssl="true" url="https://www.example.com/lenya/customer/archive"/>
+    <proxy area="archive" ssl="false" url="http://www.example.com/lenya/customer/archive"/>
+    <proxy area="trash" ssl="true" url="https://www.example.com/lenya/customer/trash"/>
+    <proxy area="trash" ssl="false" url="http://www.example.com/lenya/customer/trash"/>
+-->
+  </proxies>
+  
+</publication>
\ No newline at end of file

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/search/lucene_index.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/search/lucene_index.xml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/search/lucene_index.xml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/search/lucene_index.xml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+
+<indexes>
+  <index id="test-live" directory="lenya/pubs/test/work/lucene/index/live/index">
+    <structure>
+      <field id="url" type="keyword" />
+      <field id="title" type="text" storetext="true"/>
+      <field id="description" type="text" storetext="true"/>
+      <field id="subject" type="keyword" storetext="true" />
+      <field id="body" type="text" storetext="true"/>
+    </structure>
+  </index>
+  <index id="test-authoring" directory="lenya/pubs/test/work/lucene/index/authoring/index">
+    <structure>
+      <field id="url" type="keyword" />
+      <field id="title" type="text" storetext="true"/>
+      <field id="description" type="text" storetext="true"/>
+      <field id="subject" type="keyword" storetext="true" />
+      <field id="body" type="text" storetext="true"/>
+    </structure>
+  </index>
+  <index id="test-trash" directory="lenya/pubs/test/work/lucene/index/trash/index">
+    <structure>
+      <field id="url" type="keyword" />
+      <field id="title" type="text" storetext="true"/>
+      <field id="description" type="text" storetext="true"/>
+      <field id="subject" type="keyword" storetext="true" />
+      <field id="body" type="text" storetext="true"/>
+    </structure>
+  </index>
+  <index id="test-archive" directory="lenya/pubs/test/work/lucene/index/archive/index">
+    <structure>
+      <field id="url" type="keyword" />
+      <field id="title" type="text" storetext="true"/>
+      <field id="description" type="text" storetext="true"/>
+      <field id="subject" type="keyword" storetext="true" />
+      <field id="body" type="text" storetext="true"/>
+    </structure>
+  </index>
+</indexes>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/workflow/workflow.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/workflow/workflow.xml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/workflow/workflow.xml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/config/workflow/workflow.xml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: workflow.xml 587898 2007-10-24 14:36:34Z rfrovarp $ -->
+
+<workflow xmlns="http://apache.org/cocoon/lenya/workflow/1.0">
+
+  <state id="authoring" initial="true"/>
+  <state id="review"/>
+  <state id="live"/>
+  <state id="trash"/>
+  <state id="archive"/>
+  
+  <variable name="is_live" value="false"/>
+  
+  <transition source="authoring" destination="review">
+    <event id="submit"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+  </transition>
+        
+  <transition source="review" destination="live">
+    <event id="publish"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+    <assign variable="is_live" value="true"/>
+  </transition>
+        
+  <transition source="review" destination="authoring">
+    <event id="reject"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+  </transition>
+        
+  <transition source="live" destination="authoring">
+    <event id="edit"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+  </transition>
+        
+  <transition source="authoring" destination="authoring">
+    <event id="edit"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+  </transition>
+        
+  <transition source="live" destination="authoring">
+    <event id="deactivate"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+    <assign variable="is_live" value="false"/>
+  </transition>
+
+  <transition source="review" destination="authoring">
+    <event id="deactivate"/>
+    <condition class="org.apache.lenya.workflow.impl.BooleanVariableCondition">is_live = true</condition>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+    <assign variable="is_live" value="false"/>
+  </transition>
+  
+  <transition source="authoring" destination="authoring">
+    <event id="deactivate"/>
+    <condition class="org.apache.lenya.workflow.impl.BooleanVariableCondition">is_live = true</condition>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+    <assign variable="is_live" value="false"/>
+  </transition>
+  
+  <transition source="authoring" destination="trash">
+    <event id="delete"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+    <assign variable="is_live" value="false"/>
+  </transition>
+
+  <transition source="authoring" destination="archive">
+    <event id="archive"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+    <assign variable="is_live" value="false"/>
+  </transition>
+  
+  <transition source="archive" destination="authoring">
+    <event id="restore"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+  </transition>
+
+  <transition source="archive" destination="trash">
+    <event id="delete"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+  </transition>
+  
+  <transition source="trash" destination="authoring">
+    <event id="restore"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+  </transition>  
+</workflow>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de Tue Feb 10 18:22:23 2009
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml">
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: index_de 528434 2007-04-13 10:42:52Z andreas $ -->
+  <head>
+    <title>Willkommen zur Default-Publikation!</title>
+  </head>
+  <body>
+    <h1>Hallo und herzlich Willkommen bei der Lenya Default-Publikation!</h1>
+    
+    <p>
+      Apache Lenya ist ein in Java implementiertes Open-Source Content Management System,
+      das auf offenen Standards wie XML und XSLT sowie dem bewährten Apache
+      Software-Stack basiert. Sein Fundament bildet das XML-Publishing-Framework
+      Apache Cocoon.
+    </p>
+
+    <p>
+      Im Artikel <a href="lenya-document:bc719ea0-f775-11dd-baf5-ec0f263a3b87">Konzepte</a> erhalten Sie
+      einen Überblick über die in Lenya verwendeteen Konzepte und Begriffe.
+      Der Artikel <a href="lenya-document:bc73e890-f775-11dd-baf5-ec0f263a3b87">Features</a> bietet
+      einen Überblick über die in Lenya verfügbaren Funktionen.
+    </p>
+    
+    <p>
+      Für eine schnelle Einführung in die Verwendung des Apache Lenya CMS empfehlen
+      wir das <a href="lenya-document:bc703f10-f775-11dd-baf5-ec0f263a3b87">Tutorial</a>.
+    </p>
+
+    <p>Der Zweck dieser Publikation ist es,</p>
+
+    <ul>
+      <li>
+        die Grundfunktionalität des Apache Lenya CMS zu präsentieren,
+      </li>
+      <li>
+        eine Publikation "von der Stange" anzubieten, die auf einfache
+        Weise angepasst und genutzt werden kann,  und
+      </li>
+      <li>
+        eine Basis für Referenzimplementation neuer Konzepte und Best-Practises
+        zur Verfügung zu stellen.
+      </li>
+    </ul>
+    
+    <p>
+      Diese Publikation reizt die Möglichkeiten von Apache Lenya nicht aus;
+      es gibt keine Spielereien, die Sie verwirren könnten. Diese Publikation enthält
+      nur, was Sie für einen schnellen Einstieg benötigen.
+    </p>
+    
+  </body>
+</html>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.1234272096102.bak
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.1234272096102.bak?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.1234272096102.bak (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.1234272096102.bak Tue Feb 10 18:22:23 2009
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml">
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: index_de 528434 2007-04-13 10:42:52Z andreas $ -->
+  <head>
+    <title>Willkommen zur Default-Publikation!</title>
+  </head>
+  <body>
+    <h1>Hallo und herzlich Willkommen bei der Lenya Default-Publikation!</h1>
+    
+    <p>
+      Apache Lenya ist ein in Java implementiertes Open-Source Content Management System,
+      das auf offenen Standards wie XML und XSLT sowie dem bewährten Apache
+      Software-Stack basiert. Sein Fundament bildet das XML-Publishing-Framework
+      Apache Cocoon.
+    </p>
+
+    <p>
+      Im Artikel <a href="lenya-document:bc719ea0-f775-11dd-baf5-ec0f263a3b87">Konzepte</a> erhalten Sie
+      einen Überblick über die in Lenya verwendeteen Konzepte und Begriffe.
+      Der Artikel <a href="lenya-document:bc73e890-f775-11dd-baf5-ec0f263a3b87">Features</a> bietet
+      einen Überblick über die in Lenya verfügbaren Funktionen.
+    </p>
+    
+    <p>
+      Für eine schnelle Einführung in die Verwendung des Apache Lenya CMS empfehlen
+      wir das <a href="lenya-document:bc703f10-f775-11dd-baf5-ec0f263a3b87">Tutorial</a>.
+    </p>
+
+    <p>Der Zweck dieser Publikation ist es,</p>
+
+    <ul>
+      <li>
+        die Grundfunktionalität des Apache Lenya CMS zu präsentieren,
+      </li>
+      <li>
+        eine Publikation "von der Stange" anzubieten, die auf einfache
+        Weise angepasst und genutzt werden kann,  und
+      </li>
+      <li>
+        eine Basis für Referenzimplementation neuer Konzepte und Best-Practises
+        zur Verfügung zu stellen.
+      </li>
+    </ul>
+    
+    <p>
+      Diese Publikation reizt die Möglichkeiten von Apache Lenya nicht aus;
+      es gibt keine Spielereien, die Sie verwirren könnten. Diese Publikation enthält
+      nur, was Sie für einen schnellen Einstieg benötigen.
+    </p>
+    
+  </body>
+</html>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.meta
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.meta?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.meta (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.meta Tue Feb 10 18:22:23 2009
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?><metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://apache.org/lenya/metadata/media/1.0"/>
+<element-set namespace="http://purl.org/dc/terms/"/>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Willkommen zur Lenya Standardpublikation</value>
+</element>
+<element key="rights">
+<value>Alle Rechte vorbehalten</value>
+</element>
+<element key="publisher">
+<value>Apache Software Foundation</value>
+</element>
+<element key="date">
+<value>2005-01-31</value>
+</element>
+<element key="language">
+<value>de</value>
+</element>
+<element key="creator">
+<value>Lenya Development Team</value>
+</element>
+<element key="description">
+<value>Startseite der Lenya Standardpublikation</value>
+</element>
+<element key="subject">
+<value>Lenya Standardpublikation</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/site/1.0"/>
+<element-set namespace="http://apache.org/lenya/metadata/workflow/1.0"/>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="mimeType">
+<value>application/xhtml+xml</value>
+</element>
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="resourceType">
+<value>homepage</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096102.bak
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096102.bak?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096102.bak (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.meta.1234272096102.bak Tue Feb 10 18:22:23 2009
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?><metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://apache.org/lenya/metadata/media/1.0"/>
+<element-set namespace="http://purl.org/dc/terms/"/>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Willkommen zur Lenya Standardpublikation</value>
+</element>
+<element key="rights">
+<value>Alle Rechte vorbehalten</value>
+</element>
+<element key="publisher">
+<value>Apache Software Foundation</value>
+</element>
+<element key="date">
+<value>2005-01-31</value>
+</element>
+<element key="language">
+<value>de</value>
+</element>
+<element key="creator">
+<value>Lenya Development Team</value>
+</element>
+<element key="description">
+<value>Startseite der Lenya Standardpublikation</value>
+</element>
+<element key="subject">
+<value>Lenya Standardpublikation</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/site/1.0"/>
+<element-set namespace="http://apache.org/lenya/metadata/workflow/1.0"/>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="mimeType">
+<value>application/xhtml+xml</value>
+</element>
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="resourceType">
+<value>homepage</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.rcml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.rcml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.rcml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/de.rcml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?><XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="bc2ccd70-f775-11dd-baf5-ec0f263a3b87" time="1234272096102" version="1"/>
+<CheckOut identity="lenya" session="bc2ccd70-f775-11dd-baf5-ec0f263a3b87" time="1234272096024"/>
+</XPSRevisionControl>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en Tue Feb 10 18:22:23 2009
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml">
+
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: index_en 473861 2006-11-12 03:51:14Z gregor $ -->
+  <head>
+    <title>Welcome to the Default publication</title>
+  </head>
+  <body>
+    <h1>Hello and welcome to the Lenya default publication!</h1>
+
+    <p>Apache Lenya is a Java Open-Source Content Management System
+    based on open standards such as XML and XSLT and the Apache
+    Software Stack, in particular the XML publishing framework Apache
+    Cocoon.</p>
+
+    <p>For an overview of the concepts and the terminology used in
+    Apache Lenya please see the <a href="lenya-document:bc719ea0-f775-11dd-baf5-ec0f263a3b87">Concepts
+    section</a>. To see what you can do with Apache Lenya please
+    refer to the <a href="lenya-document:bc73e890-f775-11dd-baf5-ec0f263a3b87">Features
+    section</a>.</p>
+
+    <p>If you'd like to get a quick introduction on how to use Apache
+    Lenya CMS please go through the <a href="lenya-document:bc703f10-f775-11dd-baf5-ec0f263a3b87">tutorial</a>.</p>
+
+    <p>The purpose of this publication is</p>
+
+    <ul>
+      <li>to show beginners the basic functionality of the Apache
+      Lenya CMS,</li>
+
+      <li>to provide an "out of the box" publication that can be
+      easily adapted and used,</li>
+
+      <li>and to provide a basis for reference implementations of new
+      concepts and best practices.</li>
+
+    </ul>
+
+    <p>This publication does not go to the limit of what's possible
+    with Apache Lenya CMS, there are no fancy bells and whistles to
+    confuse you, this publication simply contains everything you need
+    to get started.</p>
+    </body>
+</html>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.1234272096119.bak
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.1234272096119.bak?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.1234272096119.bak (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.1234272096119.bak Tue Feb 10 18:22:23 2009
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml">
+
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: index_en 473861 2006-11-12 03:51:14Z gregor $ -->
+  <head>
+    <title>Welcome to the Default publication</title>
+  </head>
+  <body>
+    <h1>Hello and welcome to the Lenya default publication!</h1>
+
+    <p>Apache Lenya is a Java Open-Source Content Management System
+    based on open standards such as XML and XSLT and the Apache
+    Software Stack, in particular the XML publishing framework Apache
+    Cocoon.</p>
+
+    <p>For an overview of the concepts and the terminology used in
+    Apache Lenya please see the <a href="lenya-document:bc719ea0-f775-11dd-baf5-ec0f263a3b87">Concepts
+    section</a>. To see what you can do with Apache Lenya please
+    refer to the <a href="lenya-document:bc73e890-f775-11dd-baf5-ec0f263a3b87">Features
+    section</a>.</p>
+
+    <p>If you'd like to get a quick introduction on how to use Apache
+    Lenya CMS please go through the <a href="lenya-document:bc703f10-f775-11dd-baf5-ec0f263a3b87">tutorial</a>.</p>
+
+    <p>The purpose of this publication is</p>
+
+    <ul>
+      <li>to show beginners the basic functionality of the Apache
+      Lenya CMS,</li>
+
+      <li>to provide an "out of the box" publication that can be
+      easily adapted and used,</li>
+
+      <li>and to provide a basis for reference implementations of new
+      concepts and best practices.</li>
+
+    </ul>
+
+    <p>This publication does not go to the limit of what's possible
+    with Apache Lenya CMS, there are no fancy bells and whistles to
+    confuse you, this publication simply contains everything you need
+    to get started.</p>
+    </body>
+</html>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.meta
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.meta?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.meta (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.meta Tue Feb 10 18:22:23 2009
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?><metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://apache.org/lenya/metadata/media/1.0"/>
+<element-set namespace="http://purl.org/dc/terms/"/>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Welcome to the Lenya default publication</value>
+</element>
+<element key="rights">
+<value>All rights reserved</value>
+</element>
+<element key="publisher">
+<value>Apache Software Foundation</value>
+</element>
+<element key="date">
+<value>2005-01-31</value>
+</element>
+<element key="language">
+<value>en</value>
+</element>
+<element key="creator">
+<value>Lenya Development Team</value>
+</element>
+<element key="description">
+<value>The start page of the Lenya default publication</value>
+</element>
+<element key="subject">
+<value>Lenya default publication</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/site/1.0"/>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="mimeType">
+<value>application/xhtml+xml</value>
+</element>
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="resourceType">
+<value>homepage</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096119.bak
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096119.bak?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096119.bak (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.meta.1234272096119.bak Tue Feb 10 18:22:23 2009
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?><metadata xmlns="http://apache.org/lenya/metadata/1.0">
+<element-set namespace="http://apache.org/lenya/metadata/media/1.0"/>
+<element-set namespace="http://purl.org/dc/terms/"/>
+<element-set namespace="http://purl.org/dc/elements/1.1/">
+<element key="title">
+<value>Welcome to the Lenya default publication</value>
+</element>
+<element key="rights">
+<value>All rights reserved</value>
+</element>
+<element key="publisher">
+<value>Apache Software Foundation</value>
+</element>
+<element key="date">
+<value>2005-01-31</value>
+</element>
+<element key="language">
+<value>en</value>
+</element>
+<element key="creator">
+<value>Lenya Development Team</value>
+</element>
+<element key="description">
+<value>The start page of the Lenya default publication</value>
+</element>
+<element key="subject">
+<value>Lenya default publication</value>
+</element>
+</element-set>
+<element-set namespace="http://apache.org/lenya/metadata/site/1.0"/>
+<element-set namespace="http://apache.org/lenya/metadata/document/1.0">
+<element key="mimeType">
+<value>application/xhtml+xml</value>
+</element>
+<element key="extension">
+<value>xml</value>
+</element>
+<element key="resourceType">
+<value>homepage</value>
+</element>
+<element key="contentType">
+<value>xml</value>
+</element>
+</element-set>
+</metadata>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.rcml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.rcml?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.rcml (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc6c4770-f775-11dd-baf5-ec0f263a3b87/en.rcml Tue Feb 10 18:22:23 2009
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?><XPSRevisionControl xmlns="">
+<CheckIn backup="true" identity="lenya" session="bc2ccd70-f775-11dd-baf5-ec0f263a3b87" time="1234272096119" version="1"/>
+<CheckOut identity="lenya" session="bc2ccd70-f775-11dd-baf5-ec0f263a3b87" time="1234272096041"/>
+</XPSRevisionControl>

Added: lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/de
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/de?rev=743041&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/de (added)
+++ lenya/trunk/org.apache.lenya.core.impl/src/test/resources/pubs/test/content/authoring/bc703f10-f775-11dd-baf5-ec0f263a3b87/de Tue Feb 10 18:22:23 2009
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml" 
+xmlns:xhtml="http://www.w3.org/1999/xhtml" 
+xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0">
+
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: index_de 528434 2007-04-13 10:42:52Z andreas $ -->
+  <head>
+    <title>Lenya Tutorial</title>
+  </head>
+  <body>
+    <h1>Tutorial</h1>
+
+    <p>Das folgende Tutorial gibt eine kurze Einführung in das Content Management
+    System Apache Lenya. Wir betrachten typische Anwendungsfälle,
+    wie zum Beispiel ein neues Dokument erstellen, bearbeiten und publizieren.</p>
+
+    <h2>Ein neues Dokument erstellen</h2>
+    
+    <p>
+      Um ein neues Dokument zu erstellen, klicken Sie auf den Menüpunkt
+      <em>Datei -> Neues XHTML-Dokument</em>. Sie erhalten ein Formular,
+      das Sie auffordert, einen Knoten-Namen und Navigationstitel für das
+      neue Dokument einzugeben. Der Knoten-Name wird zur Identifikation des
+      Dokumentes in der URL verwendet. Der Navigationstitel wird links im
+      Menü erscheinen.
+    </p>
+    <p>
+      Geben Sie "helloworld" als Knoten-Name und "Hello World" als Navigationstitel
+      ein und klicken Sie auf den "Erstellen"-Button. Sie werden zur neu erstellten
+      "Hello World"-Seite weitergeleitet. Links im Navigationsmenü können Sie
+      den neuen Eintrag sehen. Da Sie im "Erstellen"-Formular die Standard-Einstellung
+      "child" gewählt haben, wurde das neue Dokument als Kind-Dokument des
+      Ausgangs-Dokumentes eingefügt.
+    </p>
+
+    <h2>Ein Dokument bearbeiten</h2>
+    
+    <p>
+      Wie Sie sehen enthält das "Hello World"-Dokument bereits ein wenig
+      Beispiel-Inhalt. Um diesen zu ändern, können Sie das Dokument mit einem
+      der eingebauten Editoren bearbeiten:
+    </p>
+
+    <ul>
+      <li>Kupu: Eine gute Wahl für Internet-Explorer-Nutzer.</li>
+      <li>BXE: Eine gute Wahl für Firefox-Nutzer.</li>
+      <li>Formwizard: Eine gute Wahl für Mosaic-Nutzer. ;-)</li>
+      <li>Formulareditor: Für Nutzer, die die volle Kontrolle benötigen.</li>
+    </ul>
+    
+    <p>
+      Wählen Sie einen Editor aus dem "Bearbeiten"-Menü (abhängig von Ihrer Plattform)
+      und beginnen Sie, das neu erstellte Dokument zu bearbeiten.
+      In diesem Beispiel verwenden wir den BXE-Editor.
+      Das Lenya-Menü wird verschwinden und der BXE-Toolbar erscheint stattdessen.
+      Mit der rechten Maustaste erhalten Sie ein Kontext-Menü,
+      mit Hilfe dessen Sie Textbausteine kopieren, ausschneiden und einfügen können.
+      Sie können auch neue Elemente mittels des Kontext-Menüs in das Dokument
+      einfügen. Sobald Sie ihre Änderungen abgeschlossen haben, klicken Sie auf
+      "Save &amp; Exit" um zurück zur Lenya-Ansicht des Dokumentes zu gelangen.
+      Dort können Sie Ihre Änderungen betrachten.
+    </p>
+
+    <h2>Ein Dokument veröffentlichen</h2>
+    
+    <p>
+      Sobald Sie mit dem Inhalt Ihres Dokumentes zufrieden sind, können Sie
+      es publizieren, um es in der Live-Umgebung sichtbar zu machen.
+    </p>
+
+    <h3>Workflow</h3>
+    
+    <p>
+      Die Default-Publikation verwendet einen einfachen Workflow, der die Rollen
+      eines Editors und einen Prüfers involviert. Der Editor erstellt und
+      bearbeitet neue Dokumente und reicht sie zur Prüfung ein. Der Prüfer
+      überprüft das Dokument und publiziert es, so dass es auf der Live-Website
+      erscheint. 
+    </p>
+    
+    <p>
+      Der Nutzer <em>lenya</em>, mit dem Sie sich wahrscheinlich eingeloggt
+      haben, besitzt die Editor-Rolle, d.h. er kann neue Dokumente erstellen und
+      zur Prüfung einreichen. Die Nutzerin <em>alice</em> besitzt die Prüfer-Rolle,
+      die es ihr erlaubt, Dokumente zu prüfen und zu publizieren.
+    </p>
+    
+    <p>
+      Um Ihr neu erstelltes Dokument zu veröffentlichen, loggen Sie sich (falls
+      nötig) als Nutzer <em>lenya</em> ein und klicken Sie auf den Menüpunkt
+      <em>Arbeitsfluss -> Einreichen</em>. Loggen Sie sich nun aus (<em>Datei
+      -> Abmelden</em>) und loggen Sie sich als Nutzer <em>alice</em> ein.
+      Nun können Sie das Dokument mittels des Menüpunkts <em>Arbeitsfluss ->
+      Publizieren</em> veröffentlichen. Gegebenenfalls werden Sie auf dem
+      Bestätigungs-Bildschirm darauf hingewiesen, dass die zuerst das übergeordnete
+      Dokument publizieren müssen, da es sich noch nicht in der Live-Area
+      befindet. Um zu sehen, wie das Dokument in der Live-Ansicht aussieht,
+      klicken Sie auf den "Live"-Reiter im Lenya-Menü. Dieser wird ein neues
+      Browser-Fenster bzw. -Tab öffnen, das Ihnen die Seite in der Live-Area
+      zeigt.
+    </p>
+
+    <h2>Zeitsteuerung</h2>
+    
+    <p>
+      Apache Lenya erlaubt es, ein Dokument zu einem spezifischen Zeitpunkt zu
+      veröffentlichen. Wählen Sie dazu den Menüpunkt <em>Arbeitsfluss ->
+      Publizieren</em>. Anstatt jedoch unmittelbar auf "Publizieren" zu klicken,
+      geben Sie zunächst eine Zeit ein, zu der das Dokument veröffentlicht werden
+      soll. Im Reiter "Zeitsteuerung" in der Site-Area erhalten Sie einen Überblick
+      über die anstehenden Aufträge und deren Status. 
+    </p>
+    
+    <h2>Versionierung</h2>
+    
+    <p>
+      Jedes Mal wenn Sie ein Dokument editieren und den Editor verlassen, wird
+      eine neue Revision des Dokumentes angelegt. Alte Revisionen werden
+      aufbewahrt, Sie können sie auf dem Reiter "Revisionen" in der Site-Area
+      betrachten und ggf. das Dokument durch eine ältere Revision ersetzen.
+    </p>
+
+  </body>
+</html>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.