<?xml version="1.0" encoding="UTF-8"?>
<!--

                Copyright (C) 2006 W3C (R) (MIT ERCIM Keio), All Rights Reserved.
                W3C liability, trademark and document use rules apply.
            
                http://www.w3.org/Consortium/Legal/ipr-notice
                http://www.w3.org/Consortium/Legal/copyright-documents
            
		Generated from: $Id: echoRestrictedPattern.xsd,v 1.3 2009/03/19 23:16:11 pdowney Exp $
-->
<xs:schema xmlns="http://www.w3.org/2002/ws/databinding/examples/6/09/"
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:p="http://www.w3.org/2002/ws/databinding/patterns/6/09/"
           xmlns:ex="http://www.w3.org/2002/ws/databinding/examples/6/09/"
           targetNamespace="http://www.w3.org/2002/ws/databinding/examples/6/09/"
           elementFormDefault="qualified">
   <xs:element xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/"
               xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
               name="restrictedPattern"
               type="ex:RestrictedPattern"/>
   <xs:simpleType xmlns:wsdl11="http://schemas.xmlsoap.org/wsdl/"
                  xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/"
                  name="RestrictedPattern">
      <xs:restriction base="xs:string">
        <xs:minLength value="1"/>
        <xs:maxLength value="6"/>
        <xs:pattern value="[0-9]{1,6}"/>
      </xs:restriction>
    </xs:simpleType>
   <xs:element name="echoRestrictedPattern">
      <xs:complexType>
         <xs:sequence>
            <xs:element ref="ex:restrictedPattern"/>
         </xs:sequence>
      </xs:complexType>
   </xs:element>
</xs:schema>