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

> -----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 UTC