[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RES: XML Core WG needs input on xml:lang=""

  • To: "John Cowan" <jcowan@r...>,<xml-dev@l...>
  • Subject: RES: XML Core WG needs input on xml:lang=""
  • From: "Eric Paschoalick Chaves" <Eric.Paschoalick@g...>
  • Date: Fri, 2 Aug 2002 11:45:28 -0300
  • Cc: <xml-editor@w...>
  • Thread-index: AcI6IqatbMatr0ySQgKbiO5K8p1rGwADNR4A
  • Thread-topic: XML Core WG needs input on xml:lang=""

res xml
Hi Fellows,

	English is not my best language, so after all, forgive my typos and misspelling. I agree with the needings of language indication, even if the referenced language not being "human language", however I no sense in assigning a meaning to empty value. I do belive that this should raise an error. 
> 
> <p lang="en">
>   Here is an example of some C code:
>   <pre xml:lang="">
>      #include "stdio.h"
>      main() {printf("Hello world!"};}
>   </pre>
> </p>
> 

	If we keep in mind that the purpose of XML is to be a META language, we already agree (I supose) that it is intended ot be interpreted by machines, not humans. Being so, a LANG attribute are very handy for example, calling a syntax/ortograph corrector, or selecting a particular formated message from a list of messages. All those uses are not restricted to "human messages", where we indicated "this message is japanese, this other is in english, and this third in DE-JP" (I doubt someone sane uses this!! ;). I may be exchanging software routines using XMLed messages inf all flavors of computer languages. I have to decide wich one is in Java to be used in my code, or, I may need to check for this code syntax and for this I have to know, is this ANSI-C? MS-C? whatever.
	And we are not talking about just computer languages, but all flavors of "language". Language is stricly tied to describing things, communicating; Wich is one of the reasons for metadata existence. I guess this is enough reson to extend the LANG attribute.
	Now, if by any reason I feel the needing to indicate that my message was wrote in this or that particular language, what is the point with an empty (blank) value? If so, then I don't need to use the lang attribute at all. An empty value, IMHO, should raise an error to alert the sender that he is missing something.

Cheers,

Eric.

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.