NetReflector

26 views
Skip to first unread message

goo...@twia.nl

unread,
Jan 6, 2013, 8:01:20 AM1/6/13
to ccnet...@googlegroups.com
Hi,
 
Maybe I am a the wrong address here, but who is the maintainer of NetRelector? I found a sourceforge page (http://sourceforge.net/projects/netreflector/), but last activity there seems over three years old. I did notice the project is build on the CCNet build server.
I have an issue to report, and I may wat to contribute in fixing that issue, as wel as completing the support to generate an xsd form the NetReflector annotations.
 
With regards,

Daniël te Winkel
 

Ruben Willems

unread,
Jan 7, 2013, 2:58:08 AM1/7/13
to ccnet...@googlegroups.com
Hi

nobody is actively working on netreflector, but if t'here is a bug, and you have a fix,
we're surely interested in getting that one fixed :-)

you can mail the dev list with the fix if you want

with kind regards
Ruben Willems

goo...@twia.nl

unread,
Jan 8, 2013, 2:08:14 PM1/8/13
to ccnet...@googlegroups.com
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

Ruben Willems

unread,
Jan 13, 2013, 5:30:06 AM1/13/13
to ccnet...@googlegroups.com
Hi

sure, sounds like you found a base-problem.
and fixes on that are definitely welcome!

I can not promise that I can follow it up, on a daily basis, but I'll do my best.

It are hard times at work, very heavy workload :-(
For the moment I'm thinking and implementing procedures that should reduce this,
making more time for CCNet.



with kind regards
Ruben Willems

Reply all
Reply to author
Forward
0 new messages