Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 60157 invoked from network); 10 Feb 2011 10:32:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2011 10:32:23 -0000 Received: (qmail 70523 invoked by uid 500); 10 Feb 2011 10:32:23 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 69985 invoked by uid 500); 10 Feb 2011 10:32:20 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 69946 invoked by uid 99); 10 Feb 2011 10:32:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 10:32:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 10:32:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6A8FF19DB6B for ; Thu, 10 Feb 2011 10:31:58 +0000 (UTC) Date: Thu, 10 Feb 2011 10:31:58 +0000 (UTC) From: "Christian Stocker (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1091507841.7622.1297333918433.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (JCR-2888) Namespace comparison in Namespace.java doesn't work, if a node return null, but it expects an empty string MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Stocker updated JCR-2888: ----------------------------------- Attachment: patch_commit_ebebb62c3df0.patch Patch is attached, which solves the issue > Namespace comparison in Namespace.java doesn't work, if a node return null, but it expects an empty string > ---------------------------------------------------------------------------------------------------------- > > Key: JCR-2888 > URL: https://issues.apache.org/jira/browse/JCR-2888 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-webdav > Reporter: Christian Stocker > Attachments: patch_commit_ebebb62c3df0.patch > > > If a node returns null for Node.getNamespaceUri(), but Namespace.EMPTY_NAMESPACE expects an empty string, the comparison fails. But to my knowledge a null and "" namespaceUri should be treated the same. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira