mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-57470 spring: code completion in xml suggest unprefixed <constructor-arg> and <property> when "beans" namespace has been bound to prefix
completing top-level elements from qualified ns
This commit is contained in:
@@ -74,7 +74,8 @@ public class XmlElementDescriptorImpl implements XmlElementDescriptor, PsiWritab
|
||||
|
||||
if (rootTag != null &&
|
||||
( NONQUALIFIED_ATTR_VALUE.equals(elementFormDefault = rootTag.getAttributeValue(ELEMENT_FORM_DEFAULT)) || elementFormDefault == null /*unqualified is default*/) &&
|
||||
tag.getNamespaceByPrefix("").length() == 0
|
||||
tag.getNamespaceByPrefix("").isEmpty()
|
||||
&& myDescriptorTag.getParentTag() != rootTag
|
||||
) {
|
||||
value = XmlUtil.findLocalNameByQualifiedName(value);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user