Skip to content
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

Root-level null handling (via xsi:nil) leaves trailing token in JsonParser-exposed token stream #714

Open
cowtowncoder opened this issue Jan 30, 2025 · 0 comments
Labels
2.19 has-failing-test Indicates that there exists a test case (under `failing/`) to reproduce the issue

Comments

@cowtowncoder
Copy link
Member

(note: issue uncovered due to FasterXML/jackson-databind#3406 change to default of DeserializationFeature.FAIL_ON_TRAILING_TOKENS to true).

So: it looks like conversion of root XML object into virtual null (using xsi:nil at least) produces unwanted JsonToken.END_OBJECT token, caught by validation.
Ideally this would not occur.

@cowtowncoder cowtowncoder added the has-failing-test Indicates that there exists a test case (under `failing/`) to reproduce the issue label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.19 has-failing-test Indicates that there exists a test case (under `failing/`) to reproduce the issue
Projects
None yet
Development

No branches or pull requests

1 participant