<?xml version="1.0" encoding="UTF-8"?>
<!--
DMTF - Distributed Management Task Force, Inc. - http://www.dmtf.org

Release URLs (once DMTF Standard):
http://schemas.dmtf.org/document/noxmlns/dsp8053_1.0.0.xsd
http://schemas.dmtf.org/document/noxmlns/dsp8053_1.0.xsd

Document number: DSP8053
Date: 2012-03-19
Version: 1.0.0
Document status: DMTF Standard

Title: Document Common Types XML Schema

Document type: Specification (W3C XML Schema Document)
Document language: en-US

Copyright notice:
Copyright (C) 2010-2012 Distributed Management Task Force, Inc. (DMTF). All rights reserved.
DMTF is a not-for-profit association of industry members dedicated to promoting enterprise and systems management and
interoperability.  Members and non-members may reproduce DMTF specifications and documents for uses consistent with this
purpose, provided that correct attribution is given.  As DMTF specifications may be revised from time to time, the
particular version and release date should always be noted.
Implementation of certain elements of this standard or proposed standard may be subject to third party patent rights,
including provisional patent rights (herein "patent rights").  DMTF makes no representations to users of the standard as
to the existence of such rights, and is not responsible to recognize, disclose, or identify any or all such third party
patent right, owners or claimants, nor for any incomplete or inaccurate identification or disclosure of such rights,
owners or claimants.  DMTF shall have no liability to any party, in any manner or circumstance, under any legal theory
whatsoever, for failure to recognize, disclose, or identify any such third party patent rights, or for such party's
reliance on the standard or incorporation thereof in its product, protocols or testing procedures.  DMTF shall have no
liability to any party implementing such standard, whether such implementation is foreseeable or not, nor to any patent
owner or claimant, and shall have no liability or responsibility for costs or losses incurred if a standard is withdrawn
or modified after publication, and shall be indemnified and held harmless by any party implementing the standard from
any and all claims of infringement by a patent owner for such implementations.
For information about patents held by third-parties which have notified the DMTF that, in their opinion, such patent may
relate to or impact implementations of DMTF standards, visit http://www.dmtf.org/about/policies/disclosures.php.

Foreword:
This document was prepared by the Profile Infrastructure Working Group. DMTF is a not-for-profit association of
industry members dedicated to promoting enterprise and systems management and interoperability. For information about
the DMTF, see http://www.dmtf.org.

Acknowledgments:
The DMTF acknowledges the following individuals for their contributions to this document:
* Andreas Maier, IBM (editor)

Introduction:
This document defines an XML schema for common types used by document-related XML schemas. For more details, see the
annotation description of the schema element.

Normative references:
* DMTF DSP0004, CIM Infrastructure Specification 2.6,
  http://www.dmtf.org/standards/published_documents/DSP0004_2.6.pdf
* DMTF DSP1001, Management Profile Specification Usage Guide 1.1,
  http://www.dmtf.org/standards/published_documents/DSP1001_1.1.pdf
* ISO/IEC Directives, Part 2:2004, Rules for the structure and drafting of International Standards,
  http://isotc.iso.org/livelink/livelink?func=ll&objId=4230456&objAction=browse
* W3C XHTML 1.0 The Extensible HyperText Markup Language (Second Edition),
  W3C Recommendation 26 January 2000, revised 1 August 2002,
  http://www.w3.org/TR/xhtml1

Change log:
1.0.0a - 2010-02-15 - Released as a Work in Progress.
1.0.0b - 2010-05-31 - Released as a second Work in Progress.
1.0.0c - 2011-02-22 - Released as a third Work in Progress.
1.0.0d - 2011-06-21 - Released as a fourth Work in Progress.
1.0.0e - 2011-08-16 - Released as a fifth Work in Progress.
1.0.0f - 2011-09-13 - Released as a Work in Progress.
1.0.0g - 2011-09-13 - Member review of Draft Standard.
1.0.0  - 2012-03-19 - Released as DMTF Standard.
-->
<xsd:schema xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    <xsd:annotation>
        <xsd:documentation>This document defines an XML schema that defines some common XML types used by other XML
