Print

Print


This change is OK, the 2 statements are semantically identical. In
XMLSchema, the default for minOccurs and maxOccurs is 1, meaning that
the element is mandatory and non-repeatable in the absence of occurrence
constraints.

Chris 

On Tue, 2005-09-06 at 16:08 +0100, Adam Rusbridge wrote:
> Hi,
> 
> I'm looking at the v1.1 schemas you have just released, and have noticed
> that you have removed restrictions on the usage of elements.
> 
> For example,
> 
> <xs:element name="objectIdentifierType" minOccurs="1" maxOccurs="1"
> type="xs:string">
> 
> has become
> 
> <xs:element name="objectIdentifierType" type="xs:string">
> 
> As the 'repeatability' and 'obligation' of these elements are specified
> in the data dictionary, it seemed to make sense that this also be
> included in the schema itself. Can you please indicate why this was removed?
> 
> Best regards,
> Adam
>