[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|