On 5/31/06, Graham Turrell <[EMAIL PROTECTED]> wrote:
  <binding name="ns1:BankSOAPBinding">
  ....
  </binding>
The Binding component in the WSDL spec defines the name property as a
QName. The XML representation is defined as an NCName. Which I
interpret to mean that the namespace of the QName is always the
targetNamespace.

It turns out that Woden DOMWSDLParser assumes the name attribute is a
well formed NCName and just passes its value [Attr.getValue()] into
the localpart param of the QName ctor.

So I think we need to fix Woden to report an error at this point.

While looking at this I notice that the Woden Binding interface correctly has a

public QName getName();

method. However, BindingElement also has a method with this same
signature. Surely it should have a signature like this in
BindingElement:

public NCName getName();

Any one else like to comment?

Cheers,
Jeremy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to