App-Changelog2x

 view release on metacpan or  search on metacpan

lib/App/changelog2x/ChangeLogML.xsd  view on Meta::CPAN

          </dc:description>
          <dc:creator>
            <cc:Agent>
              <dc:title>Randy J. Ray</dc:title>
            </cc:Agent>
          </dc:creator>
          <dc:rights>
            <cc:Agent>
              <dc:title>Randy J. Ray</dc:title>
            </cc:Agent>
          </dc:rights>
          <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
          <cc:license rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" />
        </cc:Work>
        <cc:License rdf:about="http://creativecommons.org/licenses/by-sa/2.0/">
          <cc:permits rdf:resource="http://web.resource.org/cc/Reproduction" />
          <cc:permits rdf:resource="http://web.resource.org/cc/Distribution" />
          <cc:requires rdf:resource="http://web.resource.org/cc/Notice" />
          <cc:requires rdf:resource="http://web.resource.org/cc/Attribution" />
          <cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
          <cc:requires rdf:resource="http://web.resource.org/cc/ShareAlike" />
        </cc:License>
      </rdf:RDF>
    </xsd:appinfo>
  </xsd:annotation>

  <xsd:simpleType id="versionString" name="versionString">
    <xsd:annotation>
      <xsd:documentation>
        The versionString type is applied to attributes that describe simple
        revision-number strings. It only supports dotted-decimal styled
        version numbers.
      </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="\d+(\.\d+)*" />
    </xsd:restriction>
  </xsd:simpleType>

  <xsd:complexType id="informationType" name="informationType" mixed="true">
    <xsd:annotation>
      <xsd:documentation>
        An informationType is an open-ended container type that allows
        mixed-content which can include elements from other XML namespaces.
        This allows users to include Dublin Core metadata, XHTML tags, etc. as
        desired within the &lt;description&gt; and similar blocks. It also
        allows for open-ended extension of ChangeLogML with things such as
        source-control specification, etc.
      </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence maxOccurs="unbounded" minOccurs="0">
      <xsd:any processContents="lax" />
    </xsd:sequence>
    <xsd:attribute name="source" type="xsd:anyURI" use="optional">
      <xsd:annotation>
        <xsd:documentation>
          The source attribute, if present, is used to refer to any external
          resource that may be related to the contents of the block-element
          that has the attribute. The role or relevance of the reference is not
          specified or constrained. The value of the attribute must be a URI,
          but may be absolute, relative, or a reference to a fragment. The only
          restriction is that it be a valid URI.
        </xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:anyAttribute namespace="##other" processContents="lax" />
  </xsd:complexType>

  <xsd:complexType id="descriptionType" name="descriptionType">
    <xsd:annotation>
      <xsd:documentation>
        A descriptionType extends informationType to add a specific attribute,
        called "lang", that specifies the (human) language the text of the
        block is written in. This allows for a ChangeLog to have multiple
        versions of the same &lt;description&gt; block in differing languages,
        leaving it to processors of the document to choose which one to
        display.
      </xsd:documentation>
    </xsd:annotation>
    <xsd:simpleContent>
      <xsd:extension base="tns:informationType">
        <xsd:attribute default="en-US" name="lang" type="xsd:language">
          <xsd:annotation>
            <xsd:documentation>
              This attribute specifies the language in which the content of
              the &lt;description&gt; block is written. The value of the
              attribute should be a language code (generally two characters,
              possibly followed by an underscore and qualifying country-code
              when the language is used by several countries), and the
              default value is "en_US" (American English).
            </xsd:documentation>
          </xsd:annotation>
        </xsd:attribute>
      </xsd:extension>
    </xsd:simpleContent>
  </xsd:complexType>

  <xsd:complexType id="fileType" name="fileType">
    <xsd:annotation>
      <xsd:documentation>
        The fileType definition is used for the &lt;file&gt; element, a part
        of the changeType declaration. It is defined separately so that it can
        be referred to from multiple places.
      </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence maxOccurs="1" minOccurs="0">
      <xsd:element name="description"
                   type="tns:descriptionType"
                   minOccurs="0" maxOccurs="unbounded">
        <xsd:annotation>
          <xsd:documentation>
            The &lt;description&gt; block is optional, and may occur multiple
            times in different languages (as with all instances of this tag).
            It is used to describe the function or role of the file, and would
            generally only be used the first time a file is introduced.
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="source-control"
                   type="tns:informationType"
                   maxOccurs="1" minOccurs="0" nillable="true">



( run in 0.857 second using v1.01-cache-2.11-cpan-b16cb0d3907 )