protected boolean isTextFragment(final ASTNode node) {
    final ASTNode parent = node.getTreeParent();
    return parent != null && isTextNode(parent.getElementType())
           || node.getElementType() == XmlTokenType.XML_DATA_CHARACTERS

      ;
  }
protected boolean isTextFragment(final ASTNode node)