Skip to content

Commit

Permalink
Fix bug #4696
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhkay committed Sep 7, 2020
1 parent 5d82ad1 commit 78829cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions latest10/hej/net/sf/saxon/event/NamespaceDifferencer.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ private NamespaceMap getDifferences(NamespaceMap thisMap, NamespaceMap parentMap
}
} else {
// undeclare the default namespace if the child element is in the default namespace
if (elementInDefaultNamespace &&
!parentMap.getDefaultNamespace().isEmpty() &&
if (!parentMap.getDefaultNamespace().isEmpty() &&
thisMap.getDefaultNamespace().isEmpty()) {
delta = delta.put("", "");
}
Expand Down

0 comments on commit 78829cd

Please sign in to comment.