Hi Joe,
Thanks again for all of your kind assistance!
…and thanks for your helpful feedback.
Finally, I just remembered observation that came up during the class - the BaseX GUI editor's syntax highlighting sometimes breaks down in odd places, such as the middle of a function name, e.g., in `fn:format-date()`, the `fn` and `-date` are colored black, but `format` is colored blue.
Oh yes, that’s true. Our custom renderer was optimized for performance. It’s possible to open and highlight pretty large XML documents, but the highlighting is very basic. The function 'format-date' is split into three tokens (format, -, date), and as 'format' is detected as keyword, it will be highlighted as the only term.
I’ve just decided to add all tokens that can be created from function names to our highlighter, and all pre-declared namespace prefixes. The rendered queries will even be “bluer” than before, but the overall appearance will hopefully be more consistent. Yet another snapshot is online [1].
I thought I'd mention it since it came up.
Always appreciated! Christian