<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
Moduliso-fs — 18 Feature Structures
Attribute
nameindicates 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
optionalindicates 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="optionala: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>