Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 337DC10528 for ; Sun, 5 Jan 2014 01:10:51 +0000 (UTC) Received: (qmail 96356 invoked by uid 500); 5 Jan 2014 01:10:50 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 96301 invoked by uid 500); 5 Jan 2014 01:10:50 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 96291 invoked by uid 99); 5 Jan 2014 01:10:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Jan 2014 01:10:50 +0000 Date: Sun, 5 Jan 2014 01:10:50 +0000 (UTC) From: "Len Charest (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-4869) More XML extensions in dectection 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/CB-4869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13862457#comment-13862457 ] Len Charest commented on CB-4869: --------------------------------- The code is currently checking for the general case (some XML file) and if that fails, assuming the special case (an iOS plist file). This is backwards. If the code checked for the special case of a plist file explicitly, it would reasonable to assume upon failure that we have a vanilla XML file. This approach would obviate the need to create an ever-growing list of XML file extensions. > More XML extensions in dectection > --------------------------------- > > Key: CB-4869 > URL: https://issues.apache.org/jira/browse/CB-4869 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugman > Affects Versions: 3.0.0 > Environment: Any > Reporter: Jonathan Naguin > Assignee: Braden Shepherdson > Priority: Minor > Labels: detection, extension, xml > > Right now, in "config-changes.js" the only XML extensions detected are "xml" and "appxmanifest". > It could be interesting add more as "xaml" which is used in Windows Phone development. -- This message was sent by Atlassian JIRA (v6.1.5#6160)