IS:additionalName propOther: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[unchecked revision][checked revision]
(Die Seite wurde neu angelegt: {{elementDocu| elementName = additionalName |parent = {{DocIS|propOther}} |ownAttributes = * {{attr|value}}: the additional name of the OCP ({{xsdType|string}}, requir...)
 
(multiplicity)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{elementDocu|
{{ElementDocu|
elementName = additionalName
elementName = additionalName
|parent = {{DocIS|propOther}}
 
|parent = {{IS:Tag|propOther}}
|childs=''None''
|minocc=0
|inheritedAttributes=''None''
|semantics =
{{Depr|2.1}} use {{IS:Tag|additionalName|ocp}} of {{IS:Tag|ocp}} instead
 
The element {{IS:Tag|additionalName|propOther}} encloses a secondary name for an {{IS:Doc|ocp}}. Thus, multiple names for an {{IS:Doc|ocp}} can be provided for e. g. different languages, different meanings or different character sets.


|ownAttributes =
|ownAttributes =
* {{attr|value}}: the additional name of the OCP ({{xsdType|string}}, required)
* {{Attr|value}}: This is the additional name of the {{IS:Doc|ocp}}
* {{attr|type}}: the meaning of the additional name ({{xsdType|string}}, optional), in particular:
 
** ''operationalName'': the OCPs name under operational aspects
{{InheritOcpNameType
** ''trafficName'': the OCPs name under traffic aspects
|type =
** ''localName'': an additional name in the local language
|type_de =
* {{attr|lang}}: the language used for the name; 2 character abbrevation according to ISO 639-1 (xml:lang, optional)
}}
 
{{InheritLang
|notes_en =
|notes_de =
}}
 
|constraints =
* {{Attr|value}} {{XsdType|string}}, mandatory


|semantics =
{{InheritOcpNameTypeConstraints
The element {{IS:Tag|additionalName}} encloses a secondary name for an {{DocIS|ocp}}. Thus, multiple names for an OCP can be provided for e. g. different languages, different meanings or different character sets. One OCP can have an unlimited number of {{IS:Tag|additionalName}}-elements.
|type =
|type_de =
}}
 
{{InheritLangConstraints}}
 
One {{IS:Doc|ocp}} can have an unlimited number of {{IS:Tag|additionalName|propOther}} elements.


|notes =
|notes =
* The primary name of an OCP will always be the values provided in the {{attr|name}} of {{DocIS|ocp}}. The usage of {{IS:Tag|additionalName}} is optional.
The primary name of an {{IS:Doc|ocp}} will always be the values provided in the {{Attr|name}} of {{IS:Tag|ocp}}. The usage of {{IS:Tag|additionalName|propOther}} is optional.
* A list of language abbrevations according to ISO 639-1 can be found at [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes here]
 
}}
}}

Latest revision as of 19:28, 25 November 2018


additionalName
 


Scheme description / Schemenbeschreibung

Position of additionalName in the XML-Tree / Position von additionalName im XML-Baum

Multiplicity / Anzahl

[0..1]

Semantics / Bedeutung

(deprecated with version 2.1) use <additionalName> of <ocp> instead

The element <additionalName> encloses a secondary name for an ocp. Thus, multiple names for an ocp can be provided for e. g. different languages, different meanings or different character sets.

Attributes of additionalName / Attribute von additionalName

  • value: This is the additional name of the ocp
  • type: This is the meaning of the name. Possible values are:
    • operationalName the ocps name under operational aspects
    • trafficName the ocps name under traffic aspects
    • localName an name in the local language
    • other:anything: Any value that does not fit any value from the previous enumeration list, fulfilling the constraint: at minimum two characters, whitespace is not allowed. Please, apply Dev:usingAny accordingly.


  • xml:lang (introduced with version 2.1): This is a unique identifier of language. It uses basically the language standard IETF BCP 47 (external link) which may be different to ISO 639-1 (external link) or ISO 639-2 (external link). For mapping hints see relation to other standards (external link).

Syntactic Constraints / Syntaktische Beschränkungen

  • type: union of (restriction of xs:string, tOtherEnumerationValue); tOtherEnumerationValue is an arbitrary string starting with 'other:' followed by at minimum two characters, white space not allowed for extending railML® enumeration lists; optional

One ocp can have an unlimited number of <additionalName> elements.

Best practice & Examples / Empfohlene Anwendung & Beispiele

Not yet described. / Noch nicht beschrieben.

Notes / Anmerkungen

The primary name of an ocp will always be the values provided in the name of <ocp>. The usage of <additionalName> is optional.

Open issues / Offene Punkte/Pendenzen

Not yet described. / Noch nicht beschrieben.