Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 55189 invoked from network); 17 May 2007 09:04:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 May 2007 09:04:39 -0000 Received: (qmail 34160 invoked by uid 500); 17 May 2007 09:04:44 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 33772 invoked by uid 500); 17 May 2007 09:04:43 -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 33763 invoked by uid 99); 17 May 2007 09:04:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2007 02:04:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2007 02:04:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 387C771406A for ; Thu, 17 May 2007 02:04:16 -0700 (PDT) Message-ID: <19314943.1179392656206.JavaMail.jira@brutus> Date: Thu, 17 May 2007 02:04:16 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-928) NodeTypeManagerImpl.hasNodeType should allow unknown prefixes In-Reply-To: <19586737.1179392434902.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting resolved JCR-928. ------------------------------- Resolution: Fixed Fixed in revision 538843. > NodeTypeManagerImpl.hasNodeType should allow unknown prefixes > ------------------------------------------------------------- > > Key: JCR-928 > URL: https://issues.apache.org/jira/browse/JCR-928 > Project: Jackrabbit > Issue Type: Improvement > Components: nodetype > Reporter: Jukka Zitting > Assigned To: Jukka Zitting > Priority: Minor > Fix For: 1.4 > > > The current implementation of NodeTypeImpl.hasNodeType(String) throws an exception if the given name uses an unknown prefix. A better alternative would be to just return false, as by definition a node type in an unknown namespace can not exist. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.