1 <?xml version="1.0"?>
   2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
   3 >
   4 
   5 <!-- 
   6 base='string', pattern='', value='#x20;', type='invalid', RULE='1'
   7 -->
   8 
   9 <xsd:element name="doc">
  10     <xsd:complexType>
  11             <xsd:choice>
  12                 <xsd:element name="elem" type="Regex" minOccurs="1" maxOccurs="unbounded"/>
  13             </xsd:choice>
  14     </xsd:complexType>
  15 </xsd:element>
  16 
  17 <xsd:complexType name="Regex">
  18    <xsd:attribute name="att">
  19        <xsd:simpleType>
  20            <xsd:restriction base="xsd:string">
  21                <xsd:pattern value=""/>    
  22            </xsd:restriction>
  23        </xsd:simpleType>
  24    </xsd:attribute>
  25 </xsd:complexType>
  26 
  27 
  28 
  29 </xsd:schema>