OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

regrep message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: rim.xsd missing serviceBinding attribute in SpecificationLinkType



In my final fine tooth comb review I found one more bug in rim.xsd.
The definition of SpecificationLinkType is missing a serviceBinding 
attribute to reference its parent ServiceBinding object. This is 
inconsistent with the pattern for composed objects type definition where 
there is a ref attribute to the parent object. For example 
ServiceBindingType has a ref atributre name service to ref its parent 
Service.

Unless we fix this, a SpecificationLink can only be represented as a 
nested element within a ServiceBinding element and does not alow 
updating a SpecificationLink without updating its parent as well.

The fix is simple and zero risk. Just add the folowing line in the 
attribute definition for SpecificationLink:

<attribute name = "serviceBinding" use = "optional" type = "anyURI"/>

For better context see attached file in universal diff (diff -u) format.

Any objections to making this fix before publishing the final 2.5 schema?

-- 
Farrukh


Index: misc/schema/v3/rim.xsd
===================================================================
RCS file: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/schema/v3/rim.xsd,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- misc/schema/v3/rim.xsd	9 Apr 2003 16:52:47 -0000	1.23
+++ misc/schema/v3/rim.xsd	23 Apr 2003 13:37:00 -0000	1.24
@@ -1,6 +1,6 @@
 <?xml version = "1.0" encoding = "UTF-8"?>
 
-<!--$Revision: 1.23 $-->
+<!--$Revision: 1.24 $-->
 <schema xmlns = "http://www.w3.org/2001/XMLSchema"
         xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
         targetNamespace = "urn:oasis:names:tc:ebxml-regrep:rim:xsd:2.5"
@@ -470,6 +470,7 @@
 					<element ref = "tns:UsageDescription" minOccurs = "0" maxOccurs="1" />
 					<element ref = "tns:UsageParameter" minOccurs = "0" maxOccurs="unbounded" />
 				</sequence>
+				<attribute name = "serviceBinding" use = "optional" type = "anyURI"/>
 				<attribute name = "specificationObject" use="required" type = "anyURI"/>
 			</extension>
 		</complexContent>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]