Hi Ruben,
Thanks.
Actually I found the bug while looking at the code for the xsd generation. The unit tests for the generator are currently ignored becaude the xsd generation does not work yet. I am looking at the xsd generator to complete and fix it. As such I created a fork of the NetReflector project on GitHub and starrted to see where the unit tests were failing.
The first failure is that in the xds for a DateTime object in C# an XML datetime type is used in the definition, but the way in which the date-time values are written is not according to the XML spec for datetime and is in fact prone to localisation dependant and prone to error when written with one locale and read with another. Fixing the xds generator unit tests breaks some other stuff, because throughout the datetime for the unit tests in the TestClass.DateTime field needs to read and written in the XML compatible way.
Next issue is that during the generation of the xsd an extra attribute definition needs to be generated when the InstanceTypeKey on the ReflectorProperty attribute is set.
First I want to fix the date-time handling.
Next I want to see if I can complete the xsd generation, but I have the feeling there is a bit more that than may meet the eye right now.
Are you in for pull request on each stage of my developement?
With regards,
Daniël