The use of 255 enumerated language codes, in addition to ISO 639-1 codes, adds no expressive value and only increases the work required of any application that would process an OOXML document.

Proposed change: Drop the use of the redundant ST_LangCode

2.18.51 [p1747]

te

Proposed Disposition of DIS 29500 Comment GB-0275 (Modified: 2008-01-13) Agreed; based on the suggestion of several national bodies, the use of RFC 4646/BCP 47 will be used to identify languages throughout the standard by default, and the ST_LangCode simple type will be removed from the standard. The following changes will be made: To (a new) Part 4, §2.16.3.6: 2.16.3.6 Legacy language references Whenever a field requires a language identifier as one of its field-switches, that language identifier should be provided using the syntax defined by the ST_Lang simple type (§2.18.51). However, there exists a legacy mechanism by which language identifiers may be stored. The following table lists those language codes and their corresponding languages [Rationale: This list is maintained for compatibility with documents containing these values, and the use of these identifiers is discouraged. end rationale]: <<The legacy list from §2.18.52 will go here.>> To Part 4, §2.18.51, page 1747, lines 17­27: This simple type specifies that its contents will contain one of the following: a language identifier as defined by RFC 4646/BCP 47. A hexadecimal language code (ST_LangCode) An ISO 639-1 letter code plus a dash plus an ISO 3166-1 alpha-2 letter code (ST_String) The contents of this language are interpreted based on the context of the parent XML element. [Example: Consider a language code defined as follows : <w:lang w:val="en-CA" /> This language is therefore specified as English (en) and Canada (CA), resulting in use of the English (Canada) language setting. end example] This simple type is a restriction of the XML Schema string datatype. defined as a union of the following types: The ST_LangCode simple type (§2.18.52). The ST_String simple type (§2.18.89). To Part 4, §2.3.3.14, page 257, 2 nd table; §2.5.2.19, page 559, 2 nd table; §2.4.17, page 1,078, 2 nd table: Attributes Description val (Language Code) Specifies an ISO 639-1 letter code or 4 digit hexadecimal code identifier for a specific language. This code is interpreted in the context of the parent XML element. [Example: Consider an object which shall specify the English(Canada) language. That object would use the ISO 639-1 letter code an identifier of en-CA to specify this language. end example] The possible values for this attribute are defined by the ST_Lang simple type (§2.18.51). Specifically for §2.16 (fields) a new §2.16.3.6 will be added and contain the legacy representation of languages previously contained within ST_LangCode. This is due to the existing corpus of binary documents that already contain field text with the legacy language codes entered by the document authors. The preferred use within fields will follow BCP 47 as defined in ST_Lang. The following changes will be made to §2.16: To Part 4, §2.16.5.1, page 1509, within the second table: \l field-argument text in this switch’s field-argument specifies the language ID used to format the address. The default is to use the language ID of the first character of the document. This language ID can be specified in either of the following formats: The format defined by ST_Lang (§2.18.51) A value from the legacy language identifier table supplied in §2.16.3.6 [Rationale: This list is maintained for compatibility with documents containing these values, and the use of these identifiers is discouraged. end rationale] To Part 4, §2.16.5.11, within the table: \l field-argument The text in this switch’s field-argument specifies the language ID locale that shall be used in to format the bibliographic sources in the document that do not specify a locale using the LCID (§7.6.2.39) element. This language ID can be specified in either of the following formats: The format defined by ST_Lang (§2.18.51) A value from the legacy language identifier table supplied in §2.16.3.6 [Rationale: This list is maintained for compatibility with documents containing these values, and the use of these identifiers is discouraged. end rationale] \f field-argument The text in this switch’s field-argument specifies the language ID locale that shall be used to filter the bibliographic data to only the sources in the document that use that language. that have a value matching field- argument in the LCID (§7.6.2.39) element. This language ID can be specified in either of the following formats: The format defined by ST_Lang (§2.18.51) A value from the legacy language identifier table supplied in §2.16.3.6 [Rationale: This list is maintained for compatibility with documents containing these values, and the use of these identifiers is discouraged. end rationale] \m field-argument The text in this switch’s field-argument specifies that only the source with a Tag (§7.6.2.65) element value matching field-argument shall be displayed in the bibliography. To Part 4, §2.16.5.13, within the table: \l field-argument The text in this switch’s field-argument specifies the language ID locale which shall be used in conjunction with the specified bibliographic style to format the citation in the document. This language ID can be specified in either of the following formats: The format defined by ST_Lang (§2.18.51) A value from the legacy language identifier table supplied in §2.16.3.6 [Rationale: This list is maintained for compatibility with documents containing these values, and the use of these identifiers is discouraged. end rationale] To Part 4, §2.16.5.30, within the table: \l field-argument The text in this switch’s field-argument specifies the language ID used to format the name. it defaults to the language ID of the first character of the document. This language ID can be specified in either of the following formats: The format defined by ST_Lang (§2.18.51) A value from the legacy language identifier table supplied in §2.16.3.6 [Rationale: This list is maintained for compatibility with documents containing these values, and the use of these identifiers is discouraged. end rationale] To Part 4, §2.16.5.35, page 1540, within the first table: \z field-argument The text in this switch’s field-argument is specifies the language ID used to generate the index . as defined in the ST_LangCode (§2.18.52) simple type. This language ID can be specified in either of the following formats: The format defined by ST_Lang (§2.18.51) A value from the legacy language identifier table supplied in §2.16.3.6 [Rationale: This list is maintained for compatibility with documents containing these values, and the use of these identifiers is discouraged. end rationale] To Part 4, §2.18.51, page 1747, lines 28­31: The following XML Schema fragment defines the contents of this simple type: <simpleType name="ST_Lang"> <union memberTypes="ST_LangCode ST_String"/> <restriction base=”xsd:string”/> </simpleType> To Part 4, §2.18.52: Section deleted. To Part 4, §7.6.2.39: 7.6.2.39 LCID (Locale ID) This element specifies the locale ID of a source, representing the source’s language. The set of locale IDs shall be as specified in §2.18.5 1 2 . [Example: ... <b:RefOrder>2</b:RefOrder> <b:Guid>{EE06CBFE-1989-4533-A274-D81DFA436D79}</b:Guid> <b:LCID> ja-JP 0 </b:LCID> </b:Source> end example] The possible values for this element are defined by the ST_ Lang String255 simple type 2.18.51 7.6.3.2 ). To wml.xsd: Simple type ST_LangCode deleted; simple type ST_Lang redefined as described above. Similar Comments: AU-0015 , CA-0030 , CH-0011 , CL-0010 , CL-0011 , CO-0129 , CO-0130 , CZ-0006 , DE-0034 , DE-0035 , DK-0024 , DK-0127 , DK-0142 , DK-0167 , ECMA-0034 , FI-0011 , FR-0174 , FR-0175 , GR-0016 , GR-0017 , GR-0018 , IE-0004 , JP-0072 , KE- 0036 , KR-0020 , MY-0009 , US-0110 , UY-0004 , VE-0035 , VE-0036 , VE-0038

