- From: <Ryan.Barr@ejgallo.com>
- Date: Mon, 23 Sep 2002 21:00:20 -0400 (EDT)
- 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 example: <?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" attributeFormDefault="unqualified"> <xs:import namespace="http://www.openapplications.org/oagis" schemaLocation="http://xml/OAGIS/Resources/Nouns/Personnel.xsd"/> <xs:import namespace="http://www.openapplications.org/oagis" schemaLocation="http://xml/OAGIS/Resources/Verbs/Get.xsd"/> <xs:include schemaLocation="http://xml/Nouns/Personnel.xsd"/> </xs:schema> 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 Ryan
Received on Tuesday, 24 September 2002 03:09:21 UTC