Re: [basex-talk] BaseX 9.0: The Spring Edition!

2018-03-23 Thread Patrick Durusau
uery modules > - Revised file, session and job management > > More details can be found on our homepage. We are looking forward to > your feedback. > > Enjoy and have fun, > Christian, BaseX Team -- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASI

[basex-talk] BaseX 9.6 - BaseX96.zip - missing? Image not found: /img/c_go.png and Image not found: /img/c_editopen.png

2021-08-19 Thread Patrick Durusau
Great to see the new version! Running ./basexgui 2 image not found messages (omitting the at messages) Image not found: /img/c_go.png and Image not found: /img/c_editopen.png On Debian (Buster I think). Thanks for all the hard work! Patrick -- Patrick Durusau patr...@durusau.net Technical

Re: [basex-talk] BaseX 9.6 - BaseX96.zip - missing? Image not found: /img/c_go.png and Image not found: /img/c_editopen.png

2021-08-19 Thread Patrick Durusau
Arg! Apologies for not checking the issues list! But thanks for the great software! Patrick On 8/19/21 6:13 PM, Martin Honnen wrote: > On 20.08.2021 00:04, Martin Honnen wrote: >> On 19.08.2021 23:56, Patrick Durusau wrote: >> >>> Running ./basexgui >>> >>

[basex-talk] Edit to https://docs.basex.org/wiki/Database_Server and question

2022-03-08 Thread Patrick Durusau
g? Thanks! Patrick -- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300 Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps) Another Word For It (blog): http://tm.durusau.net Homepage: http://www.durusau.n

[basex-talk] XML Parsing Error: syntax error, Location: http://localhost:8984/rest/oshb?query=count(.), Line Number 1, Column 1:

2022-03-16 Thread Patrick Durusau
! Patrick -- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300 Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps) Another Word For It (blog): http://tm.durusau.net Homepage: http://www.durusau.n

Re: [basex-talk] XML Parsing Error: syntax error, Location: http://localhost:8984/rest/oshb?query=count(.), Line Number 1, Column 1:

2022-03-16 Thread Patrick Durusau
: ?query={count(.)} -Tamara On Wed, Mar 16, 2022 at 10:40 AM Patrick Durusau wrote: Greetings! What puzzles is the correct count is returned, despite the error message, with the cursor under the first digit. Looking in the response, it appears that "favicon.ico"

Re: [basex-talk] Dumb question: Adding files to BaseX database

2022-03-14 Thread Patrick Durusau
ridger On Mon, Mar 14, 2022 at 1:45 PM Patrick Durusau wrote: Greetings! I'm using db:add to add files to a BaseX database, but am I just missing how to do that in the GUI? Thanks! Patrick -- Patrick Durusau patr...@durusau.net Technical Advisory

[basex-talk] Dumb question: Adding files to BaseX database

2022-03-14 Thread Patrick Durusau
Greetings! I'm using db:add to add files to a BaseX database, but am I just missing how to do that in the GUI? Thanks! Patrick -- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300 Co-Editor, ISO/IEC

Re: [basex-talk] Edit to https://docs.basex.org/wiki/Database_Server and question

2022-03-08 Thread Patrick Durusau
uot; True? False? Somewhere in between? True. I think it’s still reasonable to keep this command in our documentation as you can start the BaseX server in the background (e.g. via & or nohup on Linux). Cheers, Christian -- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASI

[basex-talk] Declaring a variable in bxs that carries over to called xquery scripts

2022-03-01 Thread Patrick Durusau
but it doesn't seem to be working for me. What am I missing? Thanks! Patrick <https://twitter.com/servicenow>-- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300 Co-Editor, ISO/IEC 13250-1, 1

Re: [basex-talk] Anticipating more complex data to follow

2022-03-22 Thread Patrick Durusau
22, 2022 at 12:15 AM Patrick Durusau wrote: Greetings! While working on some large but fairly simple data, I encountered BaseX using the underscore "_" as an element name when importing JSON. Not leaving well enough alone for present purposes, I encountered this post about anonymo

Re: [basex-talk] Anticipating more complex data to follow

2022-03-22 Thread Patrick Durusau
uot;: "SH", "name": "name2" } ] }' let $data := json:parse($string) return $data/json/parties[_[name = 'name1'][role = 'CN']] Martin provided the solution for the XQuery map/array format: let $data := json:parse($string, map { 'format': 'xquery'}) return $data?part

[basex-talk] Anticipating more complex data to follow

