"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:
Maxim.Mossienko
2017-01-24 21:38:45 +01:00
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;