summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2014-11-13 10:33:29 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2014-11-13 10:33:29 (GMT)
commitffcead8c8f53d452093b256acbea8b3fb974dca4 (patch)
tree8d66e2fb0c9e93e7e4238f4aa2bb5f620943e8ec
parent838310a2eb15123651feca9fd3f86ed56e6b265a (diff)
downloadlibkolabxml-ffcead8c8f53d452093b256acbea8b3fb974dca4.tar.gz
Make version attribute not fixed.libkolabxml-1.0
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)
-rw-r--r--schemas/kolabformat.xsd10
1 files changed, 3 insertions, 7 deletions
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">