Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1171E9B1 for ; Wed, 30 Jan 2013 20:35:13 +0000 (UTC) Received: (qmail 23165 invoked by uid 500); 30 Jan 2013 20:35:13 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 23122 invoked by uid 500); 30 Jan 2013 20:35:13 -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 23110 invoked by uid 99); 30 Jan 2013 20:35:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2013 20:35:13 +0000 Date: Wed, 30 Jan 2013 20:35:13 +0000 (UTC) From: "Felix Meschberger (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-3733) Clarify icon location 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/FELIX-3733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13566876#comment-13566876 ] Felix Meschberger commented on FELIX-3733: ------------------------------------------ Update with respect to the discrepancy between the CT and the specification: The expert group decided that the CT is correct and the specification needs to be fixed to clarify. To this extent the implementation done as of this issue is correct and no further work is required on our part. > Clarify icon location > --------------------- > > Key: FELIX-3733 > URL: https://issues.apache.org/jira/browse/FELIX-3733 > Project: Felix > Issue Type: Task > Components: Metatype Service, Specification compliance > Affects Versions: metatype-1.0.4 > Reporter: Felix Meschberger > Assignee: Felix Meschberger > Fix For: metatype-1.0.6 > > > The Metatype Service specification states for the location value of the icon element (Table 105.1 in section 105.7.1): > The resource is a URL. The base URL is assumed to be the XML file > with the definition. I.e. if the XML is a resource in the JAR file, then this > URL can reference another resource in that JAR file using a relative URL. > Our current implementation takes this definition and uses the XML resource URL as the base URL to create the Icon URL. > For example: If the icon resource path is "icon/sample.png" and the XML resource URL is "file://bundle-5/OSGI-INF/metatype/sample.xml" then the icon resource URL would be assumed to be "file://bundle-5/OSGI-INF/icon/sample.png". > In contrast the current OSGi CT work-in-progress expects the URL to be relative to the defining bundle. > It must be clarified which reading is correct. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira