Re: Using xml:lang in Schemas

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
write

  . . .
  <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
http://www.w3.org/2001/xml.xsd).

ht

[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