<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:t="test" targetNamespace="test">

  <complexType name="qname">
    <sequence>
      <element name="a" type="QName" default="x:a"/>
    </sequence>
    <attribute name="x" type="QName" default="x:x"/>
    <attribute name="y" type="QName" fixed="x:y" use="required"/>
  </complexType>

  <complexType name="type">
    <sequence>
      <element name="qname" type="t:qname"/>
    </sequence>
  </complexType>

  <element name="root" type="t:type"/>

</schema>
