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
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@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@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
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@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@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Thanks for the reply Christian.
Best Regards, Seenivasan
basex-talk@mailman.uni-konstanz.de