mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
"Resource registered by this uri is not recognized" spuriously triggers for "http://www.w3.org/2001/XMLSchema-instance" running tests (IDEA-162824)
(cherry picked from commit 5f836a3)
This commit is contained in:
committed by
Maxim.Mossienko
parent
37af4a2d81
commit
adeac42886
@@ -599,7 +599,7 @@ public class XmlTagImpl extends XmlElementImpl implements XmlTag, HintedReferenc
|
||||
if (element instanceof XmlAttribute) {
|
||||
XmlAttribute attribute = (XmlAttribute)element;
|
||||
result.add(attribute);
|
||||
myHasNamespaceDeclarations = myHasNamespaceDeclarations || attribute.isNamespaceDeclaration();
|
||||
if (!myHasNamespaceDeclarations && attribute.isNamespaceDeclaration()) myHasNamespaceDeclarations = true;
|
||||
}
|
||||
else if (element instanceof XmlToken && ((XmlToken)element).getTokenType() == XmlTokenType.XML_TAG_END) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user