Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in XSD file
Message
From
10/01/2008 06:02:14
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01280761
Message ID:
01280821
Views:
21
Error is in definition of root element:
<xsd:element name="Page" minOccurs="0" maxOccurs="unbounded">
minOccurs and maxOccurs are not allowed as attributes in root element.



>I am getting an error message "Unable to infer XML schema" when working with the followings xsd file:
>
>
><?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
>	<xsd:element name="Page" minOccurs="0" maxOccurs="unbounded">
>		<xsd:complexType>
>			<xsd:sequence>
>				<xsd:element name="SendPage" type="xsd:string" />
>				<xsd:element name="PageNumber" type="xsd:string" />
>				<xsd:element name="DayFrom" type="xsd:string" />
>				<xsd:element name="DayTo" type="xsd:string" />
>				<xsd:element name="TimeFrom" type="xsd:string" />
>				<xsd:element name="TimeTo" type="xsd:string" />
>				<xsd:element name="SmtpIp" type="xsd:string" />
>				<xsd:element name="SenderName" type="xsd:string" />
>				<xsd:element name="SenderEmail" type="xsd:string" />
>			</xsd:sequence>
>		</xsd:complexType>
>	</xsd:element>
></xsd:schema>
>
>
>What can be wrong with the above file?
>
>Thank you
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform