restxq..Does the extension .xqm is mandatory?

Wednesday, 19 September 2012 · 3 messages · last reply 20 Sep 2012
SG
Seenivasan Gunabalan19 Sep 2012 18:13 #
Hi, Was .xqm extension for the xquery module that handles RESTXQ calls are mandatory? We used to create a separate file("customrestxq.xq") to handle the restxq calls, which was imported by the main "restxq.xqm" module. It was working fine till the 7.4 beta version, but at the latest developer release, Basex7.5 (BaseX75-20120918.130850), the calls were not mapped and the status " No function found that matches the request." was returned. we found that by changing the extension from .xq to .xqm i.e. to "customrestxq.xqm" fixed the issue. was .xqm extension is enforced? Best regards, Seenivasan
CG
Christian Grün20 Sep 2012 08:04 #
Dear Seenivasan,
Quoted text · Seenivasan Gunabalan · 2 lines
> Was .xqm extension for the xquery module that handles RESTXQ calls are > mandatory?
Yes, the extension is mandatory, and has been mandatory since the introduction of RESTXQ. Before, however, RESTXQ methods were also detected in imported modules. We have disabled this feature because it did not allow circular dependencies between modules. Hope this helps, Christian
Quoted text · Seenivasan Gunabalan · 24 lines
On Wed, Sep 19, 2012 at 6:13 PM, Seenivasan Gunabalan <seenivasan.gunabalan at dedalus.eu> wrote: > Hi, > > We used to create a separate file("customrestxq.xq") to handle the > restxq calls, which was imported by the main "restxq.xqm" module. It was > working fine till the 7.4 beta version, but at the latest developer release, > Basex7.5 (BaseX75-20120918.130850), the calls were not mapped and the status > " No function found that matches the request." was returned. > > we found that by changing the extension from .xq to .xqm i.e. to > "customrestxq.xqm" fixed the issue. > > was .xqm extension is enforced? > > > Best regards, > Seenivasan > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
SG
Seenivasan Gunabalan20 Sep 2012 09:03 #
Quoted text · Christian Grün · 38 lines
On 09/20/2012 08:04 AM, Christian Grün wrote: > Dear Seenivasan, > >> Was .xqm extension for the xquery module that handles RESTXQ calls are >> mandatory? > Yes, the extension is mandatory, and has been mandatory since the > introduction of RESTXQ. Before, however, RESTXQ methods were also > detected in imported modules. We have disabled this feature because it > did not allow circular dependencies between modules. > > Hope this helps, > Christian > > > On Wed, Sep 19, 2012 at 6:13 PM, Seenivasan Gunabalan > <seenivasan.gunabalan at dedalus.eu> wrote: >> Hi, >> >> We used to create a separate file("customrestxq.xq") to handle the >> restxq calls, which was imported by the main "restxq.xqm" module. It was >> working fine till the 7.4 beta version, but at the latest developer release, >> Basex7.5 (BaseX75-20120918.130850), the calls were not mapped and the status >> " No function found that matches the request." was returned. >> >> we found that by changing the extension from .xq to .xqm i.e. to >> "customrestxq.xqm" fixed the issue. >> >> was .xqm extension is enforced? >> >> >> Best regards, >> Seenivasan >> >> >> _______________________________________________ >> BaseX-Talk mailing list >> BaseX-Talk at mailman.uni-konstanz.de >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Thanks for the reply Christian. Best Regards, Seenivasan

⚡Generated with XQuery