W3C home > Mailing lists > Public > xml-editor@w3.org > July to September 2002

RE: [xml-dev] XML Core WG needs input on xml:lang=""

From: Manos Batsis <m.batsis@bsnet.gr>
Date: Fri, 2 Aug 2002 16:50:08 +0300
Message-ID: <E657D8576967CF448D6AF22CB42DD2690FF2ED@ermhs.Athens.BrokerSystems.gr>
To: "John Cowan" <jcowan@reutershealth.com>
Cc: <xml-editor@w3.org>, <xml-dev@lists.xml.org>



> -----Original Message-----
> From: John Cowan [mailto:jcowan@reutershealth.com] 
> Sent: Friday, August 02, 2002 3:37 PM
> To: xml-dev@lists.xml.org
> Cc: xml-editor@w3.org
> Subject: [xml-dev] XML Core WG needs input on xml:lang=""
> 
> 
> The W3C XML Core WG has decided to allow the value of xml:lang, the
> attribute for indicating the natural language of character data, to
> be an empty string in order to allow the explicit expression of
> language-less text inside language-marked text.  Here's an example:
> 
> <p lang="en">
>   Here is an example of some C code:
>   <pre xml:lang="">
>      #include "stdio.h"
>      main() {printf("Hello world!"};}
>   </pre>
> </p>


Nice. <flamebait>How about using URIs for languages e.g.
http://www.foo.org/bla/pl/java or MIME types...</flamebait>

> Disclosure: I personally favor issuing an erratum.

I cannot agree; although it seems minor enough, it does enclose an new
feature and pretty soon people will want to do something like the
<flamebait/> above. I'm not saying this should be covered; just well
thought of.
BTW and IM(OT)HO, an xml:id would be more useful than this...

Cheers,

Manos
Received on Friday, 2 August 2002 09:49:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:32 GMT