Skip to content
Permalink
Browse files

[WFCORE-4420] Fix check for XMLConstants.NULL_NS_URI

  • Loading branch information
bstansberry committed Apr 12, 2019
1 parent 208356d commit 73f1ac923cab7934d8f4996343bc1330ae2c0cbc
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 73f1ac9

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