You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With code generated by XmlSchemaClassGenerator I can't figure out how to preserve order of Plus/Minus operations, because it always dumps all the Plus elements first and Minus after.
It worked fine with xsd.exe generated code, but with XmlSchemaClassGenerator handling choice differently - I can't figure out how to work around the problem without changing xsd to use xs:any which is much worse than what xsd.exe generates.
The text was updated successfully, but these errors were encountered:
Hi, I have a problem similar to #285 and looking for solution/workaround.
I have an xml which contains sequence of Plus/Minus elements (simplified here) and their order matters to the backend.
And following xsd which utilizes choice.
With code generated by
XmlSchemaClassGenerator
I can't figure out how to preserve order of Plus/Minus operations, because it always dumps all thePlus
elements first andMinus
after.It worked fine with xsd.exe generated code, but with
XmlSchemaClassGenerator
handling choice differently - I can't figure out how to work around the problem without changing xsd to usexs:any
which is much worse than what xsd.exe generates.The text was updated successfully, but these errors were encountered: