public XmlCompletionItemCollection GetElementCompletion(string textUpToCursor, XmlSchemaCompletion defaultSchema) { var parentPath = XmlParser.GetParentElementPath(textUpToCursor); return(GetElementCompletionForAllNamespaces(parentPath, defaultSchema)); }