mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
tag name completion fixed
This commit is contained in:
@@ -210,10 +210,10 @@ public class DefaultXmlExtension extends XmlExtension {
|
||||
|
||||
String location = null;
|
||||
if (namespace.length() > 0) {
|
||||
if (prefixProvider != null) {
|
||||
final Set<String> strings = prefixProvider.getLocations(namespace, file);
|
||||
if (strings != null && strings.size() > 0) {
|
||||
location = strings.iterator().next();
|
||||
for (XmlSchemaProvider provider : providers) {
|
||||
Set<String> locations = provider.getLocations(namespace, file);
|
||||
if (locations != null && !locations.isEmpty()) {
|
||||
location = locations.iterator().next();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user