Skip to content

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

@cowtowncoder

Description

@cowtowncoder

(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.19has-failing-testIndicates that there exists a test case (under `failing/`) to reproduce the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions