Thanks - can you bottom-line
that please?
Joe Chiusano
Hi,
On Mon, 2005-09-05 at 10:18 -0400, Chiusano Joseph
wrote:
> From a quick glance, in your "imported schema", element
"globalElement
> is not in the "urn:foo" namespace because it does not
have a namespace
> prefix, and you have not specified a default namespace
for that
> schema. If you add a default namespace declaration to the
imported
> schema that makes the "urn:foo" namespace your default
namespace, it
> should work.
The target-namespace of a top-level
element declaration is dependent
on the targetNamespace attribute of the
parent <schema> element only;
i.e. the value of the "name" attribute is
not a QName. On the other
hand, references to schema components _are_ QNames,
so namespace
declarations are taken into account when
referencing.
Regards,
Kasimier