mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
fix dom stub tests: visit attribute children before subtags
This commit is contained in:
@@ -51,12 +51,12 @@ class DomStubBuilderVisitor {
|
||||
StringRef.fromString(tag.getName()),
|
||||
StringRef.fromNullableString(nsKey),
|
||||
description instanceof CustomDomChildrenDescription);
|
||||
for (final XmlTag subTag : tag.getSubTags()) {
|
||||
visitXmlElement(subTag, stub);
|
||||
}
|
||||
for (XmlAttribute attribute : tag.getAttributes()) {
|
||||
visitXmlElement(attribute, stub);
|
||||
}
|
||||
for (final XmlTag subTag : tag.getSubTags()) {
|
||||
visitXmlElement(subTag, stub);
|
||||
}
|
||||
} else if (element instanceof XmlAttribute) {
|
||||
new AttributeStub(parent, StringRef.fromString(((XmlAttribute)element).getLocalName()),
|
||||
StringRef.fromNullableString(nsKey),
|
||||
|
||||
Reference in New Issue
Block a user