minOccurs="0" means can have many?

XMLers,

http://www.w3.org/TR/prov-xml/#term-Activity

says:
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Activity">
  <xs:sequence>
    <xs:element name="startTime" type="xs:dateTime" minOccurs="0"/> 
    <xs:element name="endTime" type="xs:dateTime" minOccurs="0"/> 
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element ref="prov:location"/>
      <xs:element ref="prov:label"/>
      <xs:element ref="prov:type"/>
      <xs:any namespace="##other"/>
    </xs:choice>
  </xs:sequence>
  <xs:attribute ref="prov:id"/>
</xs:complexType>

Does this indicate that I can have multiple startTimes and endTimes?
I think the intent is that there should only be one, but PROV-O had to skip this axiom for RL considerations.

Perhaps add a maxOccurs="1" on both?

Thanks,
Tim

Received on Wednesday, 12 December 2012 21:59:44 UTC