Re: Chaining <xs:import> statements

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