[Home] [By Thread] [By Date] [Recent Entries]

  • To: "John Cowan" <jcowan@r...>
  • Subject: RE: XML Core WG needs input on xml:lang=""
  • From: "Manos Batsis" <m.batsis@b...>
  • Date: Fri, 2 Aug 2002 16:50:08 +0300
  • Cc: <xml-editor@w...>,<xml-dev@l...>
  • Thread-index: AcI6IjVJ5wI3Vk2RQyCVMkny9ye/tgAB9BBA
  • Thread-topic: XML Core WG needs input on xml:lang=""



> -----Original Message-----
> From: John Cowan [mailto:jcowan@r...] 
> Sent: Friday, August 02, 2002 3:37 PM
> To: xml-dev@l...
> Cc: xml-editor@w...
> Subject:  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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member