You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/03 15:38:27 UTC
[jira] [Commented] (CB-9940) plugin.xml is malformed XML
[ https://issues.apache.org/jira/browse/CB-9940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987375#comment-14987375 ]
ASF GitHub Bot commented on CB-9940:
------------------------------------
GitHub user piyushhari opened a pull request:
https://github.com/apache/cordova-plugin-contacts/pull/82
[CB-9940] Adding namespace declarations for m3 and uap to plugin.xml
Adding namespace declarations for m3 and uap prefixes to plugin.xml so that its a valid XML.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/piyushhari/cordova-plugin-contacts CB-9940cordova-plugin-contacts
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-contacts/pull/82.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #82
----
commit c45c43c898c950122cc9cd1723c4fc5071cb651e
Author: Piyush Hari <pi...@gmail.com>
Date: 2015-11-03T14:19:29Z
[CB-9940] Adding namespace declarations for m3 and uap to plugin.xml
----
> plugin.xml is malformed XML
> ---------------------------
>
> Key: CB-9940
> URL: https://issues.apache.org/jira/browse/CB-9940
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Contacts
> Affects Versions: 1.1.0
> Reporter: Piyush Hari
>
> plugin.xml is malformed. This prevents unmarshallling.
> *Cause*
> * {{m3}} namespace prefix is used in {{<m3:Capability>}} tag but the namespace is not declared.
> * {{uap}} namespace prefix is used in {{<uap:Capability>}} tag but the namespace is not declared.
> *Suggested Fix*
> The fix is as easy as adding the following namespace declarations to the {{plugin}} element :
> * {{xmlns:m3="http://schemas.microsoft.com/appx/2014/manifest"}}
> * {{xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org