Hi Andy, Hi Christian, I am happy to have sparked an interesting discussion about modules. Am 20.04.2022 um 18:47 schrieb Andy Bunce:
Hi Omar,
Thanks for this. I also enjoyed your earlier message re:
I tried to get creative at finding a way to optimize querying the data without having many long lasting global lock situations I have been in a similar situation and discovered how alternative code approaches using different builtin functions can have very different lock profiles. I am hopeful that #[2063] will greatly reduce locking issues. I will try my "worst case" Data with my API with new BaseX release. I will post any changes I see.
Is there any sane way to get a QName with an unknown prefix of an error as a string like in the catch all handler and resolve it against all prefix-URI mappings known in some XQuery program?
I will try to integrate your idea, Andy, into the generic error handler. This routine just gets the string representation of the error with prefix:value and not a Clark notation like {urn:_}value I hope this is not a big performance hit. If you feel like it a PR would be much appreciated. I will post more thoughts on my modules soon, just have to prepare some workshop right now. Best regards -- Mag. Ing. Omar Siam Austrian Center for Digital Humanities and Cultural Heritage Österreichische Akademie der Wissenschaften | Austrian Academy of Sciences Stellvertretende Behindertenvertrauensperson | Deputy representative for disabled persons Wohllebengasse 12-14, 1040 Wien, Österreich | Vienna, Austria T: +43 1 51581-7295 omar.siam@oeaw.ac.at | www.oeaw.ac.at/acdh