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

Jesse MacFadyen resolved CB-4795.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1.0

Address in dupe issue [CB-4807]

                
> ConfigHandler.cs should use XML-document's default namespace
> ------------------------------------------------------------
>
>                 Key: CB-4795
>                 URL: https://issues.apache.org/jira/browse/CB-4795
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7, WP8
>    Affects Versions: 3.0.0
>            Reporter: Juha Ruotsalainen
>            Assignee: Jesse MacFadyen
>             Fix For: 3.1.0
>
>
> Hi,
> I'm porting our mobile application from Android to WP8. Our Android 
> config.xml contains the namespace in <widget> tag:
> {{<widget id="fi.fastroi.care" version="2.0.0" 
> xmlns="http://www.w3.org/ns/widgets>}}
> Current implementation of ConfigHandler does not find any descendants from 
> the XML, since the document is searched like this: 
> {{document.Descendants("param")}}, without the default namespace included in 
> the XName argument to the Descendants()-function.
> A workaround: remove namespace from the config.xml.
> A fix would be to get widget-tag's default namespace and include that into 
> every Descendants()-call.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to