RESOLVED - bug 230136: [xslt][editor] Content Assistance for exclude-result-prefix
https://bugs.eclipse.org/bugs/show_bug.cgi?id=230136
diff --git a/bundles/org.eclipse.wst.xsl.ui/src/org/eclipse/wst/xsl/ui/internal/contentassist/ExcludeResultPrefixesContentAssist.java b/bundles/org.eclipse.wst.xsl.ui/src/org/eclipse/wst/xsl/ui/internal/contentassist/ExcludeResultPrefixesContentAssist.java
index 037d828..fb47272 100644
--- a/bundles/org.eclipse.wst.xsl.ui/src/org/eclipse/wst/xsl/ui/internal/contentassist/ExcludeResultPrefixesContentAssist.java
+++ b/bundles/org.eclipse.wst.xsl.ui/src/org/eclipse/wst/xsl/ui/internal/contentassist/ExcludeResultPrefixesContentAssist.java
@@ -80,10 +80,11 @@
 		 String excludeResultPrefixes = attrNode.getValue();
 		 int offset = getCursorPosition();
 		 
-		 if (excludeResultPrefixes == null) {
+		 if (excludeResultPrefixes == null || excludeResultPrefixes.equals(DEFAULT)) {
 			 return super.getCompletionProposals();
 		 }
 		 
+		 
 		 tokens = excludeResultPrefixes.split("\\s"); //$NON-NLS-1$
 		 if (tokens[0].equals("")) { //$NON-NLS-1$
 			 CustomCompletionProposal proposal = new CustomCompletionProposal(
diff --git a/bundles/org.eclipse.wst.xsl.ui/src/org/eclipse/wst/xsl/ui/internal/contentassist/XSLContentAssistProcessor.java b/bundles/org.eclipse.wst.xsl.ui/src/org/eclipse/wst/xsl/ui/internal/contentassist/XSLContentAssistProcessor.java
index d506feb..efe7740 100644
--- a/bundles/org.eclipse.wst.xsl.ui/src/org/eclipse/wst/xsl/ui/internal/contentassist/XSLContentAssistProcessor.java
+++ b/bundles/org.eclipse.wst.xsl.ui/src/org/eclipse/wst/xsl/ui/internal/contentassist/XSLContentAssistProcessor.java
@@ -150,6 +150,9 @@
 			
 			proposals = contentAssistRequest.getCompletionProposals();
 		}
+		if (proposals == null) {
+			setErrorMessage("No Content Assist Available or Found");
+		}
 		return proposals;
 	}