mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use namespace from tag, not empty one
#WEB-14165 fixed
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ public class RelaxedHtmlFromSchemaElementDescriptor extends XmlElementDescriptor
|
||||
}
|
||||
|
||||
public static XmlAttributeDescriptor[] getCommonAttributeDescriptors(XmlTag context) {
|
||||
final XmlNSDescriptor nsDescriptor = context != null ? context.getNSDescriptor("", false) : null;
|
||||
final XmlNSDescriptor nsDescriptor = context != null ? context.getNSDescriptor(context.getNamespace(), false) : null;
|
||||
if (nsDescriptor != null) {
|
||||
for (XmlElementDescriptor descriptor : nsDescriptor.getRootElementsDescriptors(null)) {
|
||||
final String name = descriptor.getName();
|
||||
|
||||
Reference in New Issue
Block a user