Branch 'libkolabxml-1.0' - schemas/kolabformat.xsd

Christian Mollekopf mollekopf at kolabsys.com
Thu Nov 13 11:33:34 CET 2014


 schemas/kolabformat.xsd |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

New commits:
commit ffcead8c8f53d452093b256acbea8b3fb974dca4
Author: Christian Mollekopf <mollekopf at kolabsys.com>
Date:   Thu Nov 13 11:33:29 2014 +0100

    Make version attribute not fixed.
    
    Instead of a fixed value, we only use a default value.
    Added tests to make sure that the 3.0dev is a valid version attribute.
    
    KOLAB: #3896
    
    (Partial cherry-pick to avoid conflicts)

diff --git a/schemas/kolabformat.xsd b/schemas/kolabformat.xsd
index a8a4b62..84216e8 100644
--- a/schemas/kolabformat.xsd
+++ b/schemas/kolabformat.xsd
@@ -4,14 +4,10 @@
     xmlns="http://kolab.org"
     elementFormDefault="qualified">
 
+  <xs:complexType name="KolabBase">
+       <xs:attribute name="version" type="xs:string" default="3.0" />
+  </xs:complexType>
 
-    
-    <xs:complexType name="KolabBase">
-        <xs:attribute name="version" type="xs:string" fixed="3.0" />
-    </xs:complexType>
-
-
-  
   <xs:complexType name="attachmentPropType">
     <xs:sequence> 
       <xs:element name="parameters">




More information about the commits mailing list