From dfcfa4f3c3ba1ba9a61f253f0fe2eb7bf83b587e Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Wed, 12 Jun 2024 17:41:06 +0100 Subject: [PATCH] Add a note about how xs:language codes are defined --- src/main/xml/bibliography.xml | 26 +++++++++++++++++++------- steps/src/main/xml/references.xml | 3 +++ steps/src/main/xml/steps/text-sort.xml | 20 ++++++++++++++------ 3 files changed, 36 insertions(+), 13 deletions(-) diff --git a/src/main/xml/bibliography.xml b/src/main/xml/bibliography.xml index 120f716..a1aa5d9 100644 --- a/src/main/xml/bibliography.xml +++ b/src/main/xml/bibliography.xml @@ -263,6 +263,18 @@ Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types. N. Freed, N. Borenstein, editors. Internet Engineering Task Force. November, 1996. +RFC 4646 +RFC 4646: +Tags for Identifying Languages. +A. Phillips and M. Davis, editors. +Internet Engineering Task Force. September, 2006. + +RFC 4647 +RFC 4647: +Matching of Language Tags. +A. Phillips and M. Davis, editors. +Internet Engineering Task Force. September, 2006. + RFC 2119 Key words for use in RFCs to Indicate Requirement Levels. @@ -271,13 +283,13 @@ Network Working Group, IETF, Mar 1997. -RFC 2396 -Uniform Resource Identifiers (URI): Generic Syntax. -T. Berners-Lee, R. Fielding, and L. Masinter. -Network Working Group, IETF, -Aug 1998. - +BCP 47 +Best Current Practices 47. Concatenation of RFC 4646: Tags for Identifying +Languages, ed. A. Phillips and M. Davis, September 2006, +http://www.ietf.org/rfc/bcp/bcp47.txt, and RFC 4647: Matching of Language Tags, +ed. A Phillips and M. Davis, September 2006, +http://www.rfc-editor.org/rfc/bcp/bcp47.txt. +Internet Engineering Task Force (IETF). September, 2006. RFC 2616 RFC 2616: diff --git a/steps/src/main/xml/references.xml b/steps/src/main/xml/references.xml index 24a7b14..dc3708b 100644 --- a/steps/src/main/xml/references.xml +++ b/steps/src/main/xml/references.xml @@ -20,6 +20,9 @@ + + + diff --git a/steps/src/main/xml/steps/text-sort.xml b/steps/src/main/xml/steps/text-sort.xml index 556eaa2..8de922c 100644 --- a/steps/src/main/xml/steps/text-sort.xml +++ b/steps/src/main/xml/steps/text-sort.xml @@ -42,12 +42,20 @@ lower-case letters. Its value must be one of upper-first or lower-first. The default is language-dependent. - - The option defines the language whose collating conventions are to be used. The - default depends on the processing environment. Its value must be a valid language code (e.g. - en-EN). - - + + +The option defines the language whose collating +conventions are to be used. +The xs:language data type represents natural language identifiers +as defined by (currently +represented by and +or its successor(s).) +The default depends on the processing environment. +Its value must be a valid language code (e.g. en-EN). + + + + The option identifies how strings are to be compared with each other. Its value must be a valid collation URI. The only collation XProc processors must support is the Unicode Codepoint Collation