Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Feb 5, 2024
1 parent 35c687d commit 49a2924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/ctc/wstx/compat/QNameCreator.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public final class QNameCreator

public static QName create(String uri, String localName, String prefix)
{
if (_helper == null) { // can't use 3-arg constructor; but 2-arg will be there
if (_helper == null || prefix == null) { // can't use 3-arg constructor; but 2-arg will be there
return new QName(uri, localName);
}
return _helper.create(uri, localName, prefix);
Expand Down

0 comments on commit 49a2924

Please sign in to comment.