autogenerate different getter code for strings and wide strings#36
autogenerate different getter code for strings and wide strings#36jethac wants to merge 1 commit intoSonyWWS:masterfrom
Conversation
|
Your changes will break the interface for getting object property. <code langu
|
|
Ahh, breaking the interface would be bad. I'm a little concerned that we're talking past each other at the moment though; with the current pre-patch code, when you have an element in your XSD containing:
The auto-generated code will be: Which doesn't seem right, seeing as:
Is that what was intended? |
|
Thanks for clarifying it, Alan |
|
Thanks Alan! 😄 |
ec8b0d0 to
6f47d89
Compare
I was having some difficulty marshalling a native wide string property into a managed string when I realised the code CodeGenDom was giving me was wrong.
The patch is somewhat self-explanatory - when it's a string, we want to:
Seeing as the repository includes the binaries, I thought about providing rebuilt binaries, but it might be easier to merge without them.