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

Re: Using xml:lang in Schemas

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 20 Jun 2002 08:30:34 +0100
To: Jeni Tennison <jeni@jenitennison.com>
Cc: Danny Vint <dvint@mindspring.com>, xmlschema-dev@w3.org
Message-ID: <f5bptymbe5h.fsf@cogsci.ed.ac.uk>

Just to amplify one aspect of Jeni's remarks -- the schemadoc for
schemas imports xml and refs xml:lang to allow xml:lang to appear on
e.g. xs:documentation elements.  So in _your_ schema docs, you can

  . . .
  <xs:documentation xml:lang="IT">porta del'inferno</xs:documentation>
  . . .

But that doesn't mean the xml _schema_ is available inside _your_
schema docs -- if you want to allow xml:lang in your instance
documents, you need to ref the declaration of xml:lang in your schema, 
which in turn means you need to import the xml schema doc (from


[Spot the obscure World Cup reference in the above message and win a
non-cash non-prize :-]
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, 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/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Thursday, 20 June 2002 03:30:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:57 UTC