[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office-comment] odf 1.1 dc:language value (unchanged as yet for 1.2)
Dave, You fail to quote the complete definition, which I think answers your question: According to ODF 3.1.15: "The <dc:language> element specifies the default language of the document. The manner in which the language is represented is similar to the language tag described in [RFC3066]. It consists of a two or three letter Language Code taken from the ISO 639 standard optionally followed by a hyphen (-) and a two-letter Country Code taken from the ISO 3166 standard." The Dublin Core Usage Guide, 4.15 states: "Recommended best practice for the values of the Language element is defined by RFC 3066 [RFC 3066, http://www.ietf.org/rfc/ rfc3066.txt] which, in conjunction with ISO 639 [ISO 639, http://www.oasis- open.org/cover/iso639a.html]), defines two- and three-letter primary language tags with optional subtags. Examples include "en" or "eng" for English, "akk" for Akkadian, and "en-GB" for English used in the United Kingdom." So I'm not seeing any conflict between what ODF says, what XML Schema Datatypes says and what Dublin Core says. -Rob "Dave Pawson" <dave.pawson@gmail.com> wrote on 07/03/2008 07:55:52 AM: > The manner in which the language is represented is similar to the > language tag described in [RFC3066]. > > yet the schema calls up relax NG 'language' data type. > http://www.w3.org/TR/xmlschema-2/#language > > language represents natural language identifiers as defined by by [RFC > 3066] . The ·value space· of language is the set of all strings that > are valid language identifiers as defined [RFC 3066] . The ·lexical > space· of language is the set of all strings that conform to the > pattern [a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})* . The ·base type· of > language is token. > > Is it valid to RFC3066 or 'similar' to? > > What's the conformance requirement for this para? > > regards > > -- > Dave Pawson > XSLT XSL-FO FAQ. > http://www.dpawson.co.uk
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]