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

RE: Prefix declarations in inlined schema

From: <paul.downey@bt.com>
Date: Thu, 8 Jun 2006 10:22:55 +0100
Message-ID: <2A7793353757DB4392DF4DFBBC952255E90863@I2KM11-UKBR.domain1.systemhost.net>
To: <hughesj@apache.org>, <www-ws-desc@w3.org>

> "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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:06:58 UTC