I think it makes the most sense to have:

name="..." <-- this is the only thing that specifies the thing whose
version you care about
platform="..." <-- this specifies that you care about the version only on a
subset of platforms.

So, for an android platform:
<engine name="cordova-android" version=">=3.0.0" platform="android" />


So, for an android engine, I'd like:

<engine name="android-chromeview" platform="android" version... />



On Fri, Feb 21, 2014 at 9:54 AM, Marcel Kinard <cmarc...@gmail.com> wrote:

> I prefer the former. I'd rather do a match for a simple attribute value
> (which is easy to write an XSD for), than have to parse/unparse a value
> convention with a bunch of hyphens or some custom syntax.
>
> On Feb 21, 2014, at 9:36 AM, Jonathan Bond-Caron <jbo...@gdesolutions.com>
> wrote:
>
> > <engine name="cordova" version=">=4.0.0" platform="android"
> runtime="chromeview" />
> >
> > Vs.
> > <engine name="cordova-android-chromeview" version=">=3.3.0" /> ?
> >
>
>

Reply via email to