default

Attribute Group Information

Attributes

QName Type Fixed Default Use Inheritable Annotation
default xsd:string optional
<h:div class="summary">default value in an enumeration.</h:div>
<h:div class="description">A non-whitespace string (value is irrelevant) indicates that the content of this enumeration is the default value (usually of a scalar). It is an error to have more than one default. If the scalar in an instance doc has no value (i.e. is empty or contains only whitespace) its value is given by the default. If the scalar in the instance is empty and no enumerations have a default attribute, an application may throw an error.</h:div>

Source

<xsd:attributeGroup id="attGp.default" name="default">
  <xsd:attribute name="default" type="xsd:string" id="att.default">
    <xsd:annotation>
      <xsd:documentation>
        <h:div class="summary">default value in an enumeration.</h:div>
        <h:div class="description">A non-whitespace string (value is irrelevant) indicates that the content of this enumeration is the default value (usually of a scalar). It is an error to have more than one default. If the scalar in an instance doc has no value (i.e. is empty or contains only whitespace) its value is given by the default. If the scalar in the instance is empty and no enumerations have a default attribute, an application may throw an error.</h:div>
      </xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:attributeGroup>