EA-58702 - SOE: XmlElementDescriptorImpl.getType

This commit is contained in:
Dmitry Avdeev
2015-04-03 17:05:18 +03:00
parent fcb3f80755
commit cf8fa16bdd
@@ -195,7 +195,7 @@ public class XmlElementDescriptorImpl extends XsdEnumerationDescriptor<XmlTag>
myDescriptorTag.getNamespaceByPrefix(namespacePrefix);
final String local = XmlUtil.findLocalNameByQualifiedName(substAttr);
final XmlElementDescriptorImpl originalElement = (XmlElementDescriptorImpl)((XmlNSDescriptorImpl)getNSDescriptor()).getElementDescriptor(local, namespace);
if (originalElement != null) {
if (originalElement != null && originalElement != this) {
type = originalElement.getType(context);
}
}