<fDecl>

<fDecl> (feature declaration) declares a single feature, specifying its name, organization, range of allowed values, and optionally its default value. 18.11 Feature System Declaration
Modul iso-fs — 18 Feature Structures
Neben global gültigen Attributen
name indicates the name of the feature being declared; matches the name attribute of f elements in the text.
Zustand Obligatorisch
Datentyp

<rng:ref name="data.name"/>
data.name
Werte any string of characters
optional indicates whether or not the value of this feature may be present.
Zustand Optional
Datentyp

<rng:data type="boolean"/>
xsd:boolean
Verwendet von
Kann enthalten
Deklaration

<rng:element name="fDecl">
 <rng:ref name="att.global.attributes"/>
 <rng:attribute name="name">
  <rng:ref name="data.name"/>
 </rng:attribute>
 <rng:optional>
  <rng:attribute name="optional" a:defaultValue="true">
   <rng:data type="boolean"/>
  </rng:attribute>
 </rng:optional>
 <rng:group>
  <rng:optional>
   <rng:ref name="fDescr"/>
  </rng:optional>
  <rng:ref name="vRange"/>
  <rng:optional>
   <rng:ref name="vDefault"/>
  </rng:optional>
 </rng:group>
</rng:element>
element fDecl
{
   att.global.attributes,
   attribute name { data.name },
   attribute optional { xsd:boolean }?,
   ( fDescr?, vRange, vDefault? )
}
Beispiel
<fDecl name="INV">
 <fDescr>inverted sentence</fDescr>
 <vRange>
  <vAlt>
   <binary value="true"/>
   <binary value="false"/>
  </vAlt>
 </vRange>
 <vDefault>
  <binary value="false"/>
 </vDefault>
</fDecl>