mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't override namespaces explicitly declared in tag (WEB-31136)
This commit is contained in:
@@ -915,6 +915,7 @@ public class XmlTagImpl extends XmlElementImpl implements XmlTag, HintedReferenc
|
||||
map = new BidirectionalMap<>();
|
||||
}
|
||||
for (final String[] prefix2ns : namespacesFromDocument) {
|
||||
if (map.containsKey(prefix2ns[0])) continue;
|
||||
map.put(prefix2ns[0], getRealNs(prefix2ns[1]));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user