W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2002

Question about xs:import

From: <Ryan.Barr@ejgallo.com>
Date: Mon, 23 Sep 2002 21:00:20 -0400 (EDT)
Message-ID: <B5591F881291D61190A70002A5FBE8CCA612AA@MODNTES006.ejgallo.com>
To: xmlschema-dev@w3.org

I have a question regarding the usage of the xs:import tag and namespaces.
Specifically I want to import two documents into one namespace, here is an

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:oa="http://www.openapplications.org/oagis"
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
	<xs:import namespace="http://www.openapplications.org/oagis"
	<xs:import namespace="http://www.openapplications.org/oagis"
	<xs:include schemaLocation="http://xml/Nouns/Personnel.xsd"/>

My question is simply this, is importing the files OAGIS/../Personnel.xsd
and OAGIS/../Get.xsd into the http://www.openapplications.org/oagis
namespace a violation of the spec?  It doesn't seem to be, if anyone has a
reference in the spec of were it is stated that this is allowed that would
be great.  Thanks

Received on Tuesday, 24 September 2002 03:09:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:05 UTC