You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gk...@apache.org on 2007/05/21 20:01:28 UTC

svn commit: r540213 - /cocoon/trunk/core/cocoon-configuration/cocoon-spring-configurator/src/main/resources/org/apache/cocoon/spring/configurator/schema/cocoon-configurator-1.0.1.xsd

Author: gkossakowski
Date: Mon May 21 11:01:27 2007
New Revision: 540213

URL: http://svn.apache.org/viewvc?view=rev&rev=540213
Log:
Providing documentation as annotation instead of comments that are useless for someone not looking at source code of schema.

Modified:
    cocoon/trunk/core/cocoon-configuration/cocoon-spring-configurator/src/main/resources/org/apache/cocoon/spring/configurator/schema/cocoon-configurator-1.0.1.xsd

Modified: cocoon/trunk/core/cocoon-configuration/cocoon-spring-configurator/src/main/resources/org/apache/cocoon/spring/configurator/schema/cocoon-configurator-1.0.1.xsd
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-configuration/cocoon-spring-configurator/src/main/resources/org/apache/cocoon/spring/configurator/schema/cocoon-configurator-1.0.1.xsd?view=diff&rev=540213&r1=540212&r2=540213
==============================================================================
--- cocoon/trunk/core/cocoon-configuration/cocoon-spring-configurator/src/main/resources/org/apache/cocoon/spring/configurator/schema/cocoon-configurator-1.0.1.xsd (original)
+++ cocoon/trunk/core/cocoon-configuration/cocoon-spring-configurator/src/main/resources/org/apache/cocoon/spring/configurator/schema/cocoon-configurator-1.0.1.xsd Mon May 21 11:01:27 2007
@@ -70,13 +70,19 @@
       <xsd:complexType>
         <xsd:attribute name="name" type="xsd:string" use="optional"/>
         <xsd:attribute name="id" type="xsd:ID" use="optional"/>
-    	<xsd:attribute name="type" type="xsd:string" use="required"/>
-    	<xsd:attribute name="check-parent" type="xsd:boolean" use="optional" default="true"/>
-    	<xsd:attribute name="strip-prefix" type="xsd:boolean" use="optional" default="true"/>
-        <!-- beans should have all these properties (comma separated list) -->
-    	<xsd:attribute name="has-properties" type="xsd:string" use="optional" default=""/>
-        <!-- use value of this bean property to key the map instead of bean id -->
-        <xsd:attribute name="key-property" type="xsd:string" use="optional" default=""/>
+    	  <xsd:attribute name="type" type="xsd:string" use="required"/>
+    	  <xsd:attribute name="check-parent" type="xsd:boolean" use="optional" default="true"/>
+    	  <xsd:attribute name="strip-prefix" type="xsd:boolean" use="optional" default="true"/>
+        <xsd:attribute name="has-properties" type="xsd:string" use="optional" default="">
+          <xsd:annotation>
+            <xsd:documentation>beans should have all these properties (comma separated list)</xsd:documentation>
+          </xsd:annotation>
+        </xsd:attribute>
+        <xsd:attribute name="key-property" type="xsd:string" use="optional" default="">
+          <xsd:annotation>
+            <xsd:documentation>use value of this bean property to key the map instead of bean id</xsd:documentation>
+          </xsd:annotation>
+        </xsd:attribute>
       </xsd:complexType>
     </xsd:element>
 </xsd:schema>