-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jackson 2.10.x fails to deserialize xsi:nil with multiple child elements #378
Comments
http://www.w3.org/2001/XMLSchema-instance
Happy new year! Any ideas to a workaround or fix for this, @cowtowncoder ? |
Happy new year! No, unfortunately I have not had time to work on xml module. But I think I can probably add a failing test for this soon at least. |
Hmmh. Ok, from some digging it looks like second element gets skipped for some reason. |
Happy new year! Weird. It's got something to do with using the |
Sort of; I think it is really "transformation" of element into I think I can figure out a fix/work-around for this particular problem. It's just more difficult than it should be, because of complexity of backend implementation which at this point is patch-over-patch, transforming one stream of events into another with sort of minimal state keeping. |
http://www.w3.org/2001/XMLSchema-instance
Thanks! |
2.10.2 now released, I hope things work as expected. Also, reports for other edge cases (if any) would be welcome. |
FasterXML/jackson-module-kotlin#396 might be related to this (jackson 2.12.0-rc1 regression) |
This XML:
.. fails to properly deserialize in Jackson 2.10.x. Both
Hey
andHo
are null, while in 2.9.9 they were""
and"to"
.See test project at https://github.com/henrik242/jackson-xml-problem/tree/jackson-xml-nil-problem
First reported in #354 (comment) and #358 (comment)
The text was updated successfully, but these errors were encountered: