Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4795

ConfigHandler.cs should use XML-document's default namespace

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              purplecabbage Jesse MacFadyen
              Reporter:
              kontza Juha Ruotsalainen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: