/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlNode.java
if ( one == null && two != null) return true;
if ( one == null && two == null ) return true;
private boolean equals(String one, String two) { if (one == null && two == null) return true; if (one == null || two == null) return false; return one.equals(two); } private boolean namespacesEqual(Namespace one, Namespace two) { <extra_id_0> if (one == null || two == null) return false; return equals(one.getUri(), two.getUri()); } final boolean equals(QName other) { if (!namespacesEqual(this.namespace, other.namespace)) return false; if (!equals(this.localName, other.localName)) return false;