W3C home > Mailing lists > Public > public-ws-desc-comments@w3.org > October 2006

RE: Uniqueness of QNames in 'extends' attribute

From: Jonathan Marsh <jonathan@wso2.com>
Date: Tue, 10 Oct 2006 12:28:26 -0700
To: "'Arthur Ryman'" <ryman@ca.ibm.com>, "John Kaputin" <KAPUTIN@uk.ibm.com>
Cc: <public-ws-desc-comments@w3.org>
Message-ID: <002e01c6eca2$4279e660$ffad1bac@DELLICIOUS>
Thanks for your comment.  The WS Description Working Group tracked this
issue as a CR042 [1].

 

The Working Group agreed to add the constraint that the QNames must be
unique, and has been implemented in the latest editor's draft [2].

 

Unless you let us know otherwise by the end of October, we will assume you
agree with the resolution of this issue.

 

[1]  <http://www.w3.org/2002/ws/desc/5/cr-issues/issues.html#CR042>
http://www.w3.org/2002/ws/desc/5/cr-issues/issues.html#CR042 

[2]
http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html#Interfac
e_extends_attribute

 

Jonathan Marsh  -   <http://www.wso2.com> http://www.wso2.com  -
<http://auburnmarshes.spaces.live.com> http://auburnmarshes.spaces.live.com

 

  _____  

From: www-ws-desc-request@w3.org [mailto:www-ws-desc-request@w3.org] On
Behalf Of Arthur Ryman
Sent: Friday, May 19, 2006 6:24 AM
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....

 <http://2.2.2.2/> 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, 10 October 2006 19:28:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:20:32 GMT