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

Prefix declarations in inlined schema

From: Jeremy Hughes <hughesj@apache.org>
Date: Wed, 7 Jun 2006 22:43:46 +0100
Message-ID: <adbf02b10606071443x67f3ae32mcf4f99a7fdd999e6@mail.gmail.com>
To: www-ws-desc@w3.org

Hi, section 3.1.2 of part 1 [1] says about inlining XML schema:

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

Doing this could mean a namespace declaration, declared in the
enclosing <description> is redeclared in the <schema> element. Of
course, this won't be a problem - I'm more interested in the case
where the inlined schema relies on the enclosing <description>'s
namespace declarations. Meaning the <schema> uses prefixes only
declared in the enclosing <description> element. So ...

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

[1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#inlining-xsd

Thanks,
Jeremy
Received on Wednesday, 7 June 2006 21:44:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:40 GMT