I've been working to create classes representing the HR-Xml 3 spec for the stand-along packages related to Screening. I've had a couple of problems, but currently I believe the main problem is the lack of support within xsd.exe for the xsd:union statement.
When Xsd.exe encounters a simple type defined by union, it ignores the definition and uses the built-in string data type in its place.
From - http://msdn.microsoft.com/en-us/library/bc57azyw%28VS.85%29.aspx
The only solution I've seen on various forums and newsgroups is to restructure the XSD to not use the union? However, even with the small subset of entities I need, the number of union statements approaches 100. Perhaps this is the only solution?
I've been stuck on this for a number of days now and haven't been able to find anything real useful, besides "nope, that doesn't work". In the end, I need to make it work somehow. Any suggestions for tools, redesigns, converters, anything that can get me these classes! I've even started to think about generating Java classes and then converting those to C#... I'm at a loss
Thanks in advance! I certainly hope there's some solution to this!