List Info

Thread: Prefix declarations in inlined schema




Prefix declarations in inlined schema
user name
2006-06-07 21:43:46
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/wsd
l20/wsdl20.html?content-type=text/html;%20charset=utf-8#inli
ning-xsd

Thanks,
Jeremy

[1]

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