Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 57633 invoked from network); 26 Mar 2008 09:43:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2008 09:43:33 -0000 Received: (qmail 19746 invoked by uid 500); 26 Mar 2008 09:43:31 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 19715 invoked by uid 500); 26 Mar 2008 09:43:31 -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 19700 invoked by uid 99); 26 Mar 2008 09:43:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 02:43:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 09:42:59 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 55461234C0AD for ; Wed, 26 Mar 2008 02:41:24 -0700 (PDT) Message-ID: <2103731271.1206524484348.JavaMail.jira@brutus> Date: Wed, 26 Mar 2008 02:41:24 -0700 (PDT) From: "Thomas Mueller (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1462) repository.xml: throw an exception on error In-Reply-To: <1088005862.1204899466173.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-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582206#action_12582206 ] Thomas Mueller commented on JCR-1462: ------------------------------------- > do you want to implement anything else? Yes, throwing an exception instead of logging a warning if XML validation fails for repository.xml. That means, if there is an unknown tag in repository.xml. I would like to wait a week before doing that. Regards, Thomas > repository.xml: throw an exception on error > ------------------------------------------- > > Key: JCR-1462 > URL: https://issues.apache.org/jira/browse/JCR-1462 > Project: Jackrabbit > Issue Type: New Feature > Components: jackrabbit-core > Reporter: Thomas Mueller > Assignee: Thomas Mueller > Priority: Minor > Fix For: 1.5 > > > Currently, unsupported parameters in repository.xml and workspace.xml are ignored. > To find problems earlier, such problems should result in an exception, > and starting such a repository should not be possible. > The same should happen for unsupported values. > For currently unavailable options > (such as text extraction filter classes if the class is not in the classpath), > at least a warning should be written to the error log, or an error should be thrown. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.