- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 11 Jun 2001 10:31:16 +0100
- To: Ian Stokes-Rees <ijs@decisionsoft.com>
- Cc: xmlschema-dev@w3.org
Ian Stokes-Rees <ijs@decisionsoft.com> writes: > If I have two schema documents libA.xsd and libB.xsd both in the foo > namespace, and I am creating a new schema document in the bar namespace > which references types in libA and libB, is it legal to have two > "import" elements as follows (excuse the shorthand XSDL): > > <schema targetNamespace="http://bar" xmlns:foo="http://foo" > > > <import namespace="http://foo" schemaLocation="libA.xsd"/> > <import namespace="http://foo" schemaLocation="libB.xsd"/> > > ... > > </schema> It's allowed. I guess I'd recommend building a small schema doc't for http://foo containing two <include>s, and <import> that, but it's a fine point. ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2001, part-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/
Received on Monday, 11 June 2001 05:31:19 UTC