label/name with mandatory language identifier and optional codeSpace
Implement using "canonical encoding" as follows:
<import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
<complexType name="LocalizedGenericNameType">
<annotation>
<documentation>add required xml:lang attribute</documentation>
</annotation>
<simpleContent>
<extension base="gml:CodeWithAuthorityType">
<attribute ref="xml:lang" use="required"/>
</extension>
</simpleContent>
</complexType>
<element name="localizedGenericName" type="gsml:LocalizedGenericNameType" substitutionGroup="gml:name"/>
The element declaration is to provide a global concrete element that is substitutable for gml:name.
There is no LocalizedGenericNamePropertyType.
This is a canonical type, and attributes or association roles with this class as a target should be implemented as
<element name="property" type="LocalizedGenericNameType"/>
Egenskap |
Stereotype |
Beskrivelse |
Type |
Multiplisitet |
language |
|
Name for language/locality; convention is to use ISO 639 standard language vocabulary |
IETF-RFC3066-Code |
1..1 |
Navn |
Type |
Lengde |
Multiplisitet |
|
IETF-RFC3066-Code |
|
1..1 |