2022-03-21 Thread Patrick Durusau
ey resolve the problem. https://developer.marklogic.com/recipe/query-array-anonymous-objects/ Is there already a recommended solution for this problem? Or should I wait until I actually encounter it and ask again? Hope everyone is at the start of a great week! Patrick -- Patrick Durusau patr...@d

[basex-talk] Typo in basexgui.bat? since 9.6.4? Also in 9.7

2022-04-01 Thread Patrick Durusau
l running 9.4.6 on Debian and report the same from the files there. 9.7 was on Windows 10. -- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300 Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps) Another Word F

[basex-talk] copy-paste, can't copy in BaseX and then paste into Emacs (Debian)

2022-04-01 Thread Patrick Durusau
Hello, I tried to copy a string out of results with the copy command on the drop down but don't seem to be able to paste into Emacs. Trying to be good and document my steps but if I can't copy-paste, that's going to be tedious. Suggestions? Thanks! Patrick -- Patrick Durusau patr

Re: [basex-talk] copy-paste, can't copy in BaseX and then paste into Emacs (Debian)

2022-04-01 Thread Patrick Durusau
. Is that not working for you? Best, Bridger On Fri, Apr 1, 2022 at 10:34 AM Patrick Durusau wrote: Hello, I tried to copy a string out of results with the copy command on the drop down but don't seem to be able to paste into Emacs. Trying to be good and document my steps but if I can't

Re: [basex-talk] Typo in basexgui.bat? since 9.6.4? Also in 9.7

2022-04-04 Thread Patrick Durusau
d as publisher (which is not very Open-Source friendly). Best, Christian -- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300 Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps) Another Word For It

Re: [basex-talk] copy-paste, can't copy in BaseX and then paste into Emacs (Debian)

2022-04-04 Thread Patrick Durusau
fields [1], and I have revised the implementation for our custom text areas. I decided to either copy or paste text when the middle button is clicked, not both at the same time. Feedback is welcome. [1] https://files.basex.org/releases/latest/ -- Patrick Durusau patr...@durusau.net Technical

[basex-talk] Update on latest version: Re: copy-paste, can't copy in BaseX and then paste into Emacs (Debian)

2022-04-04 Thread Patrick Durusau
On 4/4/22 09:27, Patrick Durusau wrote: Thanks! I'm downloading it now. It's a hard habit to break! Patrick On 4/4/22 07:45, Christian Grün wrote: I think we could try to extend the standard Swing components (JTextField, etc.) to also support the middle mouse button; I have added middle mouse

Re: [basex-talk] Typo in basexgui.bat? since 9.6.4? Also in 9.7

2022-04-04 Thread Patrick Durusau
Christian, Done and done. With Java installed on Windows, works as expected! I assume regular Windows users are more aware of its, err, special needs. ;-) Hope you are having a great week! Patrick On 4/4/22 09:24, Patrick Durusau wrote: Christian, It's the little things. Windows 10 does

[basex-talk] Reversal of Hebrew?

2022-04-05 Thread Patrick Durusau
" conditions or I can try to teach them regexes. Which do you think I'm going to pick? If that's a problem we can always create a XQuery library/pod whatever to keep users from having to type the filters in manually. Thanks! Hope everyone is having a great week! Patrick -- Patrick Durusau

Re: [basex-talk] Interrupted queries - partial results?

2022-04-21 Thread Patrick Durusau
is interrupted; I’ll have more thoughts on that. As another alternative to Daniel’s solution, prof:dump and fn:trace can be used to output results at runtime to the Info View: for $i in 1 to 10 where $i mod 1000 = 0 return trace($i) On Wed, Apr 20, 2022 at 1:45 AM Patrick Durusau wrote

Re: [basex-talk] Interrupted queries - partial results?

