<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:nist="NISTSchema-language-pattern-1-NS"
        targetNamespace="NISTSchema-language-pattern-1-NS">

  <annotation>
    <documentation>
      The National Institute of Standards and Technology.
      Conformance test for W3C XML Schema Part 2: Datatypes.
      (See http://www.w3.org/TR/2001/PR-xmlschema-2-20010330/)
      Created Sep 24, 2001.

      File: NISTSchema-language-pattern-1.xsd
      This schema specifies a datatype, NISTSchema-language-pattern-1,
      which is derived by restriction of built-in type language
      by facet pattern with a value of: ([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]{1,8})(-[a-zA-Z]{3})*
    </documentation>
  </annotation>

  <element name="NISTSchema-language-pattern-1" type="nist:NISTSchema-language-pattern-1-Type"/>

  <simpleType name="NISTSchema-language-pattern-1-Type">
    <restriction base="language">
      <pattern value="([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]{1,8})(-[a-zA-Z]{3})*"/>
    </restriction>
  </simpleType>

</schema>
