[214516] XML formatter should respect xml:space attribute
diff --git a/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/xml-space-preserve-dtd-newfmt.xml b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/xml-space-preserve-dtd-newfmt.xml index 5b2458e..1fc9496 100644 --- a/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/xml-space-preserve-dtd-newfmt.xml +++ b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/xml-space-preserve-dtd-newfmt.xml
@@ -18,10 +18,12 @@ This is just a simple test - <nothing> this space is not for sale OR FORMATTING , please - </nothing> <!-- NOTE THE SPACES --> <space-default> No man is an - island, . . . but this section is, really, so clean it up please - - waste of space</space-default> + <nothing> + this space is not for sale OR FORMATTING + , please </nothing> <!-- NOTE THE SPACES --> <space-default> + No man is an island, . . . but this section is, really, so clean it up + please - waste of space + </space-default> . . This should be space preserved </preserve> @@ -31,4 +33,4 @@ not reformatted.</preserve2> <nothing> this is not a target, strip spaces as you please </nothing> -</main> \ No newline at end of file +</main>
diff --git a/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/xml-space-preserve-standalone-newfmt.xml b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/xml-space-preserve-standalone-newfmt.xml index b6d7d78..d6fcf7d 100644 --- a/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/xml-space-preserve-standalone-newfmt.xml +++ b/tests/org.eclipse.wst.xml.core.tests/src/org/eclipse/wst/xml/core/tests/format/testfiles/xml/xml-space-preserve-standalone-newfmt.xml
@@ -14,8 +14,9 @@ This is just a simple test - <nothing> this space is not for sale OR FORMATTING , please - </nothing> <!-- NOTE THE SPACES --> <space-default + <nothing> + this space is not for sale OR FORMATTING + , please </nothing> <!-- NOTE THE SPACES --> <space-default xml:space="default"> No man is an island, . . . but this section is, really, so clean it up please - waste of space