XsdLanguage¶
Fully qualified primitivetype name: DDICDIModels::DDICDILibrary::DataTypes::XMLSchemaDataTypes::XsdLanguage
Definition¶
Derived data type “language” of the XML Schema data types.
Definition from XML Schema Part 2: Datatypes Second Edition: “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. https://www.w3.org/TR/xmlschema-2/#language.
Diagram
Usage
Type |
Package |
Classifier |
Attribute |
---|---|---|---|
Class |
Representations |
availableLanguage |
|
Class |
Representations |
availableLanguage |
|
DataType |
StructuredDataTypes |
languageOfObject |
|
DataType |
StructuredDataTypes |
language |
|
DataType |
StructuredDataTypes |
translationSourceLanguage |
Syntax representations / encodings
All syntax representations except the Canonical XMI are provided as reference points for specific implementations, or for use as defaults if sufficient in the form presented.
Fragment for the data type XsdLanguage (entire XMI model)
1<packagedElement xmlns:StandardProfile="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard"
2 xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"
3 xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
4 xmi:id="DDICDIModels-DDICDILibrary-DataTypes-XMLSchemaDataTypes-XsdLanguage"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#XsdLanguage"
6 xmi:type="uml:PrimitiveType">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-XMLSchemaDataTypes-XsdLanguage-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#XsdLanguage-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-XMLSchemaDataTypes-XsdLanguage"/>
11 <body>Definition
12============
13Derived data type "language" of the XML Schema data types.
14
15Definition from XML Schema Part 2: Datatypes Second Edition:
16"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. https://www.w3.org/TR/xmlschema-2/#language.</body>
17 </ownedComment>
18 <name>XsdLanguage</name>
19</packagedElement>
Fragment for the data type XsdLanguage (entire XML Schema)
1<!-- XML Schema primitive: xs:language -->
Fragment for the data type XsdLanguage (main ontology, entire ontology as zip)
1# datatype XsdLanguage
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::XMLSchemaDataTypes::XsdLanguage
3xsd:language
4 a rdfs:Class, owl:Class, ucmis:StructuredDataType;
5 rdfs:label "XsdLanguage";
6 rdfs:comment "Definition\n============\nDerived data type \"language\" of the XML Schema data types.\n\nDefinition from XML Schema Part 2: Datatypes Second Edition:\n\"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. https://www.w3.org/TR/xmlschema-2/#language."@en;
7
8 owl:hasKey ();
9.
Fragment for the data type XsdLanguage (main JSON-LD entire JSON-LD as zip)
1{
2 "@context": [
3 {
4 "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
5 "xsd": "http://www.w3.org/2001/XMLSchema#",
6 "XsdLanguage": "xsd:language",
7
8 " comment ": "tag:json-should-support-trailing-commas"
9 }
10 ],
11 "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-03-16 23:40:14.",
12 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::XMLSchemaDataTypes::XsdLanguage"
13}