W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2001

Re: INCLUDE/ IMPORT vs xmlns

From: Martin Gudgin <marting@develop.com>
Date: Tue, 3 Jul 2001 11:21:32 +0100
Message-ID: <003901c103a9$f0288bf0$0300a8c0@greyarea>
To: "Andrei Astahov" <AAstahov@hkw.co.uk>, <www-xml-schema-comments@w3.org>
All a namespace declaration does is allow you to use a particular prefix in
an XML document and have the prefix be bound to a particular namespace. It
has no effect in terms of which schema components from which namespace are
actually available to a schema processor.

In contrast the include and import constructs in XML Schema bring in schema
components such as element declarations, attribute declarations and type
definitions making them available in the including or importing schema.

Martin Gudgin

----- Original Message -----
From: "Andrei Astahov" <AAstahov@hkw.co.uk>
To: <www-xml-schema-comments@w3.org>
Sent: Tuesday, July 03, 2001 9:20 AM
Subject: INCLUDE/ IMPORT vs xmlns

> What are  the advantages of using INCLUDE or IMPORT elements while the
> seemingly can be acheived by using xmlns attributes?
Received on Tuesday, 3 July 2001 06:23:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:53 UTC