Home | Public Area

Comment #00280 - misleading description of @xml:lang - z39.96-2012.pdf

Comment 280
Addressed (Unresolved)
ANSI/NISO Z39.96-2012, JATS: Journal Article Tag Suite (version 1.0) (Revision 0)
Comment Submitted by
Kevin Hawkins
2013-06-23 15:56:39
The following paragraph is misleading on a few points:

###

Typical values are described by the IETF RFC 5646, two-letter, lower-case language codes such as “fr” (French), “en” (English), “de” (German), and “zh” (Chinese). These values are NOT case sensitive, but current best practice uses all lower case. Values can be obtained from the IANA Language Subtag Registry: http://www.iana.org/assignments/language-subtag-registry.

###

RFC 5646 should be used to construct the value of @xml:lang, which RFC 5646 calls a "language tag". Each language tag consists of subtags for the primary language, extended language, script, region, etc.
Submitter Proposed Solution
Revise to something like the following:

The value of this attribute must conform to IETF RFC 5646 ( http://tools.ietf.org/html/rfc5646 ). For most uses, a primary-language subtag such as “fr” (French), “en” (English), “de” (German), and “zh” (Chinese) is sufficient. These values are NOT case sensitive, but current best practice uses all lower case. However, the value of the attribute may contain other subtags as well. Values for the various subtags (which can be used in certain combinations) can be obtained from the IANA Language Subtag Registry: http://www.iana.org/assignments/language-subtag-registry.
Jeffrey Beck
2013-11-27 11:24:40

Thank you for your comment. The JATS Standing Committe has addressed your request. Non-normative supporting materials including schemas with these additions in place should be available soon.

The Standing Committee's recommendation is:

The definition of @xml:lang will read, “The value of this attribute must conform to IETF RFC 5646 (
http://tools.ietf.org/html/rfc5646 ). For most uses, a primary-language subtag such as “fr” (French), “en”
(English), “de” (German), and “zh” (Chinese) is sufficient. These values are NOT case sensitive, but current best
practice uses all lower case. However, the value of the attribute may contain other subtags as well. Values for the
various subtags (which can be used in certain combinations) can be obtained from the IANA Language Subtag
Registry: http://www.iana.org/assignments/language-subtag-registry.”