Skip to content

Mixed content not exposed through FromXmlParser, lost by JsonNode #405

Closed
@cowtowncoder

Description

@cowtowncoder

Currently (2.11) "Mixed content" is only exposed in case of textual content preceding an element, like:

<root>
   some text
  <child> ... </child>
</root>

but is not retained or exposed in token stream if it comes after a close element, so none of text segments in:

<root>
  <child>...</child>
  first text
  <child>...</child>
  last text
</root>

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 as FromXmlParser does not create matching logical tokens.
This should be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions