You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2005/09/29 00:07:31 UTC

svn commit: r292330 - in /cocoon/branches/BRANCH_2_1_X: ./ src/java/org/apache/cocoon/components/source/impl/ src/webapp/WEB-INF/

Author: vgritsenko
Date: Wed Sep 28 15:07:18 2005
New Revision: 292330

URL: http://svn.apache.org/viewcvs?rev=292330&view=rev
Log:
rename create-document: to empty:

Added:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/source/impl/EmptySource.java
      - copied unchanged from r292327, cocoon/trunk/src/java/org/apache/cocoon/components/source/impl/EmptySource.java
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/source/impl/EmptySourceFactory.java
      - copied unchanged from r292327, cocoon/trunk/src/java/org/apache/cocoon/components/source/impl/EmptySourceFactory.java
Removed:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/source/impl/CreateDocumentSource.java
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/source/impl/CreateDocumentSourceFactory.java
Modified:
    cocoon/branches/BRANCH_2_1_X/src/webapp/WEB-INF/cocoon.xconf
    cocoon/branches/BRANCH_2_1_X/status.xml

Modified: cocoon/branches/BRANCH_2_1_X/src/webapp/WEB-INF/cocoon.xconf
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/webapp/WEB-INF/cocoon.xconf?rev=292330&r1=292329&r2=292330&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/webapp/WEB-INF/cocoon.xconf (original)
+++ cocoon/branches/BRANCH_2_1_X/src/webapp/WEB-INF/cocoon.xconf Wed Sep 28 15:07:18 2005
@@ -544,8 +544,8 @@
     <component-instance name="upload" class="org.apache.cocoon.components.source.impl.PartSourceFactory"/>
     <component-instance name="module" class="org.apache.cocoon.components.source.impl.ModuleSourceFactory"/>
     <component-instance name="xmodule" class="org.apache.cocoon.components.source.impl.XModuleSourceFactory"/>
+    <component-instance name="empty" class="org.apache.cocoon.components.source.impl.EmptySourceFactory"/>
 
-    <component-instance name="create-document" class="org.apache.cocoon.components.source.impl.CreateDocumentSourceFactory"/>
     <!--+
         | The "*" protocol handles all uri schemes that are not explicitely
         | specified. This includes all JDK standard protocols.

Modified: cocoon/branches/BRANCH_2_1_X/status.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/status.xml?rev=292330&r1=292329&r2=292330&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/status.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/status.xml Wed Sep 28 15:07:18 2005
@@ -370,8 +370,8 @@
       This means that "cocoon:" URLs are no more rewritten as external http requests.
     </action>
     <action dev="CZ" type="add" fixes-bug="35521" due-to="Mark Lundquist" due-to-email="mlundquist2@comcast.net">
-      Added the create-document source than either generates empty documents or documents containing
-      just a root node.
+      Added the <code>empty:</code> source than either generates empty documents
+      or documents containing just a root node.
     </action>
     <action dev="CZ" type="fix" fixes-bug="35457" due-to="Doug Bennett" due-to-email="dbennett1556@netscape.net">
       Fix NPE in RequestGenerator when request.getHeaderNames() returns null.