cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Paveza <Rob.Pav...@microsoft.com>
Subject Re: Issue in config.xml passing
Date Mon, 24 Aug 2015 16:29:29 GMT
Hi Abid,

Your version value is in Smart Quotes, i.e., angle quotes, like you would get from writing
code in Word or Outlook:

id="com.sparteqz.ezone" version=“1.3.1”

Change those back in your text editor and you should be good.

-Rob
________________________________________
From: Abid Kh <abid@sparteqz.com>
Sent: Sunday, August 23, 2015 10:50 PM
To: dev@cordova.apache.org
Subject: Fwd: Issue in config.xml passing

---------- Forwarded message ----------
From: Abid Kh <abid@sparteqz.com>
Date: Mon, Aug 24, 2015 at 11:05 AM
Subject: Issue in config.xml passing
To: issues-help@cordova.apache.org, dev-help@cordova.apache.org



Sir, I need to update my apk in playstore. So i changed my version in
config.xml as usual. But now it throw errorrs in parsing config.xml.

Also i tried new project and build it. it worked fine fo me. But When i
change version of new project same errors thrown. So please help me


CLI
==========

Nazims-MacBook-Pro:ezone abid$ cordova build android

Parsing /Users/abid/Android/phonegap/ezone/config.xml failed

Error: Unquoted attribute value

Line: 1

Column: 41

Char: “

    at error
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/elementtree/node_modules/sax/lib/sax.js:347:8)

    at strictFail
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/elementtree/node_modules/sax/lib/sax.js:364:22)

    at Object.write
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/elementtree/node_modules/sax/lib/sax.js:913:11)

    at XMLParser.feed
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/elementtree/lib/parsers/sax.js:48:15)

    at ElementTree.parse
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/elementtree/lib/elementtree.js:271:10)

    at Object.exports.XML
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/elementtree/lib/elementtree.js:606:13)

    at Object.module.exports.parseElementtreeSync
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/util/xml-helpers.js:123:38)

    at Object.ConfigParser
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/configparser/ConfigParser.js:33:24)

    at getScriptsFromConfigXml
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/scriptsFinder.js:108:21)

    at getApplicationHookScripts
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/scriptsFinder.js:56:17)

Nazims-MacBook-Pro:ezone abid$




Config.xml

==========


<?xml version='1.0' encoding='utf-8'?>

<widget id="com.sparteqz.ezone" version=“1.3.1” xmlns="
https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.w3.org%2fns%2fwidgets&data=01%7c01%7cROPAVE%40exchange.microsoft.com%7c7f156d63cba3426177c108d2aca0981b%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=WsrxkgXR4ahRr9DXajnxu%2fAoyOGMxKt7yUJleELz1EU%3d"
xmlns:cdv="https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fcordova.apache.org%2fns%2f1.0&data=01%7c01%7cROPAVE%40exchange.microsoft.com%7c7f156d63cba3426177c108d2aca0981b%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=NxlYMsj7Xx2aKOossViPx%2bXAhN7Ngi6zRmRkjvX1z9M%3d">

    <name>Ezone</name>

    <description>

        A sample Apache Cordova application that responds to the
deviceready event.

    </description>

    <author email="dev@cordova.apache.org" href="https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fcordova.io&data=01%7c01%7cROPAVE%40exchange.microsoft.com%7c7f156d63cba3426177c108d2aca0981b%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=DV822%2fNVS0qN%2fDYlzYzZnzCT5%2fL6AW0j6wxZyw4V2N4%3d">

        Apache Cordova Team

    </author>

    <content src="index.html" />

    <plugin name="cordova-plugin-whitelist" version=“3” />

    <access origin="*" />

    <allow-intent href="http://*/*" />

    <allow-intent href="https://*/*" />

    <allow-intent href="tel:*" />

    <allow-intent href="sms:*" />

    <allow-intent href="mailto:*" />

    <allow-intent href="geo:*" />

    <platform name="android">

        <allow-intent href="market:*" />

    </platform>

    <platform name="ios">

        <allow-intent href="itms:*" />

        <allow-intent href="itms-apps:*" />

    </platform>

</widget>



Please solve my problems
--
*Warm Regards,*

*A R Abid*

*-----------------------------------*

*Founder/CTO*


*MOB: **+91 9895971627* <abid@sparteqz.com>
*SKYPE: abikh.kunnil786*




--
*Warm Regards,*

*A R Abid*

*-----------------------------------*

*Founder/CTO*


*MOB: **+91 9895971627* <abid@sparteqz.com>
*SKYPE: abikh.kunnil786*

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message