Next in thread →
Next in month →
Re: [regrep] Final Registry schema files
Neal,
Thanks for looking at the schema and finding bugs.
Team please pay special attention to the cardinality specifiers (minOccurs and
maxOccurs). This can be a common cut and paste error.
Please see additional comments inline below:
"Smith, Neal L. (NLSM)" wrote:
> Comments on rim.xsd
>
> * RegistryPackageType - seems like this should have one or more
> RegistryEntry. I think was also an error in v1.0.
This is not a bug since Package to RegistryObject is only done via Association.
See example below:
<rim:RegistryPackage id = "acmePackage2" >
<Name xmlns = "">
<LocalizedString value = "RegistryPackage #2"/>
</Name>
<Description xmlns = "">
<LocalizedString value = "ACME's package #2"/>
</Description>
</rim:RegistryPackage>
<rim:ObjectRef id = "urn:uuid:a2345678-1234-1234-123456789012"/>
<rim:Association id = "acmePackage2-alreadySubmittedCPP-Assoc"
associationType = "Packages" sourceObject = "acmePackage2" targetObject =
"urn:uuid:a2345678-1234-1234-123456789012"/>
However, I can see how it would be desirable for schema to allow containment
based
option as in:
<Package>
<RegistryObjectList>
....
<RegistryObjectList>
</Package>
I would like the team to consider the change you suggest as an enhancement.
Lets hear a few opinions
>
> * Classification node can contain 0 or 1 ClasisifcationNode.
> Shouldn't this be "one or many"?
Indeed. Bug has been fixed to have maxOccurs unbounded.
>
> * ExtrinsicObjectType extends RegistryEntry. Shouldn't this be
> "RegistryEntryType"?
Indeed. Bug has been fixed as you suggested.
>
>
> Comments on rs.xsd
>
> Please add the updateObjects changes
> * Define the element UpdateObjectsRequest as containing a
> RegistryObjectList (similar to SubmitObjectsRequest)
> * Include UpdateObjectsRequest in RootEelement
Excellent catch. We missed that change.
>
>
> Neal Smith
> ChevronTexaco
>
> > -----Original Message-----
> > From: Farrukh Najmi [SMTP:]
> > Sent: Tuesday, November 20, 2001 10:49 AM
> > To: Anne Fischer
> > Cc:
> > Subject: [regrep] Final Registry schema files
> >
> > Anne,
> >
> > There has been one more update since I sent you the files. All 3 files
> > were effected by the one bug fix. Sorry if this meant rework.
> >
> > I am copying team so we can have all of us reviewing the schema for
> > correctness. Team, please spend time reviewing this since it is a labour
> > intensive process and is error prone. Thansk in advance for your help.
> >
> > --
> > Regards,
> > Farrukh
> > << File: query.xsd >> << File: rim.xsd >> << File: rs.xsd >> << File:
> > Card for Farrukh Najmi >>
--
Regards,
Farrukh
Next in thread →
Next in month →