I need some help to solve this issue. I have a schema file called "a.xsd". I used new DataSet to read it using ReadXmlSchema and save it right away using WriteXmlSchema method without doing any data input. The new saved schema "b.xsd" is different from "a.xsd". Especially, it changes the sequence of the elements. It makes my output xml file not compliant with my original schema. I searched web and found nothing related. Please help and tell me if this is bug or something I missed. Thanks a lot.
Two schema files are listed below:
=== a.xsd ===
<?xml version="1.0" standalone="yes"?>
<
</
==== b.xsd ====