W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2006

using types from an included file in a different namespace

From: Antoli, Leo <Leo.Antoli@Misys.com>
Date: Fri, 27 Oct 2006 16:19:30 +0100
Message-ID: <8ADC468FAD0DD811ABE500065BFE3CDA0568F327@pat.slough.midas-kapiti.com>
To: xmlschema-dev@w3.org

Hi all,
Maybe the subject is not very clear but I'll try to explain my question.
I have a schema file A.xsd including another file B.xsd (so in the same ns
as A.xsd), and B.xsd importing F.xsd (so in a differente ns). Can I use
types/elements defined in F.xsd from A.xsd?

It looks like XML Spy allows this, but Saxon produces this error:
"Cannot reference schema components in namespace http://myns as it has not
been imported".

What behaviour is correct?

Thanks you.

Received on Friday, 27 October 2006 15:20:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:11 UTC