XML Schema: Sanity check

Hey XML Gurus,

I need a quick sanity check on a schema and document.

XML Document I'm trying to parse:


<?xml version="1.0" encoding="utf-8" ?>
<rss xmlns="http://psgit.hp.com/elements/stargate/rss20">
<channel>
<title>MSN Video Highlights</title>
</channel>
</rss>


My schema:

<?xml version="1.0" encoding="utf-8" ?>
<xs:schema targetNamespace="http://psgit.hp.com/elements/stargate/rss20"
xmlns:rs="http://psgit.hp.com/elements/stargate/rss20"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="rss">
<xs:complexType>
<xs:sequence>
<xs:element name="channel" type="rs:channel" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="version" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:complexType name="channel">
<xs:sequence>
<xs:element name="title" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="item" type="rs:item" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="item">
<xs:sequence>
<xs:element name="title" type="xs:string" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:schema>


To me it looks like the document fits the schema, but it doesn't parse. I use XMLBeans, and it's worked fine for me in the past.
[1618 byte] By [hankdane] at [2007-11-19 18:41:06]