Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in XSD file
Message
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01280761
Message ID:
01280824
Views:
21
This is the entire XML (do you see anything wrong here?):
<?xml version="1.0" standalone="yes" ?>
<PagerConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:noNamespaceSchemaLocation="PagerPref.xsd" >
   <Page>
        <SendPage>N</SendPage>
        <PageNumber>508@company.net</PageNumber>
        <DayFrom>2</DayFrom>
        <DayTo>2</DayTo> 
        <TimeFrom>15:00</TimeFrom>
        <TimeTo>07:00</TimeTo>
        <SmtpIp>10.0.0.48</SmtpIp>
        <SenderName>Some Name</SenderName>
        <SenderEmail>name@yahoo.com</SenderEmail>
   </Page>  
   <Page>
        <SendPage>Y</SendPage>
        <PageNumber>508@company.net</PageNumber>
	<DayFrom>1</DayFrom>
	<DayTo>7</DayTo>	
        <TimeFrom>15:00</TimeFrom>
        <TimeTo>07:00</TimeTo>
        <SmtpIp>smtp.earthlink.net</SmtpIp>
        <SenderName>Some Name</SenderName>
        <SenderEmail>name@yahoo.com</SenderEmail>
   </Page>  
</PagerConfig>
Thank you.

>Maybe something wrong in the way you are using it not with the file itself?
>
>>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
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform