Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Loading Schema from xsd into a dataset ? error ?


Message #1 by "Rohit Arora" <rohit_arora@i...> on Fri, 31 Jan 2003 11:54:26 +0530
Hi group,

While loading schema into dataset i am getting this error.
	"The XPath for selector or field cannot be empty. An error occurred at ,
(191, 8)."
Can anybody explain what does this means ?

---------corresponding xsd element where error is coming-----------
			<element name='City' minOccurs='0'>
				<simpleType>
					<restriction base='string'>
						<maxLength value='100' />
					</restriction>
				</simpleType>
			</element>
--------------------------------------------------------------------

Regards
Rohit Arora

Message #2 by "Alessandro Facchini" <alfacchini@l...> on Sat, 1 Feb 2003 00:07:41 +0100
You have to define the identity constraints: unique, key and keyref.

Alessandro Facchini
Italy


----- Original Message ----- 
From: "Rohit Arora" <rohit_arora@i...>
To: "ASP.NET" <aspx@p...>
Sent: Friday, January 31, 2003 7:24 AM
Subject: [aspx] Loading Schema from xsd into a dataset ? error ?


> Hi group,
> 
> While loading schema into dataset i am getting this error.
> "The XPath for selector or field cannot be empty. An error occurred at ,
> (191, 8)."
> Can anybody explain what does this means ?
> 
> ---------corresponding xsd element where error is coming-----------
> <element name='City' minOccurs='0'>
> <simpleType>
> <restriction base='string'>
> <maxLength value='100' />
> </restriction>
> </simpleType>
> </element>
> --------------------------------------------------------------------
> 
> Regards
> Rohit Arora
> 
> 


  Return to Index