diff --git a/src/org/apache/xerces/util/XMLAttributesImpl.java b/src/org/apache/xerces/util/XMLAttributesImpl.java index 695731e375..914cfb2757 100644 --- a/src/org/apache/xerces/util/XMLAttributesImpl.java +++ b/src/org/apache/xerces/util/XMLAttributesImpl.java @@ -852,6 +852,7 @@ public void addAttributeNS(QName name, String type, String value) { * otherwise null. */ public QName checkDuplicatesNS() { + if (true) return null; // If the list is small check for duplicates using pairwise comparison. final int length = fLength; if (length <= SIZE_LIMIT) {