schemas.
This XML schema is a building block for import into larger XML schemas, such as machine readable profiles (see DSP8028).
This XML schema uses the "Venetian Blind" design pattern for the most part. In that pattern, only the XML elements
intended to be used as root elements are declared as global elements in the XML schema, and all relevant XML types are
declared as global types, for internal use by the XML schema. Any global types are not intended to be used by referencing
XML schemas.
This XML schema maintains forward compatibility with respect to its XML instance documents as follows:  An updated minor version
of the XML schema (for example, "m.n+1.*") shall successfully validate XML instance documents that validated successfully using
the original version of the XML schema (for example, "m.n.*"). An XML instance document that successfully validates against an
updated minor version of the XML schema may or may not validate against the original version of the XML schema.
In other words, the XML schema may introduce additional functionality as long as it does not break existing XML instance
documents.</xsd:documentation>
    </xsd:annotation>
    <!-- Note:  In order to speed up processing, to enable offline work, and to deal with service refusals when
    accessing a file too often from the same source IP address, an XML catalog can be used to redirect the URLs stated
    in schema locations to local copies of these files.  -->
    <xsd:import namespace="http://www.w3.org/1999/xhtml" schemaLocation="http://www.w3.org/2002/08/xhtml/xhtml1-strict.xsd"/>
    <!-- The following namespace is the well-known "xmlns:xml" namespace; it is needed for using xml:lang. Specifying
           schemaLocation="http://www.w3.org/2001/03/xml.xsd" is not needed, since the schema location is also well-known. -->
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
    <xsd:simpleType name="Identifier_Type">
        <xsd:annotation>
            <xsd:documentation>Type for an identifier, as defined by the IDENTIFIER ABNF rule defined in DSP0004.</xsd:documentation>
        </xsd:annotation>
        <xsd:restriction base="xsd:NCName"/>
    </xsd:simpleType>
    <xsd:complexType name="XHTML_Type" mixed="true">
        <xsd:annotation>
            <xsd:documentation>Type for XHTML text (that is, text marked up using XHTML 1.1).</xsd:documentation>
        </xsd:annotation>
        <xsd:sequence minOccurs="0" maxOccurs="unbounded">
            <xsd:any namespace="http://www.w3.org/1999/xhtml" processContents="skip"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="XHTML" type="XHTML_Type">
        <xsd:annotation>
            <xsd:documentation>Element with XHTML 1.1 content.
In addition, this element is used as the substitution group head for elements that extend this element.</xsd:documentation>
        </xsd:annotation>
    </xsd:element>
    <xsd:simpleType name="DefinedDocumentVersion_Type">
        <xsd:annotation>
            <xsd:documentation>Type for defining the version of documents; this is the full version, including any indicators for the fix level or draft level.</xsd:documentation>
        </xsd:annotation>
        <xsd:union>
            <xsd:simpleType>
                <xsd:annotation>
                    <xsd:documentation>For documents owned by DMTF. Example: "1.1.0m".</xsd:documentation>
                </xsd:annotation>
                <xsd:restriction base="xsd:string">
                    <xsd:pattern value="[0-9]+\.[0-9]+\.[0-9]+[a-z]{0,2}"/>
                </xsd:restriction>
            </xsd:simpleType>
            <xsd:simpleType>
                <xsd:annotation>
                    <xsd:documentation>For documents owned by other organizations.</xsd:documentation>
                </xsd:annotation>
                <xsd:restriction base="xsd:string"/>
            </xsd:simpleType>
        </xsd:union>
    </xsd:simpleType>
    <xsd:simpleType name="ReferencedDocumentVersion_Type">
        <xsd:annotation>
            <xsd:documentation>Type for referencing the version of documents, this consists of those version identifiers that imply the level of functional content and optionally includes those version identifiers that indicate a minimally required fix level or draft level.</xsd:documentation>
        </xsd:annotation>
        <xsd:union>
            <xsd:simpleType>
                <xsd:annotation>
                    <xsd:documentation>For documents owned by DMTF. Example: "1.1" or "1.1.0".</xsd:documentation>
                </xsd:annotation>
                <xsd:restriction base="xsd:string">
                    <xsd:pattern value="[0-9]+\.[0-9]+(\.[0-9]+([a-z]{0,2})?)?"/>
                </xsd:restriction>
            </xsd:simpleType>
            <xsd:simpleType>
                <xsd:annotation>
                    <xsd:documentation>For documents owned by other organizations.</xsd:documentation>
                </xsd:annotation>
                <xsd:restriction base="xsd:string"/>
            </xsd:simpleType>
        </xsd:union>
    </xsd:simpleType>
    <xsd:simpleType name="DefinedProfileVersion_Type">
        <xsd:annotation>
            <xsd:documentation>Type for defining the version of DMTF management profiles (for example, "1.1.0").
Note, this is for the (logical) profile within a profile document.</xsd:documentation>
        </xsd:annotation>
        <xsd:restriction base="xsd:string">
            <xsd:pattern value="[0-9]+\.[0-9]+\.[0-9]+"/>
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="ReferencedProfileVersion_Type">
        <xsd:annotation>
            <xsd:documentation>Type for referencing the version of DMTF management profiles (for example, "1.1" or "1.1.0").
Note, this is for the (logical) profile within a profile document.</xsd:documentation>
        </xsd:annotation>
        <xsd:restriction base="xsd:string">
            <xsd:pattern value="[0-9]+\.[0-9]+(\.[0-9]+)?"/>
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="DefinedRegistryVersion_Type">
        <xsd:annotation>
            <xsd:documentation>Type for defining the version of DMTF registries (for example, "1.1.0").</xsd:documentation>
        </xsd:annotation>
        <xsd:restriction base="xsd:string">
            <xsd:pattern value="[0-9]+\.[0-9]+\.[0-9]+"/>
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="ReferencedRegistryVersion_Type">
        <xsd:annotation>
            <xsd:documentation>Type for referencing the version of DMTF registries (for example, "1.1" or "1.1.0").</xsd:documentation>
        </xsd:annotation>
        <xsd:restriction base="xsd:string">
            <xsd:pattern value="[0-9]+\.[0-9]+(\.[0-9]+)?"/>
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="DefinedSchemaVersion_Type">
        <xsd:annotation>
            <xsd:documentation>Type for defining the version of CIM schemas (for example, "2.28.0").</xsd:documentation>
        </xsd:annotation>
        <xsd:restriction base="xsd:string">
            <xsd:pattern value="[0-9]+\.[0-9]+\.[0-9]+"/>
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="ReferencedSchemaVersion_Type">
        <xsd:annotation>
            <xsd:documentation>Type for referencing the version of CIM schemas (for example, "2.28" or "2.28.0").</xsd:documentation>
        </xsd:annotation>
        <xsd:restriction base="xsd:string">
            <xsd:pattern value="[0-9]+\.[0-9]+(\.[0-9]+)?"/>
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="DocumentOwningEntity_Type">
        <xsd:annotation>
            <xsd:documentation>Internal type for a name that identifies the organization owning a document.</xsd:documentation>
        </xsd:annotation>
        <xsd:union>
            <xsd:simpleType>
                <xsd:annotation>
                    <xsd:documentation>For documents owned by DMTF.</xsd:documentation>
                </xsd:annotation>
                <xsd:restriction base="xsd:string">
                    <xsd:pattern value="DMTF"/>
                </xsd:restriction>
            </xsd:simpleType>
            <xsd:simpleType>
                <xsd:annotation>
                    <xsd:documentation>For documents owned by other organizations.</xsd:documentation>
                </xsd:annotation>
                <xsd:restriction base="xsd:string"/>
            </xsd:simpleType>
        </xsd:union>
    </xsd:simpleType>
    <xsd:complexType name="DocumentLanguage_Type">
        <xsd:annotation>
            <xsd:documentation>Internal type for specifying the language used in a document.</xsd:documentation>
        </xsd:annotation>
        <xsd:attribute ref="xml:lang" default="en-US">
            <xsd:annotation>
                <xsd:documentation>Locale used for the document.</xsd:documentation>
            </xsd:annotation>
        </xsd:attribute>
    </xsd:complexType>
</xsd:schema>
