← Prev in month
← Prev in thread
Next in thread →
Next in month →
[regrep] Latest schema files (With Neal's enhancement suggestion)
Attached are latest schema files. They have been modified to allow a
RegistryPackage to compose a RegistryObjectList which can contain any
type of RegistryObject sub-classes as well as ObjectRef elements. This
was in response to a question by Neal. Note that the schema still allows
for an Association based likage between a RegistryPackage and its
memberObjects. This is consistent with how a ClasificationNode hierarchy
may be based on composition or based on linkage through references
between ClassiicationNodes. It is also something that Len and others
have suggested in the past.
Please keep studying the latest schema files for errors. Play with them,
understand them and create instance documents. Thanks for your help.
Below is a change list in case you want to see exactly what was changed:
Modified Files:
query.xsd rim.xsd
Log Message:
Package now allows RegistryObjectList comosition. Created
RegistryObjectListType in rim.xsd and
reused in query.xsd
Index: query.xsd
===================================================================
RCS file: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/schema/query.xsd,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** query.xsd 2001/11/20 18:46:17 1.3
--- query.xsd 2001/11/21 14:07:03 1.4
***************
*** 63,67 ****
</element>
! <element name = "SQLQueryResult" type =
"RegistryObjectQueryResultType"/>
<element name = "FilterQuery">
--- 63,67 ----
</element>
! <element name = "SQLQueryResult" type =
"rim:RegistryObjectListType"/>
<element name = "FilterQuery">
***************
*** 240,265 ****
</element>
! <complexType name = "RegistryObjectQueryResultType">
! <choice minOccurs = "0" maxOccurs = "unbounded">
! <element ref = "rim:ObjectRef"/>
! <element ref = "rim:Association"/>
! <element ref = "rim:AuditableEvent"/>
! <element ref = "rim:Classification"/>
! <element ref = "rim:ClassificationNode"/>
! <element ref = "rim:ClassificationScheme"/>
! <element ref = "rim:ExternalIdentifier"/>
! <element ref = "rim:ExternalLink"/>
! <element ref = "rim:ExtrinsicObject"/>
! <element ref = "rim:Organization"/>
! <element ref = "rim:RegistryEntry"/>
! <element ref = "rim:RegistryObject"/>
! <element ref = "rim:RegistryPackage"/>
! <element ref = "rim:Service"/>
! <element ref = "rim:ServiceBinding"/>
! <element ref = "rim:SpecificationLink"/>
! <element ref = "rim:User"/>
! </choice>
! </complexType>
! <element name = "RegistryObjectQueryResult" type =
"RegistryObjectQueryResultType"/>
--- 240,244 ----
</element>
! <element name = "RegistryObjectQueryResult" type =
"rim:RegistryObjectListType"/>
Index: rim.xsd
===================================================================
RCS file: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/schema/rim.xsd,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** rim.xsd 2001/11/21 10:43:45 1.13
--- rim.xsd 2001/11/21 14:07:03 1.14
***************
*** 335,339 ****
</annotation>
<complexContent>
! <extension base = "tns:RegistryEntryType"/>
</complexContent>
</complexType>
--- 335,343 ----
</annotation>
<complexContent>
! <extension base = "tns:RegistryEntryType">
! <sequence>
! <element ref =
"tns:RegistryObjectList" minOccurs="0"
maxOccurs="1"/>
! </sequence>
! </extension>
</complexContent>
</complexType>
***************
*** 432,435 ****
--- 436,463 ----
</complexType>
</element>
+
+ <complexType name = "RegistryObjectListType">
+ <choice minOccurs = "0" maxOccurs = "unbounded">
+ <element ref = "tns:ObjectRef"/>
+ <element ref = "tns:Association"/>
+ <element ref = "tns:AuditableEvent"/>
+ <element ref = "tns:Classification"/>
+ <element ref = "tns:ClassificationNode"/>
+ <element ref = "tns:ClassificationScheme"/>
+ <element ref = "tns:ExternalIdentifier"/>
+ <element ref = "tns:ExternalLink"/>
+ <element ref = "tns:ExtrinsicObject"/>
+ <element ref = "tns:Organization"/>
+ <element ref = "tns:RegistryEntry"/>
+ <element ref = "tns:RegistryObject"/>
+ <element ref = "tns:RegistryPackage"/>
+ <element ref = "tns:Service"/>
+ <element ref = "tns:ServiceBinding"/>
+ <element ref = "tns:SpecificationLink"/>
+ <element ref = "tns:User"/>
+ </choice>
+ </complexType>
+ <element name = "RegistryObjectList" type =
"RegistryObjectListType"/>
+
</schema>
--
Regards,
Farrukh
← Prev in month
← Prev in thread
Next in thread →
Next in month →