Skip to content

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

@dkfellows

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

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