W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2000

Re: Namespace qualified attributes?

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 11 Oct 2000 22:09:44 +0100
To: Norman Walsh <ndw@nwalsh.com>
Cc: xmlschema-dev@w3.org
Message-ID: <f5b1yxn9jaf.fsf@cogsci.ed.ac.uk>
To elaborate slightly, the type of all 'name' attributes in XML Schema 
is NCName.  So you can't _ever_ say

<xs:... name="...:..." ...>...</...>

Whenever you define or declare anything, you use a simple name, and
that name is define _in the target namespace_.  Hence Eric's correct
observation that you need (at least) one schema document per namespace.

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 Wednesday, 11 October 2000 17:09:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:47 UTC