Print

Print


Yes, in the process of making the few minor changes for version 1.1, some
redundancies were removed as well: minOccurs="1", maxOccurs="1" and
type="string" are all redundant declaration and many have been removed.  The
remaining string declarations will be removed before this is finalized.

--Ray

----- Original Message ----- 
From: "chris vicary" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Tuesday, September 06, 2005 12:47 PM
Subject: Re: [PIG] Removal of Min and Max Occurences


> 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
> >