Initial values format fixed 91/38691/3
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 24 Apr 2015 13:40:16 +0000 (15:40 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 27 Apr 2015 12:19:07 +0000 (14:19 +0200)
[Issue#] N/A
[Feature/Bug] N/A
[Problem] Wrong occurrence numbers used.
[Cause] N/A
[Solution] Occurrence numbers fixed. Removed whitespaces from ASCII example.

[Verification] xmllint -schema initial_values.xsd example.xml

Change-Id: I78a7cd216a2c412e271e3811a02ec812eadd53ac

doc/example.xml
doc/initial_values.xsd

index cf7ef94..67b73f9 100644 (file)
@@ -24,9 +24,7 @@
     </DER>
   </Cert>
   <Data name="data1">
-    <ASCII>
-      My secret data
-    </ASCII>
+    <ASCII>My secret data</ASCII>
   </Data>
   <Key name="aes1" type="AES">
     <Base64>
index a587beb..69068df 100644 (file)
@@ -3,8 +3,8 @@
        <xsd:element name="InitialValues" type="InitialValuesType"></xsd:element>
 
        <xsd:complexType name="InitialValuesType">
-               <xsd:sequence>
-                       <xsd:choice maxOccurs="unbounded" minOccurs="1">
+               <xsd:sequence maxOccurs="unbounded" minOccurs="1">
+                       <xsd:choice maxOccurs="1" minOccurs="1">
                                <xsd:element name="Data" type="DataType"
                                        maxOccurs="1" minOccurs="1">
                                </xsd:element>