Tag and Go

1 Comment

  1. hAl September 29, 2007 @ 9:10 am

    Dupe of Ecma 34

Sorry, the comment form is closed at this time.

  • Argentina (1)
  • Australia (30)
  • Austria (1)
  • Belgium (1)
  • Brazil (64)
  • Bulgaria (3)
  • Canada (79)
  • Chile (217)
  • China (1)
  • Colombia (237)
  • Czech Republic (75)
  • Denmark (168)
  • Ecma (76)
  • Ecuador (1)
  • Finland (15)
  • France (592)
  • Germany (162)
  • Ghana (12)
  • Greece (113)
  • India (82)
  • Iran (58)
  • Ireland (12)
  • Israel (33)
  • Italy (2)
  • Japan (82)
  • Jordan (1)
  • Kenya (81)
  • Malaysia (23)
  • Malta (5)
  • Mexico (7)
  • New Zealand (54)
  • Norway (12)
  • Peru (10)
  • Philippines (7)
  • Poland (4)
  • Portugal (118)
  • Singapore (2)
  • South Africa (17)
  • South Korea (25)
  • Spain (1)
  • Switzerland (19)
  • Thailand (1)
  • Tunisia (3)
  • Turkey (1)
  • UK (635)
  • Uruguay (18)
  • USA (288)
  • Venezuela (73)