# test bad attribute type

--- |
  <?xml version="1.0" encoding="UTF-8"?>
  <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="foo">
      <complexType>
        <attribute name="typed" type="foobar" />
      </complexType>
    </element>
  </schema>

--- |
  <foo typed="foo"/>
--- >
FAIL /unrecognized\s+type/