Skip to content

DOM parser ignores xml:space="preserve" #6

Description

@dkfellows

Following up on http://stackoverflow.com/q/7908627/301832 which gives the full background.

If you have a document containing an element with the attribute xml:space="preserve" then the spaces in the content of that element should be preserved even if -keepSpaces is not specified. This is the defined behavior of xml:space (there may be other types of space management that should be applied by default, but this is the critical one).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions