OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Namespaces, Architectural Forms & XML Schemas

[ Lists Home | Date Index | Thread Index ]
  • From: ht@cogsci.ed.ac.uk (Henry S. Thompson)
  • To: Peter Jones <peterj@wrox.com>
  • Date: Wed, 29 Nov 2000 10:07:23 +0000

Peter Jones <peterj@wrox.com> writes:

> Can I just ask because I haven't studied this in detail yet, wrt XML
> Schemas, whether it is possible to have a single element/attribute type
> represent itself as being within multiple namespaces simultaneously in one
> conforming document instance [...]?

No.  Your choices are to declare an element or attribute in a
specified namespace (the 'target namespace' of the schema document
containing the declaration), or to declare it in no namespace.

The latter option does allow you to 'repurpose' the declaration by
including it in various schema documents for various specified
namespaces, but it is never in more than one namespace at a time.

  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/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS