- From: Henry S. Thompson <ht@inf.ed.ac.uk>
- Date: Wed, 23 Jun 2004 15:46:11 +0100
- To: "Delmerico, James" <James.Delmerico@ips-sendero.com>
- Cc: xmlschema-dev@w3.org
Just to explain _why_ the previous answer (import both) is correct,
note that <xs:import> achieves _two_ things:
1) It provides a place for a hint to processors where they can
find schema documents likely to be of use ('schemaLocation'
attribute);
2) It signals to processors that references to components in
particular namespace _from this schema document_ are allowed
('namespace' attribute).
Since the second use is _local_ to the schema document in which it
occurs, it's the one which is at issue in your situation.
ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Wednesday, 23 June 2004 10:46:29 UTC