List Info

Thread: service and binding name shown as QNames in example - should be NCNames




service and binding name shown as QNames in example - should be NCNames
user name
2006-06-05 09:51:34
The XML representation of the service component in part 1
[1]
describes the service name attribute as being of type
xs:NCName.
However, example WSDL elsewhere in part 1 [2] has a service
element
as:

  <service name="ns1:BankService"
           interface="tns:Bank">

i.e. with name attribute as a QName. I believe the service
name should
be simply "BankService" without qualification.

The binding name in the same example suffers a similar
problem.

[1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/w
sdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#Se
rvice_XMLRep
[2] http://dev.w3.org/cvsweb/~check
out~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;
%20charset=utf-8#Feature_composition_model_example

Many thanks,
Jeremy


service and binding name shown as QNames in example - should be NCNames
user name
2006-06-05 17:37:21
Aha.  Yes, the example is incorrect, for binding, service,
and interface as well.  This is the feature composition
example.  Checking Core, Adjuncts, and the Primer (searching
for name= and visual-grepping for qualified names) turns up
no other instances of the problem.

Suggest that this be opened as editorial against CR, and
fixed as (implicitly) recommended; drop the prefix from the
name attribute for the three places where it is incorrectly
inserted.

Amy!
On Mon, 5 Jun 2006 10:51:34 +0100
"Jeremy Hughes" <hughesjapache.org> wrote:

>
>The XML representation of the service component in part
1 [1]
>describes the service name attribute as being of type
xs:NCName.
>However, example WSDL elsewhere in part 1 [2] has a
service element
>as:
>
>  <service name="ns1:BankService"
>           interface="tns:Bank">
>
>i.e. with name attribute as a QName. I believe the
service name should
>be simply "BankService" without
qualification.
>
>The binding name in the same example suffers a similar
problem.
>
>[1]
>http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/w
sdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#Se
rvice_XMLRep
>[2]
>http://dev.w3.org/cvsweb/~check
out~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;
%20charset=utf-8#Feature_composition_model_example
>
>Many thanks,
>Jeremy
>
>


-- 
Amelia A. Lewis
Senior Architect
TIBCO/Extensibility, Inc.
alewistibco.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )