diff --git a/plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/completion/XPathInsertHandler.java b/plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/completion/XPathInsertHandler.java index 0a17995330f9..eb5c1f22c650 100644 --- a/plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/completion/XPathInsertHandler.java +++ b/plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/completion/XPathInsertHandler.java @@ -98,7 +98,7 @@ class XPathInsertHandler implements InsertHandler { int x = context.getSelectionEndOffset(); while (x < textLength) { final char c = charAt(charsSequence, x); - if (isIdentifier(c) || (c == ':' && !isNamespace)) { + if (isIdentifier(c) || c == '*' || (c == ':' && !isNamespace)) { x++; } else { break;