467,923 Members | 1,156 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,923 developers. It's quick & easy.

"Data type not defined" Error when Loading Dataset: Please HELP!

Hello,
What is wrong with this simple schema. When I try to load it to a dataset it
gives me an error, "Data type not defined"

Thanks.

******************************
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org"
targetNamespace="http://tempuri.org"
xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:element name="Document" type="tns:OMessage">
</xs:element>

<xs:complexType name="OMessage">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="sessionId"
type="xs:normalizedString">
</xs:element>
<xs:element minOccurs="1" maxOccurs="15" name="command"
type="tns:OCommand">
</xs:element>
</xs:sequence>
</xs:complexType>

<xs:complexType name="OCommand" abstract="true">
<xs:sequence>
</xs:sequence>
<xs:attribute name="echo" type="xs:string" use="optional">
</xs:attribute>
</xs:complexType>
</xs:schema>

******************************

Apr 20 '06 #1
  • viewed: 2473
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Lou Pecora | last post: by
2 posts views Thread by Dave Strydom | last post: by
4 posts views Thread by floppyzedolfin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.