Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 15790 invoked from network); 24 Sep 2008 08:24:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Sep 2008 08:24:35 -0000 Received: (qmail 39480 invoked by uid 500); 24 Sep 2008 08:24:33 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 39227 invoked by uid 500); 24 Sep 2008 08:24:32 -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 39216 invoked by uid 99); 24 Sep 2008 08:24:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2008 01:24:32 -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, 24 Sep 2008 08:23:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4CD7B234C1F3 for ; Wed, 24 Sep 2008 01:23:44 -0700 (PDT) Message-ID: <344169174.1222244624313.JavaMail.jira@brutus> Date: Wed, 24 Sep 2008 01:23:44 -0700 (PDT) From: "Jukka Zitting (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=12634063#action_12634063 ] Jukka Zitting commented on JCR-1462: ------------------------------------ How about if we set the http://apache.org/xml/features/validation/dynamic option(see [1])? That should enable validation only when a DOCTYPE is present, which IMHO sounds like a good compromise. [1] http://xerces.apache.org/xerces2-j/features.html#validation.dynamic > 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 > > Attachments: configPatch.txt > > > 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.