SimpleLiteral

This is the default type for all of the DC elements.
It permits text content only with optional
xml:lang attribute.
Text is allowed because mixed="true", but sub-elements
are disallowed because minOccurs="0" and maxOccurs="0" 
are on the xs:any tag.
                
This complexType allows for restriction or extension permitting
child elements.

Complex Type Information

Model

ANY element from ANY namespace

Attributes

QName Type Fixed Default Use Inheritable Annotation
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter
codes as the enumerated possible values is probably never
going to be a realistic possibility.  See
RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
at http://www.iana.org/assignments/lang-tag-apps.htm for
further information.
                
The union allows for the 'un-declaration' of xml:lang with
the empty string.

Used By

Element any

Source

<xs:complexType name="SimpleLiteral">
  <xs:annotation>
    <xs:documentation xml:lang="en">This is the default type for all of the DC elements. It permits text content only with optional xml:lang attribute. Text is allowed because mixed="true", but sub-elements are disallowed because minOccurs="0" and maxOccurs="0" are on the xs:any tag. This complexType allows for restriction or extension permitting child elements.</xs:documentation>
  </xs:annotation>
  <xs:complexContent mixed="true">
    <xs:restriction base="xs:anyType">
      <xs:sequence>
        <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
      </xs:sequence>
      <xs:attribute ref="xml:lang" use="optional"/>
    </xs:restriction>
  </xs:complexContent>
</xs:complexType>