[ 
https://issues.apache.org/jira/browse/CB-9940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piyush Hari updated CB-9940:
----------------------------
    Description: 
plugin.xml is malformed. 

* {{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. 

The fix is as easy as adding the following namespace declarations to the 
{{plugin}} element.

*{{xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"}}
*{{xmlns:m3="http://schemas.microsoft.com/appx/2014/manifest"}}
}}

  was:
plugin.xml uses {{m3}} namespace in its {{<m3:Capability>}} tag but the 
namespace itself is not declared. Thus, plugin.xml is malformed and therefore 
any attempts to unmarshall this XML will fail.

The fix is as easy as adding the following attribute and value to the root tag.

{{xmlns:m3="http://schemas.microsoft.com/appx/2014/manifest"}}


> 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. 
> * {{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. 
> The fix is as easy as adding the following namespace declarations to the 
> {{plugin}} element.
> *{{xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"}}
> *{{xmlns:m3="http://schemas.microsoft.com/appx/2014/manifest"}}
> }}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to