W3C home > Mailing lists > Public > www-ws-desc@w3.org > May 2006

RE: Uniqueness of QNames in 'extends' attribute

From: Arthur Ryman <ryman@ca.ibm.com>
Date: Mon, 29 May 2006 23:23:58 -0400
To: "Rogers, Tony" <Tony.Rogers@ca.com>
Cc: "John Kaputin" <KAPUTIN@uk.ibm.com>, woden-dev@ws.apache.org, www-ws-desc@w3.org, www-ws-desc-request@w3.org
Message-ID: <OFECC1D73B.AE933225-ON8525717E.00101775-8525717E.0012B19D@ca.ibm.com>
Tony,

In general, I try to make positive statements in specs. They tend to be 
more explicit.

Arthur Ryman,
IBM Software Group, Rational Division

blog: http://ryman.eclipsedevelopersjournal.com/
phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: 4169395063@fido.ca



"Rogers, Tony" <Tony.Rogers@ca.com> 
Sent by: www-ws-desc-request@w3.org
05/19/2006 04:58 PM

To
Arthur Ryman/Toronto/IBM@IBMCA
cc
"John Kaputin" <KAPUTIN@uk.ibm.com>, <woden-dev@ws.apache.org>, 
<www-ws-desc@w3.org>
Subject
RE: Uniqueness of QNames in 'extends' attribute






I agree with the sentiment, but I'm not altogether happy with the 
phrasing. How about "The list of QNames in an extends attribute MUST NOT 
contain duplicates."?
 
Tony Rogers
CA, Inc
Senior Architect, Development
tony.rogers@ca.com
co-chair UDDI TC at OASIS
co-chair WS-Desc WG at W3C

From: www-ws-desc-request@w3.org on behalf of Arthur Ryman
Sent: Fri 19-May-06 23:23
To: woden-dev@ws.apache.org
Cc: John Kaputin; woden-dev@ws.apache.org; www-ws-desc@w3.org
Subject: Re: Uniqueness of QNames in 'extends' attribute


John, 

Thx for the comment. I think that we should require uniqueness of 
interfaces at the XML infoset level since it makes no sense to extend from 
an interface twice. Therefore, a duplicate would be a programming error 
and raising it would be helpful to authors who may have forgotten to edit 
a QName after a copy and paste: 

"Each QName in the extends attribute information item MUST be unique." 

Arthur Ryman,
IBM Software Group, Rational Division

blog: http://ryman.eclipsedevelopersjournal.com/
phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: 4169395063@fido.ca 


"John Kaputin (gmail)" <jakaputin@gmail.com> 
05/18/2006 12:39 PM 

Please respond to
woden-dev@ws.apache.org



To
www-ws-desc@w3.org, "John Kaputin" <KAPUTIN@uk.ibm.com> 
cc
woden-dev@ws.apache.org 
Subject
Uniqueness of QNames in 'extends' attribute








When I implemented interface extension in Apache Woden recently I noticed 
that the WSDL 2.0 spec does not say that the QNames in the 'extends' 
attribute of the <interface> element have to be unique, although it seems 
sensible that they should be. Anyway, my implementation just checks for 
duplicate QNames before resolving them to Interface components. 

You may want to add a uniqueness constraint to this section....

2.2.2.2 extends attribute information item 
The extends attribute information item lists the interfaces that this 
interface derives from. 
The extends attribute information item has the following Infoset 
properties: 
A [local name] of extends 
A [namespace name] which has no value
The type of the extends attribute information item is a 
whitespace-separated list of xs:QName. 

regards,
John Kaputin 
Received on Tuesday, 30 May 2006 03:24:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:40 GMT