<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    <xs:attribute name="color" fixed="red"/>
    <xs:element name="car" >
        <xs:complexType>
            <xs:attribute ref="color" use="required" fixed="red"/>
        </xs:complexType>
    </xs:element>
</xs:schema>              
