Project

Profile

Help

Revision 78829cd0

Added by Michael Kay 11 months ago

Fix bug #4696

View differences:

latest10/hej/net/sf/saxon/event/NamespaceDifferencer.java
97 97
                }
98 98
            } else {
99 99
                // undeclare the default namespace if the child element is in the default namespace
100
                if (elementInDefaultNamespace &&
101
                        !parentMap.getDefaultNamespace().isEmpty() &&
100
                if (!parentMap.getDefaultNamespace().isEmpty() &&
102 101
                        thisMap.getDefaultNamespace().isEmpty()) {
103 102
                    delta = delta.put("", "");
104 103
                }

Also available in: Unified diff