[152185] fix WSDL/XSD editor's extension views to allow text elements to be edited corretly -- need to reuse logic from TreeContentHelper
diff --git a/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/commands/UpdateTextValueCommand.java b/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/commands/UpdateTextValueCommand.java
index e548e48..9ebcdc3 100644
--- a/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/commands/UpdateTextValueCommand.java
+++ b/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/commands/UpdateTextValueCommand.java
@@ -32,7 +32,6 @@
   
   public void execute()
   {
-    TreeContentHelper helper = new TreeContentHelper();
-    helper.setNodeValue(element, value);
+    new TreeContentHelper().setElementTextValue(element, value);
   } 
 }
diff --git a/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/properties/sections/appinfo/DOMExtensionItem.java b/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/properties/sections/appinfo/DOMExtensionItem.java
index c5cb3ff..d3d564a 100644
--- a/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/properties/sections/appinfo/DOMExtensionItem.java
+++ b/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/properties/sections/appinfo/DOMExtensionItem.java
@@ -104,11 +104,12 @@
         return (value != null) ? value : "";
       }
       case KIND_ELEMENT_TEXT : {
-        return new TreeContentHelper().getNodeValue(parent);
+        return new TreeContentHelper().getElementTextValue(parent);         
       }
     }
     return "";
   }
+  
 
   public String[] getPossibleValues()
   {