Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error loading XML
Message
De
15/10/2004 12:01:57
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00951154
Message ID:
00951758
Vues:
8
Thanks Fabio.

I generated the xsd file using the cursoradapter but maybe I copied it wrong.

>Hi James,
>
>Your schema file is not supposed to include the "VFPDataSet" element. If you just remove the "VFPDataSet" element from the schema file (which is problably there by accident), your code will run fine.
>
>** XSD file **
>
>
><?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
><xsd:schema id="VFPDataSet" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
>	<xsd:element name="VFPDataSet" msdata:IsDataSet="true">
>		<xsd:complexType>
>			<xsd:choice maxOccurs="unbounded">
>				<xsd:element name="afrm_products_pref" minOccurs="0" maxOccurs="unbounded">
>					<xsd:complexType>
>						<xsd:sequence>
>							<xsd:element name="ckey">
>								<xsd:simpleType>
>									<xsd:restriction base="xsd:string">
>										<xsd:maxLength value="200"/>
>									</xsd:restriction>
>								</xsd:simpleType>
>							</xsd:element>
>							<xsd:element name="cobjref">
>								<xsd:simpleType>
>									<xsd:restriction base="xsd:string">
>										<xsd:maxLength value="200"/>
>									</xsd:restriction>
>								</xsd:simpleType>
>							</xsd:element>
>							<xsd:element name="cvalue">
>								<xsd:simpleType>
>									<xsd:restriction base="xsd:string">
>										<xsd:maxLength value="200"/>
>									</xsd:restriction>
>								</xsd:simpleType>
>							</xsd:element>
>							<xsd:element name="ctype">
>								<xsd:simpleType>
>									<xsd:restriction base="xsd:string">
>										<xsd:maxLength value="1"/>
>									</xsd:restriction>
>								</xsd:simpleType>
>							</xsd:element>
>						</xsd:sequence>
>					</xsd:complexType>
>				</xsd:element>
>			</xsd:choice>
>			<xsd:anyAttribute namespace="http://www.w3.org/XML/1998/namespace" processContents="lax"/>
>		</xsd:complexType>
>	</xsd:element>
></xsd:schema>
>
>
>HTH.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform