--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<xsd:schema xmlns="http://www.example.com/schema/projectwithxsd"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.example.com/schema/projectwithxsd"
+ elementFormDefault="qualified">
+
+ <xsd:element name="bar" type="bar" />
+
+ <xsd:complexType name="bar">
+ <xsd:attribute name="foo" type="xsd:string" />
+ </xsd:complexType>
+</xsd:schema>