Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 29901 invoked from network); 25 Feb 2010 09:08:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2010 09:08:50 -0000 Received: (qmail 27274 invoked by uid 500); 25 Feb 2010 09:08:50 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 27148 invoked by uid 500); 25 Feb 2010 09:08:50 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 27136 invoked by uid 99); 25 Feb 2010 09:08:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 09:08:50 +0000 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; Thu, 25 Feb 2010 09:08:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E782C234C045 for ; Thu, 25 Feb 2010 01:08:27 -0800 (PST) Message-ID: <1905635970.520291267088907943.JavaMail.jira@brutus.apache.org> Date: Thu, 25 Feb 2010 09:08:27 +0000 (UTC) From: "Guillaume Nodet (JIRA)" To: dev@felix.apache.org Subject: [jira] Assigned: (FELIX-483) Log detailed information on invalid syntax in parsed repository xml requirements In-Reply-To: <6338454.1202449147665.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume Nodet reassigned FELIX-483: ------------------------------------- Assignee: Guillaume Nodet (was: Richard S. Hall) > Log detailed information on invalid syntax in parsed repository xml requirements > -------------------------------------------------------------------------------- > > Key: FELIX-483 > URL: https://issues.apache.org/jira/browse/FELIX-483 > Project: Felix > Issue Type: Improvement > Components: Bundle Repository (OBR) > Affects Versions: bundlerepository-1.2.0 > Reporter: Alin Dreghiciu > Assignee: Guillaume Nodet > > While parsing the repository xml BundleRepository logs an exception message while parsing requirements. This is fine but the information logged is not of too much use. > Eg. for the sogi alliance repository it will log something like: > org.osgi.framework.InvalidSyntaxException: expected ~=|>=|<= > Just with this information you cannot do to much. > I suggest that RequirementImpl.setFilter to be changed to output also the failing filter. > e.g. for the case above: > Filter (&(package=org.apache.batik.i18n)(version>=1.6.0)(version<1.7.0)) parsing failed due to org.osgi.framework.InvalidSyntaxException: expected ~=|>=|<= -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.