Skip to content
Permalink
Browse files

Merge pull request #3742 from bstansberry/WFCORE-4420

[WFCORE-4420] Fix check for XMLConstants.NULL_NS_URI
  • Loading branch information
bstansberry committed Apr 14, 2019
2 parents 1786c00 + 73f1ac9 commit 766fdeb47a395afe7c96202d73995070b0f98506
Showing with 1 addition and 1 deletion.
  1. +1 −1 controller/src/main/java/org/jboss/as/controller/parsing/ParseUtils.java
@@ -438,7 +438,7 @@ public static Property readProperty(final XMLExtendedStreamReader reader, boolea
ModelNode value = null;
for (int i = 0; i < cnt; i++) {
String uri = reader.getAttributeNamespace(i);
if (uri != null&&!"".equals(XMLConstants.NULL_NS_URI)) {
if (uri != null && !uri.equals(XMLConstants.NULL_NS_URI)) {
throw unexpectedAttribute(reader, i);
}
final String localName = reader.getAttributeLocalName(i);

0 comments on commit 766fdeb

Please sign in to comment.
You can’t perform that action at this time.