Difference between revisions of "DTr1 CS.LANG"

(Automated ADBot page content)
(Automated ADBot page content)
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
=CS.LANG Coded Simple Value - Flavor Language Codes; The language is compliant to RFC 3066 (Tags for the Identification of Languages ). The format for the language to describe is ss [-CC] where ss stands for the language tag, according to ISO 639-1 and CC for the optional country code, ISO-3166 alpha-2. The resulting language indicator is not case sensitive.=Datatype Release 1: CS.LANG
+
=CS.LANG Coded Simple Value - Flavor Language Codes=
 +
{| class="artdecorwiki"
 +
! style="text-align:left;" | Datatype Release 1 !! Realm
 +
|-
 +
| style="height:30px; vertical-align:middle;" | '''CS.LANG''' || style="vertical-align:middle;" | [[File:Universalrealm.png|20px|link=]] UV
 +
|}
 +
 
 +
=Operationalization=
 +
The language is compliant to RFC 3066 (Tags for the Identification of Languages ). The format for the language to describe is ss [-CC] where ss stands for the language tag, according to ISO 639-1 and CC for the optional country code, ISO-3166 alpha-2. The resulting language indicator is not case sensitive.
 
==Registered Attributes and Child Elements==
 
==Registered Attributes and Child Elements==
{| class=artdecor
+
{| class="artdecorwiki"
 
! @Attribute / Element !! Cardinality !! Datatype  
 
! @Attribute / Element !! Cardinality !! Datatype  
 
|-
 
|-
Line 10: Line 18:
 
|-
 
|-
 
|}
 
|}
==Core Schematron Rules CSR==
+
==Core Schematron Rules (CSR)==
The following rules are defined in the base core schematrons.
+
The following rules are defined in the base core schematrons ({{Error}} errors, {{Warning}} warnings, {{Info}} infos).
 
{{ConstraintBox|Rule ID: '''CS.LANG'''
 
{{ConstraintBox|Rule ID: '''CS.LANG'''
Extends Rule(s): CS  
+
Extends Rule(s): [[DTr1_CS|CS]]
  
 
Constraints
 
Constraints
*{{Error}} dtr1-1-CS.LANG: @code SHALL be of format ss-CC with ss for language code (conform ISO-639-1) and optional CC for country code (conform ISO-3166 alpha-2)
+
*{{Error}} dtr1-2-CS.LANG: @code SHALL conform to RFC 3066. This usually has format sss?-CC with sss? for language code (ISO-639-1 / ISO-639-2) and optional CC for country code (conform ISO-3166 alpha-2)
 
}}
 
}}
==Additional Strict Schematron Rules SSR==
+
[[Category:DTr1|CS.LANG]]
The following rules are defined in the strict mode of core schematrons.
 

Latest revision as of 14:58, 5 December 2017

CS.LANG Coded Simple Value - Flavor Language Codes

Datatype Release 1 Realm
CS.LANG Universalrealm.png UV

Operationalization

The language is compliant to RFC 3066 (Tags for the Identification of Languages ). The format for the language to describe is ss [-CC] where ss stands for the language tag, according to ISO 639-1 and CC for the optional country code, ISO-3166 alpha-2. The resulting language indicator is not case sensitive.

Registered Attributes and Child Elements

@Attribute / Element Cardinality Datatype
@code   optional   cs
@nullFlavor   optional   cs

Core Schematron Rules (CSR)

The following rules are defined in the base core schematrons (Alert.png errors, Warning.png warnings, Info.png infos).

Check-circle.svg Rule ID: CS.LANG

Extends Rule(s): CS

Constraints

  • Alert.png dtr1-2-CS.LANG: @code SHALL conform to RFC 3066. This usually has format sss?-CC with sss? for language code (ISO-639-1 / ISO-639-2) and optional CC for country code (conform ISO-3166 alpha-2)