Hi Eric,
the senumval sample program is designed to take an XML file as input, not an XML schema.


Alberto

At 23.08 05/12/2003 -0500, Eric Nilson wrote:
I just noticed that my schema file had been truncated. Resending below question on why windows C example program senumval.exe always fails
with complete schema file.
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="<http://www.w3.org/2001/XMLSchema>http://www.w3.org/2001/XMLSchema";


targetNamespace="<http://www.publishing.org>http://www.publishing.org";
xmlns="<http://www.publishing.org>http://www.publishing.org";
elementFormDefault="qualified">
<xsd:element name="BookOnCars">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Chapter">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Title" type="xsd:string"/>
<xsd:element name="Section">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Title" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Title" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="Title">
<xsd:sequence>
<xsd:element name="CarManufacturer" type="xsd:string"/>
<xsd:element name="Year" type="xsd:gYear"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Title" type="xsd:string"/>
<xsd:attribute name="Title" type="xsd:string"/>
</xsd:schema>


----- Original Message -----
From: <mailto:[EMAIL PROTECTED]>Eric Nilson
To: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 10:23 PM
Subject: senumval.cpp



Does anyone have a fix for example program senumval.exe on windows versions 2, 3 and 4.
I cannot get the senumval.exe program to run on any schema xsd file.
Error message always comes back as:
Errors occurred, no output available


One of the xsd files which is good but fails is listed below:

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="<http://www.w3.org/2001/XMLSchema>http://www.w3.org/2001/XMLSchema";


targetNamespace="<http://www.publishing.org>http://www.publishing.org";
xmlns="<http://www.publishing.org>http://www.publishing.org";
elementFormDefault="qualified">
<xsd:element name="BookOnCars">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Chapter">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Title" type="xsd:string"/>
<xsd:element name="Section">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Title" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Title" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="Title">
<xsd:sequence>
<xsd:element name="CarManufacturer" type="xsd:string"/>
<xsd:element name="Year" type="xsd:gYear"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Title" type="xsd:string"/>
<xsd:attribut



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to