You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Axel Nennker (JIRA)" <ji...@apache.org> on 2014/05/14 06:56:15 UTC
[jira] [Commented] (CB-5675) Can't get rid of Hello
Cordova from config.xml
[ https://issues.apache.org/jira/browse/CB-5675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13997274#comment-13997274 ]
Axel Nennker commented on CB-5675:
----------------------------------
Adding name and description to SINGLETONS is not in 3.5.0-0.2.3 yet.
I think this is a good fix although it misses the mark
http://www.w3.org/TR/widgets/#the-name-element-and-its-attributes
E.g. name is only a singleton for same xml:lang values...
So <name xml:lang="de">Hallo Welt</name> and <name xml:lang="en">Hello World</name> are allowed in one config.xml
> Can't get rid of <name>Hello Cordova</name> from config.xml
> -------------------------------------------------------------
>
> Key: CB-5675
> URL: https://issues.apache.org/jira/browse/CB-5675
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.2.0
> Environment: OSX/IOS
> Reporter: Michael Stanford
> Fix For: Master
>
>
> config_parser.js merges your www/config.xml in on top of cordova/defaults.xml to produce your platform/<project>/config.xml.
> I don't like seeing "Hello Cordova" in there as the name of the project in addition to the one that I gave it. Same with the description. I am concerned that it confuses Xcode as well.
> So I changed the SINGLETONS array in config_parser.merge_with() from:
> ["content", "author"]
> to:
> ["content", "author","description","name"]
> Which seems to have fixed my problem.
--
This message was sent by Atlassian JIRA
(v6.2#6252)