-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Mixed content not exposed through FromXmlParser
, lost by JsonNode
#405
Milestone
Comments
cowtowncoder
added a commit
that referenced
this issue
May 24, 2020
cowtowncoder
added a commit
that referenced
this issue
May 24, 2020
cowtowncoder
added a commit
that referenced
this issue
May 24, 2020
Implemented for 2.12(.0). Couple of limitations:
So it may make sense to introduce something more specific for really accurate XML content (besides above-mentioned issues, element/attribute distinction is not preserved either).
But work for those need to go under different issue. |
alex-bel-apica
pushed a commit
to ApicaSystem/jackson-dataformat-xml
that referenced
this issue
Sep 4, 2020
alex-bel-apica
pushed a commit
to ApicaSystem/jackson-dataformat-xml
that referenced
this issue
Sep 4, 2020
alex-bel-apica
pushed a commit
to ApicaSystem/jackson-dataformat-xml
that referenced
this issue
Sep 4, 2020
alex-bel-apica
pushed a commit
to ApicaSystem/jackson-dataformat-xml
that referenced
this issue
Sep 4, 2020
# Conflicts: # release-notes/VERSION-2.x # src/test/java/com/fasterxml/jackson/dataformat/xml/deser/JsonNodeBasicDeserTest.java # src/test/java/com/fasterxml/jackson/dataformat/xml/deser/UntypedObjectDeserTest.java
This was referenced Dec 10, 2020
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently (2.11) "Mixed content" is only exposed in case of textual content preceding an element, like:
but is not retained or exposed in token stream if it comes after a close element, so none of text segments in:
are exposed. This means that although as per #403
JsonNode
could now express such content (considering nominal key of "" for text segements), but does not get them asFromXmlParser
does not create matching logical tokens.This should be fixed.
The text was updated successfully, but these errors were encountered: