Reuben Thomas
Reuben Thomas
Calling `fontoxpath:evaluate`, I am getting errors like this: ``` Error: XPST0017: Function Q{https://github.com/rrthomas/ruth/raw/main/ruth.dtd}r elative-path with arity of 1 not registered. Did you mean "Q{https://github.com/ rrthomas/ruth/raw/main/ruth.dtd}real-path (xs:string)"? ``` Here, `ruth:real-path` (the...
I just found this by accident, and I don't fully understand how it works from looking at the tests. As I wrote my own `eval` function, I'm quite interested in...
I would like to be able to have multiple instances of fontoxpath, but this doesn't appear to be possible at present: for example, `registerCustomXPathFunction` affects the global state. See #398.
Example code: ```typescript import {evaluateXPathToString, registerCustomXPathFunction, Options} from 'fontoxpath' const foo = 'https://example.org/foo.dtd' registerCustomXPathFunction( {localName: 'foo', namespaceURI: foo}, ['xs:string'], 'xs:string', (_, arg: string) => { return arg } ) registerCustomXPathFunction(...
Slightly modifying the example code in the documentation: ```js const fontoxpath = require("fontoxpath") // Register a function called 'there' in the 'hello' namespace: fontoxpath.registerCustomXPathFunction({ namespaceURI: 'hello', localName: 'there' }, ['array(*)'],...
In `src/index.js`, "assignemnts" should be "assignments". Thanks for js-cid!
GNU grep, for example, matches accented letters with `[:alpha:]` in UTF-8 locales. Yes, I could either use GNU grep, or use `-P` to match `\p{L}` instead, but it would be...
When I Alt+Tab away from and back to DrRacket with a file dialog opened, the main window is focussed
**What version of Racket are you using?** 8.5 [cs] **What program did you run?** 1. Ensure some application other than DrRacket is open. 2. Start DrRacket. 3. File→Open. The file...
**What version of Racket are you using?** 8.5 [cs] **What program did you run?** `raco docs jsonic` **What should have happened?** I expected to get a browser window with search...
I am the author of the contrib script `autopygmentize`, which tries to guess the lexer to use for a given file. (It's useful as a `.lessfilter`, to colour less's output.)...