Hi Guys,
I was wondering if there was any way to implement wildcards and/or regex matching with the %rest:path annotation when using the RESTXQ module.
I have several situations where I am matching similar numbers of arguments to different functions, or an unknown number of arguments to a single function, and I was trying to figure out the best way to accomplish this.
Cheers,
Jeremy
Hi Jeremy,
there’s a good chance that regex will be supported in a future version of RESTXQ and, thus, BaseX. You are invited to join the discussion in the EXQuery GitHub repository [1, 2]! I guess, e.g., that some time needs to be spent to define how conflicting paths are to be resolved [3].
Best, Christian
[1] https://github.com/exquery/exquery/issues/3 [2] https://github.com/exquery/exquery/wiki/Feature-Requests [3] https://github.com/exquery/exquery/issues/1 ___________________________
2013/10/9 Jeremy Moseley jeremy@inkling.com:
Hi Guys,
I was wondering if there was any way to implement wildcards and/or regex matching with the %rest:path annotation when using the RESTXQ module.
I have several situations where I am matching similar numbers of arguments to different functions, or an unknown number of arguments to a single function, and I was trying to figure out the best way to accomplish this.
Cheers,
Jeremy
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Thanks for the response Christian. It appears everything I need is already either in the works or in the feature requests, so I guess it is only a matter of time.
Cheers,
Jeremy
On Wed, Oct 9, 2013 at 3:18 PM, Christian Grün christian.gruen@gmail.comwrote:
Hi Jeremy,
there’s a good chance that regex will be supported in a future version of RESTXQ and, thus, BaseX. You are invited to join the discussion in the EXQuery GitHub repository [1, 2]! I guess, e.g., that some time needs to be spent to define how conflicting paths are to be resolved [3].
Best, Christian
[1] https://github.com/exquery/exquery/issues/3 [2] https://github.com/exquery/exquery/wiki/Feature-Requests [3] https://github.com/exquery/exquery/issues/1 ___________________________
2013/10/9 Jeremy Moseley jeremy@inkling.com:
Hi Guys,
I was wondering if there was any way to implement wildcards and/or regex matching with the %rest:path annotation when using the RESTXQ module.
I have several situations where I am matching similar numbers of
arguments
to different functions, or an unknown number of arguments to a single function, and I was trying to figure out the best way to accomplish this.
Cheers,
Jeremy
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de