Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    has-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