I have attached the XML and XSD files below after my description in a ZIP file, as well as the three XSD include files.
I am trying to deserialize the XML and get the error:
System.InvalidOperationException: There is an error in XML document (1, 40). --> System.InvalidOperationException: <CURRENT-TRMS xmlns=''> was not expected.
I have read other articles that lead me to believe this was a namespace issue, but I believe it has something to do with the "xs:include". When the XSD does not use "included" content, and I remove the XML nodes that reference these "xs:include" elements, all works well.
However, both Altova XMLSpy and Visual Studio 2010 XML Schema Explorer have no complaints with "include".
Is it possible that the Deserialize method of the XmlSerializer class does not know how to handle "xs:include" ?
Any help is greatly appreciated.