cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1196141 - /cocoon/cocoon3/trunk/cocoon-cli/src/main/resources/org/apache/cocoon/cli/cocoon-cli-1.0.xsd
Date Tue, 01 Nov 2011 17:08:44 GMT
Author: simonetripodi
Date: Tue Nov  1 17:08:43 2011
New Revision: 1196141

URL: http://svn.apache.org/viewvc?rev=1196141&view=rev
Log:
commons-beanutils supports a wide set of boolean flags for boolean converter, so increased
the supported attributes values.
I just wonder if there is a way to define the attribute type once and reuse

Modified:
    cocoon/cocoon3/trunk/cocoon-cli/src/main/resources/org/apache/cocoon/cli/cocoon-cli-1.0.xsd

Modified: cocoon/cocoon3/trunk/cocoon-cli/src/main/resources/org/apache/cocoon/cli/cocoon-cli-1.0.xsd
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-cli/src/main/resources/org/apache/cocoon/cli/cocoon-cli-1.0.xsd?rev=1196141&r1=1196140&r2=1196141&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-cli/src/main/resources/org/apache/cocoon/cli/cocoon-cli-1.0.xsd
(original)
+++ cocoon/cocoon3/trunk/cocoon-cli/src/main/resources/org/apache/cocoon/cli/cocoon-cli-1.0.xsd
Tue Nov  1 17:08:43 2011
@@ -106,8 +106,14 @@
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="yes"/>
             <xsd:enumeration value="true"/>
+            <xsd:enumeration value="y"/>
+            <xsd:enumeration value="on"/>
+            <xsd:enumeration value="1"/>
+            <xsd:enumeration value="false"/>
             <xsd:enumeration value="no"/>
+            <xsd:enumeration value="n"/>
             <xsd:enumeration value="off"/>
+            <xsd:enumeration value="0"/>
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:attribute>
@@ -118,8 +124,14 @@
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="yes"/>
             <xsd:enumeration value="true"/>
+            <xsd:enumeration value="y"/>
+            <xsd:enumeration value="on"/>
+            <xsd:enumeration value="1"/>
+            <xsd:enumeration value="false"/>
             <xsd:enumeration value="no"/>
+            <xsd:enumeration value="n"/>
             <xsd:enumeration value="off"/>
+            <xsd:enumeration value="0"/>
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:attribute>
@@ -128,8 +140,14 @@
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="yes"/>
             <xsd:enumeration value="true"/>
+            <xsd:enumeration value="y"/>
+            <xsd:enumeration value="on"/>
+            <xsd:enumeration value="1"/>
+            <xsd:enumeration value="false"/>
             <xsd:enumeration value="no"/>
+            <xsd:enumeration value="n"/>
             <xsd:enumeration value="off"/>
+            <xsd:enumeration value="0"/>
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:attribute>



Mime
View raw message