incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-1108) Migrate config.xml to the W3C spec
Date Mon, 23 Jul 2012 23:09:33 GMT

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

Filip Maj edited comment on CB-1108 at 7/23/12 11:07 PM:
---------------------------------------------------------

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. 
                
      was (Author: filmaj):
    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

        

Mime
View raw message