This is a continuation of my first thread that I started, but I've boiled the issue down to what appears to be a well known behavior of XmlSerializer class.
microsoft.public.dotnet.xml | Google Groups
Apparently it is unable to serialize Jagged Arrays properly even though the XSD.EXE generated the code.
There have been a few solutions floated around the web, but they involved tinkering with the generated code. I'm averse to going that route because the schema I have to adhere to will be validated by the agency I'm sending my XML to. So I don't have the flexibility of modifying the XSD to make it easier to manipulate.
Is anyone aware of a more elegant way to generate this code from a schema and then serialize it into XML?
Is there an alternative to XSD.EXE?
microsoft.public.dotnet.xml | Google Groups
Apparently it is unable to serialize Jagged Arrays properly even though the XSD.EXE generated the code.
There have been a few solutions floated around the web, but they involved tinkering with the generated code. I'm averse to going that route because the schema I have to adhere to will be validated by the agency I'm sending my XML to. So I don't have the flexibility of modifying the XSD to make it easier to manipulate.
Is anyone aware of a more elegant way to generate this code from a schema and then serialize it into XML?
Is there an alternative to XSD.EXE?