commit | 8ada29a4e97013feb953106159c7f1f18aba3f83 | [log] [tgz] |
---|---|---|
author | nsandonato <nsandonato> | Tue Jul 26 13:43:26 2011 +0000 |
committer | nsandonato <nsandonato> | Tue Jul 26 13:43:26 2011 +0000 |
tree | daefe2c47ebdf4fbea4c4e5a569a8a843a358506 | |
parent | e8f6c0ca42d07175acb7d3139000712a6985d037 [diff] |
[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);