map:for-each-entry missing from latest 8.0
Friday, 8 August 2014 · 5 messages
MG
Marc van Grootel8 Aug 2014 18:38 #
Hi,
I intended to use the 8.0 documented function map:for-each-entry but it doesn't exist (tried latest snapshot).
So I thought I open modules.zip to look at the code. And, indeed it wasn't there.
Second thing I noticed was a typo in the namespace.
http://www.w3.org/2005/xpath-functsions/map
this should be:
http://www.w3.org/2005/xpath-functions/map
Let me know if you need me to log it somewhere.
--Marc
CG
Christian Grün8 Aug 2014 19:26 #
Hi Marc,
Quoted text · Marc van Grootel · 2 lines
> I intended to use the 8.0 documented function map:for-each-entry but it > doesn't exist (tried latest snapshot).
You are absolutely up-to-date, I have just added the entry a few days ago.. I'm currently implementing XQuery arrays. If I'm finished with a stable version, I'll upload a new snapshot (which will also contain th new map:for-each-entry function).
Quoted text · Marc van Grootel · 3 lines
> Second thing I noticed was a typo in the namespace. > > http://www.w3.org/2005/xpath-functsions/map
Thanks; where did you find this typo?
Christian
MG
Marc van Grootel8 Aug 2014 19:33 #
Here are the exact locations:
https://github.com/BaseXdb/basex-dist/blob/94962bda4404ed8ddf0a541612e568f04484f4f4/etc/modules/test.xq
https://github.com/BaseXdb/basex-dist/blob/94962bda4404ed8ddf0a541612e568f04484f4f4/etc/modules/map.xqm
--Marc
Quoted text · Christian Grün · 20 lines
On Fri, Aug 8, 2014 at 7:26 PM, Christian Grün <christian.gruen at gmail.com> wrote: > Hi Marc, > > > I intended to use the 8.0 documented function map:for-each-entry but it > > doesn't exist (tried latest snapshot). > > You are absolutely up-to-date, I have just added the entry a few days > ago.. I'm currently implementing XQuery arrays. If I'm finished with a > stable version, I'll upload a new snapshot (which will also contain th > new map:for-each-entry function). > > > Second thing I noticed was a typo in the namespace. > > > > http://www.w3.org/2005/xpath-functsions/map > > Thanks; where did you find this typo? > > Christian >
--
--Marc
CG
Christian Grün8 Aug 2014 19:40 #
I have uploaded a revised zip file [1]. I hope that I'll update these (completely optional) files along with BaseX 8.0. - What did you use them for?
[1] https://github.com/BaseXdb/basex-dist/tree/master/etc
Quoted text · Marc van Grootel · 37 lines
On Fri, Aug 8, 2014 at 7:33 PM, Marc van Grootel <marc.van.grootel at gmail.com> wrote: > Here are the exact locations: > > https://github.com/BaseXdb/basex-dist/blob/94962bda4404ed8ddf0a541612e568f04484f4f4/etc/modules/test.xq > > https://github.com/BaseXdb/basex-dist/blob/94962bda4404ed8ddf0a541612e568f04484f4f4/etc/modules/map.xqm > > --Marc > > > On Fri, Aug 8, 2014 at 7:26 PM, Christian Grün <christian.gruen at gmail.com> > wrote: >> >> Hi Marc, >> >> > I intended to use the 8.0 documented function map:for-each-entry but it >> > doesn't exist (tried latest snapshot). >> >> You are absolutely up-to-date, I have just added the entry a few days >> ago.. I'm currently implementing XQuery arrays. If I'm finished with a >> stable version, I'll upload a new snapshot (which will also contain th >> new map:for-each-entry function). >> >> > Second thing I noticed was a typo in the namespace. >> > >> > http://www.w3.org/2005/xpath-functsions/map >> >> Thanks; where did you find this typo? >> >> Christian > > > > > -- > --Marc
MG
Marc van Grootel8 Aug 2014 20:27 #
Oh I didn't even realize they were just for reference. I only looked at them to confirm that map:for-each-entry wasn't there or maybe was named differently. That's all.
--Marc
Quoted text · Christian Grün · 50 lines
On Fri, Aug 8, 2014 at 7:40 PM, Christian Grün <christian.gruen at gmail.com> wrote: > I have uploaded a revised zip file [1]. I hope that I'll update these > (completely optional) files along with BaseX 8.0. - What did you use > them for? > > [1] https://github.com/BaseXdb/basex-dist/tree/master/etc > > On Fri, Aug 8, 2014 at 7:33 PM, Marc van Grootel > <marc.van.grootel at gmail.com> wrote: > > Here are the exact locations: > > > > > https://github.com/BaseXdb/basex-dist/blob/94962bda4404ed8ddf0a541612e568f04484f4f4/etc/modules/test.xq > > > > > https://github.com/BaseXdb/basex-dist/blob/94962bda4404ed8ddf0a541612e568f04484f4f4/etc/modules/map.xqm > > > > --Marc > > > > > > On Fri, Aug 8, 2014 at 7:26 PM, Christian Grün < > christian.gruen at gmail.com> > > wrote: > >> > >> Hi Marc, > >> > >> > I intended to use the 8.0 documented function map:for-each-entry but > it > >> > doesn't exist (tried latest snapshot). > >> > >> You are absolutely up-to-date, I have just added the entry a few days > >> ago.. I'm currently implementing XQuery arrays. If I'm finished with a > >> stable version, I'll upload a new snapshot (which will also contain th > >> new map:for-each-entry function). > >> > >> > Second thing I noticed was a typo in the namespace. > >> > > >> > http://www.w3.org/2005/xpath-functsions/map > >> > >> Thanks; where did you find this typo? > >> > >> Christian > > > > > > > > > > -- > > --Marc >
--
--Marc
Written for BaseX 7.9. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery