Return-Path: Delivered-To: apmail-xml-security-dev-archive@www.apache.org Received: (qmail 64756 invoked from network); 26 Oct 2006 18:27:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 18:27:30 -0000 Received: (qmail 52635 invoked by uid 500); 26 Oct 2006 18:27:39 -0000 Delivered-To: apmail-xml-security-dev-archive@xml.apache.org Received: (qmail 52618 invoked by uid 500); 26 Oct 2006 18:27:39 -0000 Mailing-List: contact security-dev-help@xml.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: security-dev@xml.apache.org List-Id: Delivered-To: mailing list security-dev@xml.apache.org Received: (qmail 52607 invoked by uid 99); 26 Oct 2006 18:27:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2006 11:27:39 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2006 11:27:26 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 2710F7142C2; Thu, 26 Oct 2006 11:26:24 -0700 (PDT) From: bugzilla@apache.org To: security-dev@xml.apache.org Subject: DO NOT REPLY [Bug 40819] - NPE in IdResolver In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20061026182624.2710F7142C2@brutus.apache.org> Date: Thu, 26 Oct 2006 11:26:24 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40819 raul-info@r-bg.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|regression |minor ------- Additional Comments From raul-info@r-bg.com 2006-10-26 11:26 ------- You must always use *NS methods, The non *NS methods should dia a horrible death. Also the code that is throwing the exception has not changed so I suppose it also happens in 1.4.beta2 and even 1.3. I can prevent the NPE but it will silently fail and will never find a element. The only sensible thing is to throw an exception when localName is null (i.e. has be done with non NS member). The problem is that then we should fill the code in several other parts with this check, to be consistent. What do you all think? Anyway I downgrade the severity of the bug. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.