2022-04-20 Thread Patrick Durusau
results at runtime to the Info View: for $i in 1 to 10 where $i mod 1000 = 0 return trace($i) On Wed, Apr 20, 2022 at 1:45 AM Patrick Durusau wrote: Thanks! That should do it! Patrick On 4/19/22 11:40, Zimmel, Daniel wrote: How about some custom logging? for $i in (1 to 10

[basex-talk] Interrupted queries - partial results?

2022-04-19 Thread Patrick Durusau
Greetings! Is it possible to capture partial results from an interrupted query? When I realize a query is taking too long for the data involved, it might be helpful in correcting the mistake. Thanks! Patrick -- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASIS (TAB

Re: [basex-talk] Interrupted queries - partial results?

2022-04-19 Thread Patrick Durusau
Nachricht- Von: BaseX-Talk Im Auftrag von Patrick Durusau Gesendet: Dienstag, 19. April 2022 16:45 An: basex-talk@mailman.uni-konstanz.de Betreff: [basex-talk] Interrupted queries - partial results? Greetings! Is it possible to capture partial results from an interrupted query? When I realize

[basex-talk] random initialization vector (IV) - "As the IV has to be passed along with the encrypted message somehow"

2022-06-08 Thread Patrick Durusau
very to the user.|| ||That is the data in BaseX and the query, are never visible during the query or response to the query.|| ||Does that make sense?|| ||It's not an immediate need but I thought I should ask before it is.|| ||Thanks for all you do in this wonderful project!|| ||Patrick ||

[basex-talk] Not sure if feature/bug/my mistake!

2022-05-04 Thread Patrick Durusau
der = "digit" would be enough to sort on that attribute and return the book names in the expected order. I'm sure there are better solutions, suggestions appreciated! Patrick -- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument Format TC (

Re: [basex-talk] Not sure if feature/bug/my mistake!

2022-05-06 Thread Patrick Durusau
:04PM -0400, Patrick Durusau scripsit: You know, the files don't have internal sort attributes. ntorder = "digit" would be enough to sort on that attribute and return the book names in the expected order. I'm sure there are better solutions, suggestions appreciated! In principle, it's

[basex-talk] New fails without warning when one file out of 27 is locked

2022-08-04 Thread Patrick Durusau
. No database was created. Not a problem because I closed the file and re-ran new but curious if that is the expected behavior? Or should it skip the locked file? Thanks for all the hard work! Patrick -- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument

Re: [basex-talk] New fails without warning when one file out of 27 is locked

2022-08-15 Thread Patrick Durusau
trick On 8/5/22 03:03, Christian Grün wrote: Hi Patrick, If files are locked, it should usually be no problem to open them. Could you possibly describe to us how we can reproduce this behavior? Thanks in advance Christian On Fri, Aug 5, 2022 at 1:16 AM Patrick Durusau wrote: Greetings! My m

Re: [basex-talk] Formatting attributes as an indented list?

2023-03-07 Thread Patrick Durusau
be required, or do you think the details are not that relevant? We could possibly add a custom serialization parameter similar to tidy’s 'indent-attributes' option, and it would probably be easier to ignore the expected string length. All the best, Christian -- Patrick Durusau patr...@durusau.net

[basex-talk] default concatenation of strings? BaseX 10.5

2023-04-05 Thread Patrick Durusau
is. Then I tried: for $char in $a return ($char, "") Now I get: 1493 1463 1497 etc. I saw the new line settings under serialization but there didn't appear to be any way to defeat them altogether. Thanks! Patrick -- Patrick Durusau patr...@durusau.net Technical Advisory Board,

Re: [basex-talk] default concatenation of strings? BaseX 10.5

2023-04-05 Thread Patrick Durusau
Liam, Thanks! Yes, in the response window and I didn't know it used "adaptive" serialization. No promises but I hope to remember that! Hope you are having a great week! Patrick On 4/5/23 16:25, Liam R. E. Quin wrote: On Wed, 2023-04-05 at 16:01 -0400, Patrick Durusau wrote:

[basex-talk] XQuery Prolog with serialization settings - basex "Unknown option 'basex'?

2023-02-13 Thread Patrick Durusau
and it runs! Sadly not applying the requested formatting. Some guidance on serialization please? Thanks! Patrick -- Patrick Durusau patr...@durusau.net Technical Advisory Board, OASIS (TAB) Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300 Co-Editor, ISO/IEC 13250-1, 13250-5

Re: [basex-talk] XQuery Prolog with serialization settings - basex "Unknown option 'basex'?

2023-02-13 Thread Patrick Durusau
Thanks! That works! I have a separate question on formatting attributes but will post that separately. Hope you are having a great week! Patrick On 2/13/23 14:39, Martin Honnen wrote: On 2/13/2023 8:28 PM, Patrick Durusau wrote: Greetings! I have the following in the prolog of an XQuery

[basex-talk] Formatting attributes as an indented list?

2023-02-13 Thread Patrick Durusau
? My personal suspicion is that inserting \n when each attribute is serialized (and not on the last one) is the easier route but I promised to investigate the command line. Have I overlooked something in the very fine manual? Hope everyone is having a great week! Patrick -- Patrick Durusau patr

Re: [basex-talk] Formatting attributes as an indented list?

2023-02-14 Thread Patrick Durusau
if the string length of the element name and the attributes exceed a specific maximum length? Best, Christian On Mon, Feb 13, 2023 at 9:10 PM Patrick Durusau wrote: Greetings! I've been tasked with using BaseX to produce