You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2012/07/24 01:07:35 UTC

[jira] [Commented] (CB-1108) Migrate config.xml to the W3C spec

    [ https://issues.apache.org/jira/browse/CB-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421015#comment-13421015 ] 

Filip Maj commented on CB-1108:
-------------------------------

The only difference should be {{<plugin>} should be mapped to {{<feature>}} as [per the spec|http://www.w3.org/TR/widgets/#the-feature-element-and-its-attributes]. The {{name}} attribute for {{<feature>}} should be the platform-agnostic service label for plugins. Unfortunately there is no additional parameter defined in the spec that we can use in the {{<feature>}} element immediately to provide the native side class mapping, however, [the <param> element|http://www.w3.org/TR/widgets/#the-param-element-and-its-attributes] as defined in the spec can be used as a child element of {{<feature>}}.

The feature stuff should probably be looped back on the mailing list so all platforms can follow suit.

{{<preference>}} already exists in the spec so we're fine on that front. 
                
> Migrate config.xml to the W3C spec
> ----------------------------------
>
>                 Key: CB-1108
>                 URL: https://issues.apache.org/jira/browse/CB-1108
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>             Fix For: 2.1.0
>
>
> In 2.0.0, we decided that config.xml should exist in some form.  Unfortunately, that form has nothing to do with the W3C version.  We should try to move towards the W3C version wherever possible.  Android was the only one to actually have a config.xml added, mostly because creating this file was trivial.
> If this is not technically possible, the xml file should be changed back to cordova.xml.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira