You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2014/02/03 21:23:06 UTC
[jira] [Resolved] (CB-5966) Format of confix.xml wrong for wp8
template
[ https://issues.apache.org/jira/browse/CB-5966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse MacFadyen resolved CB-5966.
---------------------------------
Resolution: Fixed
This is fixed in 3.4.0 which will be out shortly. Unfortunately the change landed in cordova-cli already to enforce it.
> Format of confix.xml wrong for wp8 template
> -------------------------------------------
>
> Key: CB-5966
> URL: https://issues.apache.org/jira/browse/CB-5966
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, WP8
> Affects Versions: 3.3.0
> Environment: Windows 8 Enterprise; Visual Studio 2012 Premium; Cordova 3.3.1-0.3.1
> Reporter: Kelvin Dart
> Assignee: Jesse MacFadyen
> Labels: CLI, config.xml, widget, wp8
>
> The format of the default template containing config.xml is wrong - found in %USERPROFILE%\.cordova\wp\cordova\3.3.0\wp8\template\config.xml - there should be an XMLNS attribute in the root widget tag.
> Currently it is:
> <widget>
> It should be:
> <widget xmlns = "http://www.w3.org/ns/widgets">
> This is stopping users from adding the Windows Phone 8 platform, because there's a check in config_parser.js (%USERPROFILE%\AppData\Roaming\npm\node_modules\cordova\src\config_parse.js) on ln. 33 which checks that the root element is a 'widget' tag, contains an attribute and that attribute equals the w3c namespace (the third check fails).
> It's a simple fix, but it's quite critical because of this.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)