I am working on an XML file for the NCUA program. The XML program comes with a complex XML schema. I am writing an XML file that is getting a Assigning Extracted Properties - Overflow error when importing the file into the NCUA software. I think I am just making a mistake in the XML file.

Here is the schema:

VB Code:
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- edited with XMLSpy v2005 rel. 3 U ([url]http://www.altova.com[/url]) by Matt Hostetler (private) -->
  3. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="unqualified">
  4.     <xs:element name="Transmission" type="typTransmission"/>
  5.     <xs:complexType name="typTransmission">
  6.         <xs:sequence>
  7.             <xs:element name="CreditUnion" type="typCreditUnion"/>
  8.         </xs:sequence>
  9.         <xs:attribute name="email" type="xs:string" use="optional"/>
  10.         <xs:attribute name="Password" type="xs:string" use="optional"/>
  11.         <xs:attribute name="UploadId" type="xs:string" use="optional"/>
  12.         <xs:attribute name="IsValidated" type="xs:boolean" use="required"/>
  13.         <xs:attribute name="IsExaminer" type="xs:boolean" use="optional"/>
  14.         <xs:attribute name="Err" type="xs:integer" use="optional"/>
  15.     </xs:complexType>
  16.     <xs:complexType name="typCreditUnion">
  17.         <xs:sequence>
  18.             <xs:element name="Cycle" type="typCycle"/>
  19.         </xs:sequence>
  20.         <xs:attribute name="CharterName" type="xs:string" use="required"/>
  21.         <xs:attribute name="CharterNumber" type="xs:integer" use="required"/>
  22.         <xs:attribute name="CheckDigit" type="xs:integer" use="required"/>
  23.         <xs:attribute name="Region" type="xs:integer" use="required"/>
  24.     </xs:complexType>
  25.     <xs:complexType name="typCycle">
  26.         <xs:sequence>
  27.             <xs:element name="Account" type="typAccount" maxOccurs="unbounded"/>
  28.             <xs:element name="Comment" type="typComment" minOccurs="0" maxOccurs="unbounded"/>
  29.         </xs:sequence>
  30.         <xs:attribute name="CycleDate" type="xs:date" use="required"/>
  31.         <xs:attribute name="UploadDate" type="xs:string" use="optional"/>
  32.         <xs:attribute name="Form" type="xs:integer" use="required"/>
  33.         <xs:attribute name="UploadFlag" type="xs:boolean" use="optional"/>
  34.         <xs:attribute name="SWFlag" type="xs:boolean" use="optional"/>
  35.         <xs:attribute name="ValidateType" type="xs:string" use="optional"/>
  36.     </xs:complexType>
  37.     <xs:complexType name="typAccount">
  38.         <xs:attribute name="Name" type="xs:string" use="required"/>
  39.         <xs:attribute name="DataType" use="required">
  40.             <xs:simpleType>
  41.                 <xs:restriction base="xs:string">
  42.                     <xs:length value="1"/>
  43.                 </xs:restriction>
  44.             </xs:simpleType>
  45.         </xs:attribute>
  46.         <xs:attribute name="Value" type="xs:string" use="required"/>
  47.         <xs:attribute name="Override" type="xs:boolean" use="optional"/>
  48.     </xs:complexType>
  49.     <xs:complexType name="typComment">
  50.         <xs:attribute name="Name" type="xs:string" use="required"/>
  51.         <xs:attribute name="Value" type="xs:string" use="required"/>
  52.     </xs:complexType>
  53. </xs:schema>

here is my XML file
VB Code:
  1. <?xml version="1.0"?>
  2. <Transmission IsValidated="true">
  3. <CreditUnion CharterName="BUFFALO FIRE DEPT. FEDERAL CREDIT UNION" CharterNumber="24068" CheckDigit="1584" Region="1">
  4. <Cycle CycleDate="2005-09-30" UploadDate="2005-09-30" Form="5300">
  5. <Account Name="A887Z" DataType="@" Value="Something"/>
  6. </Cycle>
  7. </CreditUnion>
  8. </Transmission>


Any thoughts?