[353108] Compilation errors in html.core / xml.core.tests bundles
diff --git a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/format/HTMLFormatter.java b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/format/HTMLFormatter.java
index f1890dc..38e003f 100644
--- a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/format/HTMLFormatter.java
+++ b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/format/HTMLFormatter.java
@@ -488,7 +488,7 @@
 	protected boolean isContentFormatted(Node parent) {
 		final Node first = parent.getFirstChild();
 		if (first != null && first.getNodeType() == Node.TEXT_NODE) {
-			final String content = first.getTextContent();
+			final String content = first.getNodeValue();
 			final int length = content.length();
 			for (int i = 0; i < length; i++) {
 				final char c = content.charAt(i);