Open auliere opened 3 years ago
For issue 1 - Looks like it is partially done on purpose:
After commenting this check for duplicates my SampleSchema produces a valid c# file.
Hello,
Yes I'm aware of the issue; I've been trying to properly diagnose & fix the issue in the multipleEnumFix branch, but due to time constraints haven't been able to get to the root cause.
@mamift - I see that your most recent commit to master branch has fixed this issue. Do you know when you plan to release this version so that it can be used without building the tool from the sources?
Thank you very much for actively supporting this tool! It is very much appreciated!!!
@mamift - I see that your most recent commit to master branch has fixed this issue. Do you know when you plan to release this version so that it can be used without building the tool from the sources?
Yes I do intend to do that; I'll see if I can get around to it this coming weekend.
@auliere New release should be publicly visible shortly: https://www.nuget.org/packages/LinqToXsdCore/3.2.1
@mamift Thank you very much for the fix and a prompt release! Works nice and helps us to get the job done!
Looks like problem 2 still persists though - but I didn't encounter any problems with it for now in my real projects.
There are a couple of bugs related to enum generation.
1) When you have two anonymous enum types defined for attributes within different complex types, the enum only generates for a single one of these comples types (see the example in the attachment) SimpleSchema.zip
2) When you have two anonymous enum types defined for elements within different complex types, the enum is not generated at all (please see the example in the attachment) SimpleSchemaElement.zip