W3C home > Mailing lists > Public > www-international@w3.org > October to December 2005

Re: New article published: xml:lang in XML document schemas

From: Sebastian Rahtz <sebastian.rahtz@oucs.ox.ac.uk>
Date: Fri, 25 Nov 2005 09:41:57 +0000
Message-ID: <4386DC65.9010902@oucs.ox.ac.uk>
To: Felix Sasaki <fsasaki@w3.org>
CC: Richard Ishida <ishida@w3.org>, www-international@w3.org

Felix Sasaki wrote:

>  xml:lang is  defined in terms of RFC 3066, which encompasses two 
> language subtags: for  language and for country codes. Suppose you 
> want to put additional  constraints on the value of xml:lang, so that 
> it allows only for a subset  of rfc 3066 values (e. g. only language 
> codes, but not country codes).  

It seems to me that you can't have it both ways. Either xml:lang is a 
attribute which is tied to RFC 3066 (or its sucessors), or its not. What 
if your schema
defined xml:lang to accept only integers? How do you manage the 

And what about xml:id? are we allowed to redefine the datatype of that??

Sebastian Rahtz
Received on Friday, 25 November 2005 09:42:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:40:51 UTC