Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error in XSD file
Message
De
10/01/2008 06:02:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01280761
Message ID:
01280821
Vues:
26
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform