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

Re: xml:lang: Am I doing more work than I need to be?

  • From: "Christopher R. Maden" <crism@e...>
  • To: xml-dev@i...
  • Date: Wed, 26 Jan 2000 14:30:51 -0800

xml editor smartphone
Tim Bray wrote:
> At 11:11 AM 1/26/00 -0800, Christian Hammond wrote:
>> I have
>> been working on getting xml:lang support implemented, but there is 
>> one thing
>> I'm confused about.
> 
> xml:lang is just an ordinary XML attribute that is reserved for the
> (very common) purpose of an author language-labeling pieces of data.
> There is no specification about what ought to be done with it anywhere.

Naturally, Tim is correct about the content of REC-XML, but Christian 
was asking more about the semantics, which are governed by RFC 1766 (I 
think - the exact number is in the Rec, and I'm writing this from my 
smartphone).  The value is hierarchical, and match on leading 
substrings.  So 'en' matches 'en-GB' and vice versa, but 'en-CA' doesn't 
match 'fr-CA'.

HTH,
Chris

-- 
Christopher R. Maden, Solutions Architect
Exemplary Technologies
One Embarcadero Center, Ste. 2405
San Francisco, CA 94111

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom@i... the message
unsubscribe xml-dev  (or)
unsubscribe xml-dev your-subscribed-email@your-subscribed-address

Please note: New list subscriptions now closed in preparation for transfer to OASIS.



  • Follow-Ups:

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.