You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kelvin Dart (JIRA)" <ji...@apache.org> on 2014/02/03 16:58:10 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13889570#comment-13889570 ] 

Kelvin Dart commented on CB-5966:
---------------------------------

This is also the case for Windows 8 - using Cordova 3.3.1-0.3.1.

> 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)