RE: Prefix declarations in inlined schema

> "It may be viewed as simply cutting and pasting an existing schema
> document to a location inside the types element information item."

Hmm .. I guess the "cut and paste" analogy /might/ lead one
to think one can perform the reverse operation.

> Is it necessary to respecify namespace declarations already specified
> in the enclosing WSDL or do the default scoping rules apply?

It's an interesting notion that a processor could rip out an inlined
schema and preserve all the XML context derived from the WSDL document,
namespace prefixes, entities, character set encoding, etc and there is 
nothing to prevent a WSDL author from constructing their WSDL documents 
to work in that way.

However my experience is that WSDL 1.1 processors manage to resolve 
namespace prefixes declared on the wsdl:definitions and wsdl:types 
elements and many WSDL documents declare all their namespace prefixes 
on the document node.

I see no reason why we should require WSDL 2.0 authors to treat 
embedded schemas as potentially separate documents.

Paul

Received on Thursday, 8 June 2006 09:23:12 UTC