Timeframe for supporting fn:load-xquery-module()?

Wednesday, 7 June 2023 · 5 messages · last reply 8 Jun 2023
AS
Andrew Sales7 Jun 2023 23:15 #
Hello, The docs say: "The three functions fn:transform, fn:load-xquery-module and fn:collation-key may be added in a future version of BaseX as their implementation might require the use of additional external libraries." Is there a timeframe for this? I'm interested in particular in the load-xquery-module() to enable an implementation of Schematron written in pure XQuery[1] to be portable between engines[2]. Many thanks, Andrew [1] https://github.com/AndrewSales/XQS [2] https://github.com/AndrewSales/XQS/issues/8
CG
Christian Grün8 Jun 2023 09:45 #
Hi Andrew, Thanks for your mail. I've seen your and Adam’s comment, but I didn't have time yet to give a reply. We’ll add an implementation of fn:load-xquery-module in BaseX 11, which is planned for Summer/Fall this year. A proof-of-concept implementation will be made available with BaseX 10.7 or 10.8. All the best Christian
Quoted text · Andrew Sales · 19 lines
Andrew Sales <andrew at andrewsales.com> schrieb am Mi., 7. Juni 2023, 23:15: > Hello, > > The docs say: > > "The three functions fn:transform, fn:load-xquery-module and > fn:collation-key may be added in a future version of BaseX as their > implementation might require the use of additional external libraries." > > Is there a timeframe for this? I'm interested in particular in the > load-xquery-module() to enable an implementation of Schematron written in > pure XQuery[1] to be portable between engines[2]. > > Many thanks, > Andrew > > [1] https://github.com/AndrewSales/XQS > [2] https://github.com/AndrewSales/XQS/issues/8 >
EK
Eliot Kimber8 Jun 2023 15:04 #
I am very interested in an implementation of Schematron that would work well with BaseX—we use Schematron very heavily at ServiceNow and I have been trying to implement some Schematron features in our Mirabel BaseX application, although I’ve had very little time to work on it. We are trying to implement a “Schematron tester” that lets you explore existing Schematron rules and see how they function against the content managed in the BaseX databases and also create and test new rules. My current implementation is very crude and doesn’t implement the full range of what you can do in a Schematron. If there’s anything I can do to assist or test a Schematron implementation, please don’t hesitate to reach out. Cheers, Eliot _____________________________________________ Eliot Kimber Sr Staff Content Engineer O: 512 554 9368 M: 512 554 9368 servicenow.com<https://www.servicenow.com> LinkedIn<https://www.linkedin.com/company/servicenow> | Twitter<https://twitter.com/servicenow> | YouTube<https://www.youtube.com/user/servicenowinc> | Facebook<https://www.facebook.com/servicenow>
Quoted text · BaseX-Talk · 19 lines
From: BaseX-Talk <basex-talk-bounces at mailman.uni-konstanz.de> on behalf of Christian Grün <christian.gruen at gmail.com> Date: Thursday, June 8, 2023 at 2:46 AM To: Andrew Sales <andrew at andrewsales.com> Cc: BaseX <basex-talk at mailman.uni-konstanz.de> Subject: Re: [basex-talk] Timeframe for supporting fn:load-xquery-module()? [External Email] Hi Andrew, Thanks for your mail. I've seen your and Adam’s comment, but I didn't have time yet to give a reply. We’ll add an implementation of fn:load-xquery-module in BaseX 11, which is planned for Summer/Fall this year. A proof-of-concept implementation will be made available with BaseX 10.7 or 10.8. All the best Christian Andrew Sales <andrew at andrewsales.com<mailto:andrew at andrewsales.com>> schrieb am Mi., 7. Juni 2023, 23:15: Hello, The docs say: "The three functions fn:transform, fn:load-xquery-module and fn:collation-key may be added in a future version of BaseX as their implementation might require the use of additional external libraries." Is there a timeframe for this? I'm interested in particular in the load-xquery-module() to enable an implementation of Schematron written in pure XQuery[1] to be portable between engines[2]. Many thanks, Andrew [1] https://github.com/AndrewSales/XQS<https://github.com/AndrewSales/XQS> [2] https://github.com/AndrewSales/XQS/issues/8<https://github.com/AndrewSales/XQS/issues/8>
ZD
Zimmel, Daniel8 Jun 2023 17:17 #
XQS looks like an interesting approach, thanks for the pointer. I guess you do know about it, but if you do not, for "an implementation of Schematron that would work well with BaseX" I use SchXslt quite heavily, which can be installed with your BaseX installation with the REPO command, see https://github.com/schxslt/schxslt/releases Daniel
Quoted text · BaseX-Talk · 33 lines
Von: BaseX-Talk <basex-talk-bounces at mailman.uni-konstanz.de> Im Auftrag von Eliot Kimber Gesendet: Donnerstag, 8. Juni 2023 15:05 An: BaseX <basex-talk at mailman.uni-konstanz.de> Betreff: Re: [basex-talk] Timeframe for supporting fn:load-xquery-module()? I am very interested in an implementation of Schematron that would work well with BaseX-we use Schematron very heavily at ServiceNow and I have been trying to implement some Schematron features in our Mirabel BaseX application, although I've had very little time to work on it. We are trying to implement a "Schematron tester" that lets you explore existing Schematron rules and see how they function against the content managed in the BaseX databases and also create and test new rules. My current implementation is very crude and doesn't implement the full range of what you can do in a Schematron. If there's anything I can do to assist or test a Schematron implementation, please don't hesitate to reach out. Cheers, Eliot Eliot Kimber Sr Staff Content Engineer O: 512 554 9368 M: 512 554 9368 servicenow.com<https://www.servicenow.com> LinkedIn<https://www.linkedin.com/company/servicenow> | Twitter<https://twitter.com/servicenow> | YouTube<https://www.youtube.com/user/servicenowinc> | Facebook<https://www.facebook.com/servicenow> From: BaseX-Talk <basex-talk-bounces at mailman.uni-konstanz.de<mailto:basex-talk-bounces at mailman.uni-konstanz.de>> on behalf of Christian Grün <christian.gruen at gmail.com<mailto:christian.gruen at gmail.com>> Date: Thursday, June 8, 2023 at 2:46 AM To: Andrew Sales <andrew at andrewsales.com<mailto:andrew at andrewsales.com>> Cc: BaseX <basex-talk at mailman.uni-konstanz.de<mailto:basex-talk at mailman.uni-konstanz.de>> Subject: Re: [basex-talk] Timeframe for supporting fn:load-xquery-module()? [External Email] Hi Andrew, Thanks for your mail. I've seen your and Adam's comment, but I didn't have time yet to give a reply. We'll add an implementation of fn:load-xquery-module in BaseX 11, which is planned for Summer/Fall this year. A proof-of-concept implementation will be made available with BaseX 10.7 or 10.8. All the best Christian Andrew Sales <andrew at andrewsales.com<mailto:andrew at andrewsales.com>> schrieb am Mi., 7. Juni 2023, 23:15: Hello, The docs say: "The three functions fn:transform, fn:load-xquery-module and fn:collation-key may be added in a future version of BaseX as their implementation might require the use of additional external libraries." Is there a timeframe for this? I'm interested in particular in the load-xquery-module() to enable an implementation of Schematron written in pure XQuery[1] to be portable between engines[2]. Many thanks, Andrew [1] https://github.com/AndrewSales/XQS [2] https://github.com/AndrewSales/XQS/issues/8
AS
Andrew Sales8 Jun 2023 19:39 #
Hi all, Thanks so much, Christian - I didn't mean to chase you for an answer, just unsure who can see what where, and also wanted to ensure your answer was visible on this forum :) Eliot, SchXslt that Daniel mentions is well worth a look - the de facto reference implementation now that the "skeleton" one is archived. XQS is at an early stage, but am hopeful it can gain some traction, especially in the XQuery community. If you are still open to it, I may take you up on your kind offer. Thanks, Andrew
Quoted text · Daniel · 134 lines
On Thu, Jun 8, 2023, 16:17 Zimmel, Daniel <D.Zimmel at esvmedien.de> wrote: > XQS looks like an interesting approach, thanks for the pointer. > > > > I guess you do know about it, but if you do not, for “an implementation of > Schematron that would work well with BaseX” I use SchXslt quite heavily, > which can be installed with your BaseX installation with the REPO command, > see https://github.com/schxslt/schxslt/releases > > > > Daniel > > > > *Von:* BaseX-Talk <basex-talk-bounces at mailman.uni-konstanz.de> *Im > Auftrag von *Eliot Kimber > *Gesendet:* Donnerstag, 8. Juni 2023 15:05 > *An:* BaseX <basex-talk at mailman.uni-konstanz.de> > *Betreff:* Re: [basex-talk] Timeframe for supporting > fn:load-xquery-module()? > > > > I am very interested in an implementation of Schematron that would work > well with BaseX—we use Schematron very heavily at ServiceNow and I have > been trying to implement some Schematron features in our Mirabel BaseX > application, although I’ve had very little time to work on it. We are > trying to implement a “Schematron tester” that lets you explore existing > Schematron rules and see how they function against the content managed in > the BaseX databases and also create and test new rules. My current > implementation is very crude and doesn’t implement the full range of what > you can do in a Schematron. > > > > If there’s anything I can do to assist or test a Schematron > implementation, please don’t hesitate to reach out. > > > > Cheers, > > > > Eliot > > _____________________________________________ > > *Eliot Kimber* > > Sr Staff Content Engineer > > O: 512 554 9368 > > M: 512 554 9368 > > servicenow.com <https://www.servicenow.com> > > LinkedIn <https://www.linkedin.com/company/servicenow> | Twitter > <https://twitter.com/servicenow> | YouTube > <https://www.youtube.com/user/servicenowinc> | Facebook > <https://www.facebook.com/servicenow> > > > > *From: *BaseX-Talk <basex-talk-bounces at mailman.uni-konstanz.de> on behalf > of Christian Grün <christian.gruen at gmail.com> > *Date: *Thursday, June 8, 2023 at 2:46 AM > *To: *Andrew Sales <andrew at andrewsales.com> > *Cc: *BaseX <basex-talk at mailman.uni-konstanz.de> > *Subject: *Re: [basex-talk] Timeframe for supporting > fn:load-xquery-module()? > *[External Email]* > > > ------------------------------ > > Hi Andrew, > > > > Thanks for your mail. I've seen your and Adam’s comment, but I didn't have > time yet to give a reply. We’ll add an implementation of > fn:load-xquery-module in BaseX 11, which is planned for Summer/Fall this > year. A proof-of-concept implementation will be made available with BaseX > 10.7 or 10.8. > > > > All the best > > Christian > > > > > > > > Andrew Sales <andrew at andrewsales.com> schrieb am Mi., 7. Juni 2023, 23:15: > > Hello, > > > > The docs say: > > > > "The three functions fn:transform, fn:load-xquery-module and > fn:collation-key may be added in a future version of BaseX as their > implementation might require the use of additional external libraries." > > > > Is there a timeframe for this? I'm interested in particular in the > load-xquery-module() to enable an implementation of Schematron written in > pure XQuery[1] to be portable between engines[2]. > > > > Many thanks, > > Andrew > > > > [1] https://github.com/AndrewSales/XQS > > [2] https://github.com/AndrewSales/XQS/issues/8 > >

⚡Generated with XQuery