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

RE: Summary: xml:lang validity and RFC 1766 refs to outdated codes [long

  • From: Jonathan Borden <jborden@m...>
  • To: Mike Brown <mbrown@c...>, unicode@u...
  • Date: Mon, 07 Aug 2000 18:03:31 -0400

iso639code
Mike Brown wrote:

>
> XML 1.0 says that xml:lang attributes must match production 33 for
> well-formedness -- on that all seem to agree. But XML 1.0's normative
> reference to RFC 1766 and the language of that RFC together *could* imply
> that the 2-letter language code portion of xml:lang values must
> not only be
> 2 ASCII characters, but must also match ISO 639 2-letter language codes in
> order to be valid.

Actually production [34] states that the LangCode is one of:

	ISO639Code | IanaCode | UserCode

>
> There still remains the unclear issue of whether xml:lang validity really
> should correlate to strict RFC 1766 conformance, down to the selection of
> language codes from ISO 639-1.

You can use IanaCode (prefixed with 'i' | 'I') or UserCode (prefixed with
'x' | 'X'), neither of which have a 2 character limit. All options are
valid.

Jonathan Borden
The Open Healthcare Group
http://www.openhealth.org


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.