-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Empty QName deserialized as null
#4450
Comments
Quick question: is |
Hello @cowtowncoder , according to the
|
Ok, fair enough. I'll try to follow up with this when I get a chance; or if you (or anyone else) wants to provide a PR (against 2.18 I think as it's behavioral change) would be happy to review and merge. |
null
thanks again, @cowtowncoder , we are using your fixed version now :-) |
@winne42 Great! Thank you for sharing. |
Search before asking
Describe the bug
When deserializing
javax.xml.QName
s, IMHOQName.valueOf()
should always be used. Unfortunately, Jackson has a different code path when deserializing an empty string""
: Instead of aQName
instance with an empty local part,null
is returned.Version Information
2.16.1
Reproduction
<-- Any of the following
-->
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: