I have this schema

VB Code:
  1. <?xml version="1.0" ?>
  2. <xs:schema id="NewDataSet" targetNamespace="http://tempuri.org/LDAPSchema.xsd" xmlns:mstns="http://tempuri.org/LDAPSchema.xsd"
  3.     xmlns="http://tempuri.org/LDAPSchema.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
  4.     attributeFormDefault="qualified" elementFormDefault="qualified">
  5.     <xs:element name="user">
  6.         <xs:complexType>
  7.             <xs:sequence>
  8.                 <xs:element name="name" type="xs:string" minOccurs="0" />
  9.                 <xs:element name="password" type="xs:string" minOccurs="0" />
  10.                 <xs:element name="domain" type="xs:string" minOccurs="0" />
  11.             </xs:sequence>
  12.         </xs:complexType>
  13.     </xs:element>
  14. </xs:schema>

When I try to validate it with this xml

VB Code:
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <user xmlns="http://tempuri.org/LDAPSchema.xsd">
  3.     <name>
  4.     </name>
  5.     <password>
  6.     </password>
  7.     <domain>
  8.     </domain>
  9. </user>

I get lots of errors!! WHere do you think the problem is? With the schema or with the xml file. I generated the schema with developer studio

/Henrik