-
-
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
QName
(de)serialization ignores prefix
#4771
Comments
Thank you for reporting this @jpraet. I can see the problem, but it'll probably be difficult to resolve in a backwards-compatible way. PRs welcome. |
mcvayc
pushed a commit
to mcvayc/jackson-databind
that referenced
this issue
Jan 2, 2025
This commit fixes FasterXML#4771 by adding serialization and deserialization features to control whether a QName is serialized to a string using the "QName.toString()" method (the only option currently) or if it is serialized to JSON object (a new option to fix FasterXML#4771).
mcvayc
pushed a commit
to mcvayc/jackson-databind
that referenced
this issue
Jan 15, 2025
This commit fixes FasterXML#4771 by adding serialization and deserialization features to control whether a QName is serialized to a string using the "QName.toString()" method (the only option currently) or if it is serialized to JSON object (a new option to fix FasterXML#4771).
mcvayc
added a commit
to mcvayc/jackson-databind
that referenced
this issue
Feb 12, 2025
This commit fixes FasterXML#4771 by supporting the JsonFormat OBJECT shape during serialization and deserialization.
mcvayc
added a commit
to mcvayc/jackson-databind
that referenced
this issue
Feb 14, 2025
This commit fixes FasterXML#4771 by supporting the JsonFormat OBJECT shape during serialization and deserialization.
QName
(de)serialization ignores prefix
cowtowncoder
pushed a commit
that referenced
this issue
Feb 14, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search before asking
Describe the bug
QName (de)serialization ignores prefix, because it uses QName#toString() and QName#valueOf(java.lang.String).
Version Information
2.17.2
Reproduction
Expected behavior
QName prefix is preserved.
Additional context
No response
The text was updated successfully, but these errors were encountered: