need additional help with xml
I have this schema
VB Code:
<?xml version="1.0" ?>
<xs:schema id="NewDataSet" targetNamespace="http://tempuri.org/LDAPSchema.xsd" xmlns:mstns="http://tempuri.org/LDAPSchema.xsd"
xmlns="http://tempuri.org/LDAPSchema.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:element name="user">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" minOccurs="0" />
<xs:element name="password" type="xs:string" minOccurs="0" />
<xs:element name="domain" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
When I try to validate it with this xml
VB Code:
<?xml version="1.0" encoding="utf-8"?>
<user xmlns="http://tempuri.org/LDAPSchema.xsd">
<name>
</name>
<password>
</password>
<domain>
</domain>
</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