Removed minOccurs="1" & maxOccurs="1" for Bundle and NamedBundle since default.
authorhhua
Wed, 12 Sep 2012 23:48:00 -0700
changeset 4465 31b59066eb69
parent 4464 7009af43e1aa
child 4466 b52d3dd80c48
Removed minOccurs="1" & maxOccurs="1" for Bundle and NamedBundle since default.
per XML Schema Part 0: Primer: 2.2.1 Occurrence Constraints.
http://www.w3.org/TR/2001/REC-xmlschema-0-20010502/#OccurrenceConstraints
"The default value for both the minOccurs and the maxOccurs attributes is 1."
xml/schema/prov.xsd
--- a/xml/schema/prov.xsd	Fri Sep 14 08:54:29 2012 -0400
+++ b/xml/schema/prov.xsd	Wed Sep 12 23:48:00 2012 -0700
@@ -451,14 +451,14 @@
   
   <xs:complexType name="Bundle">
     <xs:sequence>
-      <xs:element ref="prov:records"  minOccurs="1" maxOccurs="1"/>
+      <xs:element ref="prov:records"/>
       <xs:element name="bundle" type="prov:NamedBundle" minOccurs="0" maxOccurs="unbounded"/>
     </xs:sequence>
   </xs:complexType>
 
   <xs:complexType name="NamedBundle">
     <xs:sequence>
-      <xs:element ref="prov:records"  minOccurs="1" maxOccurs="1"/>
+      <xs:element ref="prov:records"/>
     </xs:sequence>
     <xs:attribute ref="prov:id"/>
   </xs:complexType>