You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Benn Mapes <be...@gmail.com> on 2013/06/24 23:23:49 UTC

[plugins] xmls in cordova plugin.xml

I've noticed two different xmls namespaces for the core cordova plugins :

xmlns="http://www.phonegap.com/ns/plugins/1.0"
and
xmlns="http://cordova.apache.org/ns/plugins/1.0"

I believe we want the second namespace but the documented plugin spec [1]
uses the first one (probably hasn't been updated).

Is it safe to say that we want http://cordova.apache.org/ns/plugins/1.0 as
the namespace for the core cordova plugins?

[1]: https://github.com/alunny/cordova-plugin-spec

Re: [plugins] xmls in cordova plugin.xml

Posted by Ian Clelland <ic...@chromium.org>.
I was unclear :(

By "at www.phonegap.com", I meant any plugin XML files which still
reference "http://www.phonegap.com/ns/plugins/1.0" as their namespace.

I thought I had scrubbed all of the plugins, but the ticket still exists in
JIRA, in case there were any that I had missed.

Ian


On Tue, Jun 25, 2013 at 1:47 PM, Brian LeRoux <b...@brian.io> wrote:

> sorry ian, where on phonegap.com??
>
> On Tue, Jun 25, 2013 at 9:59 AM, Ian Clelland <ic...@chromium.org>
> wrote:
> > I thought I had updated all of these, but if you have seen some more that
> > are at www.phonegap.com, please change them over.
> >
> > CB-3419 was the ticket that was tracking this, if you want to tag any new
> > related commits.
> >
> > Ian
> >
> >
> > On Mon, Jun 24, 2013 at 5:37 PM, Brian LeRoux <b...@brian.io> wrote:
> >
> >> The latter yes. The former is a problem for the downstream
> distributions.
> >>
> >> On Mon, Jun 24, 2013 at 2:23 PM, Benn Mapes <be...@gmail.com>
> wrote:
> >> > I've noticed two different xmls namespaces for the core cordova
> plugins :
> >> >
> >> > xmlns="http://www.phonegap.com/ns/plugins/1.0"
> >> > and
> >> > xmlns="http://cordova.apache.org/ns/plugins/1.0"
> >> >
> >> > I believe we want the second namespace but the documented plugin spec
> [1]
> >> > uses the first one (probably hasn't been updated).
> >> >
> >> > Is it safe to say that we want
> http://cordova.apache.org/ns/plugins/1.0as
> >> > the namespace for the core cordova plugins?
> >> >
> >> > [1]: https://github.com/alunny/cordova-plugin-spec
> >>
>

Re: [plugins] xmls in cordova plugin.xml

Posted by Brian LeRoux <b...@brian.io>.
sorry ian, where on phonegap.com??

On Tue, Jun 25, 2013 at 9:59 AM, Ian Clelland <ic...@chromium.org> wrote:
> I thought I had updated all of these, but if you have seen some more that
> are at www.phonegap.com, please change them over.
>
> CB-3419 was the ticket that was tracking this, if you want to tag any new
> related commits.
>
> Ian
>
>
> On Mon, Jun 24, 2013 at 5:37 PM, Brian LeRoux <b...@brian.io> wrote:
>
>> The latter yes. The former is a problem for the downstream distributions.
>>
>> On Mon, Jun 24, 2013 at 2:23 PM, Benn Mapes <be...@gmail.com> wrote:
>> > I've noticed two different xmls namespaces for the core cordova plugins :
>> >
>> > xmlns="http://www.phonegap.com/ns/plugins/1.0"
>> > and
>> > xmlns="http://cordova.apache.org/ns/plugins/1.0"
>> >
>> > I believe we want the second namespace but the documented plugin spec [1]
>> > uses the first one (probably hasn't been updated).
>> >
>> > Is it safe to say that we want http://cordova.apache.org/ns/plugins/1.0as
>> > the namespace for the core cordova plugins?
>> >
>> > [1]: https://github.com/alunny/cordova-plugin-spec
>>

Re: [plugins] xmls in cordova plugin.xml

Posted by Ian Clelland <ic...@chromium.org>.
I thought I had updated all of these, but if you have seen some more that
are at www.phonegap.com, please change them over.

CB-3419 was the ticket that was tracking this, if you want to tag any new
related commits.

Ian


On Mon, Jun 24, 2013 at 5:37 PM, Brian LeRoux <b...@brian.io> wrote:

> The latter yes. The former is a problem for the downstream distributions.
>
> On Mon, Jun 24, 2013 at 2:23 PM, Benn Mapes <be...@gmail.com> wrote:
> > I've noticed two different xmls namespaces for the core cordova plugins :
> >
> > xmlns="http://www.phonegap.com/ns/plugins/1.0"
> > and
> > xmlns="http://cordova.apache.org/ns/plugins/1.0"
> >
> > I believe we want the second namespace but the documented plugin spec [1]
> > uses the first one (probably hasn't been updated).
> >
> > Is it safe to say that we want http://cordova.apache.org/ns/plugins/1.0as
> > the namespace for the core cordova plugins?
> >
> > [1]: https://github.com/alunny/cordova-plugin-spec
>

Re: [plugins] xmls in cordova plugin.xml

Posted by Brian LeRoux <b...@brian.io>.
The latter yes. The former is a problem for the downstream distributions.

On Mon, Jun 24, 2013 at 2:23 PM, Benn Mapes <be...@gmail.com> wrote:
> I've noticed two different xmls namespaces for the core cordova plugins :
>
> xmlns="http://www.phonegap.com/ns/plugins/1.0"
> and
> xmlns="http://cordova.apache.org/ns/plugins/1.0"
>
> I believe we want the second namespace but the documented plugin spec [1]
> uses the first one (probably hasn't been updated).
>
> Is it safe to say that we want http://cordova.apache.org/ns/plugins/1.0 as
> the namespace for the core cordova plugins?
>
> [1]: https://github.com/alunny/cordova-plugin-spec

Re: [plugins] xmls in cordova plugin.xml

Posted by Shazron <sh...@gmail.com>.
Yes


On Mon, Jun 24, 2013 at 2:23 PM, Benn Mapes <be...@gmail.com> wrote:

> I've noticed two different xmls namespaces for the core cordova plugins :
>
> xmlns="http://www.phonegap.com/ns/plugins/1.0"
> and
> xmlns="http://cordova.apache.org/ns/plugins/1.0"
>
> I believe we want the second namespace but the documented plugin spec [1]
> uses the first one (probably hasn't been updated).
>
> Is it safe to say that we want http://cordova.apache.org/ns/plugins/1.0 as
> the namespace for the core cordova plugins?
>
> [1]: https://github.com/alunny/cordova-plugin-spec
>

Re: [plugins] xmls in cordova plugin.xml

Posted by Benn Mapes <be...@gmail.com>.
Well, that spec [1] documents the namespace as
http://apache.org/cordova/ns/plugins/1.0 which is different from the
namespace I had previously mentioned (
http://cordova.apache.org/ns/plugins/1.0).

Since we obviously want them all to be consistent, which is
the preferred namespace?


[1]: https://github.com/apache/cordova-plugman/blob/master/plugin_spec.md


On Tue, Jun 25, 2013 at 10:54 AM, Filip Maj <fi...@adobe.com> wrote:

> For the record the spec doc is located inside the cordova-plugman repo [1].
>
> [1] https://github.com/apache/cordova-plugman/blob/master/plugin_spec.md
>
> On 6/24/13 2:23 PM, "Benn Mapes" <be...@gmail.com> wrote:
>
> >I've noticed two different xmls namespaces for the core cordova plugins :
> >
> >xmlns="http://www.phonegap.com/ns/plugins/1.0"
> >and
> >xmlns="http://cordova.apache.org/ns/plugins/1.0"
> >
> >I believe we want the second namespace but the documented plugin spec [1]
> >uses the first one (probably hasn't been updated).
> >
> >Is it safe to say that we want http://cordova.apache.org/ns/plugins/1.0as
> >the namespace for the core cordova plugins?
> >
> >[1]: https://github.com/alunny/cordova-plugin-spec
>
>

Re: [plugins] xmls in cordova plugin.xml

Posted by Filip Maj <fi...@adobe.com>.
For the record the spec doc is located inside the cordova-plugman repo [1].

[1] https://github.com/apache/cordova-plugman/blob/master/plugin_spec.md

On 6/24/13 2:23 PM, "Benn Mapes" <be...@gmail.com> wrote:

>I've noticed two different xmls namespaces for the core cordova plugins :
>
>xmlns="http://www.phonegap.com/ns/plugins/1.0"
>and
>xmlns="http://cordova.apache.org/ns/plugins/1.0"
>
>I believe we want the second namespace but the documented plugin spec [1]
>uses the first one (probably hasn't been updated).
>
>Is it safe to say that we want http://cordova.apache.org/ns/plugins/1.0 as
>the namespace for the core cordova plugins?
>
>[1]: https://github.com/alunny/cordova-plugin-spec