cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Bond-Caron <jbo...@gdesolutions.com>
Subject RE: XML Namespaces
Date Thu, 13 Feb 2014 13:13:16 GMT
On Wed Feb 12 05:00 PM, Andrew Grieve wrote:
> So... I'd like to:
> A: Remove  xmlns="http://www.w3.org/ns/widgets" from our config.xml
> template
> B: Change xmlns:cdv="http://cordova.apache.org/ns/1.0" -> xmlns="
> http://cordova.apache.org/ns/1.0"
> C: Revert the commit that enforces the namespace to exist.
> 
> This will allow us to add new tags & attributes to cordova.xml without
> "violating"
> XML namespace rules.
> 
> Does anyone hate this idea?

+1 for dropping widget spec in 4.0

Issue with the widget spec is it doesn't take into account multiple platforms, or possibly
different runtimes.
A 'cordova app' is more similar to a plugin.xml (needs to be ported to multiple platforms).

Some rough work here:
https://wiki.apache.org/cordova/config/cordova.xml

Using the widget spec as-is looks like a lowest-hanging fruit experience on multiple platforms.

You need lots of xmlns:cdv, xmlns:gap, ... stuff to bridge the gap.

Short term (3.x):
-1 to A,B,C
- add xmlns:cdv for custom icons, ...?

Long term (4.x)
- New cordova config file
- Provide migration path of cordova 3.x project -> 4.x

Mime
View raw message