devatwork
devatwork
@Xorcerer is correct: this code is very early stages and far from complete, let alone verified. Feel free to use bits in your own implementation if it helps. Leaving this...
!!! Crash found !!! Selector: `fn:fold-left((true(), false(), false()), false(), function($a, $b) { ?a and $b })` Language: `XQueryUpdate3.1` ``` TypeError: Cannot read property 'type' of null at gs (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:277:240) at...
!!! Crash found !!! Selector: `string((1, 2! /))` Language: `XPath3.1` ``` TypeError: Cannot read property 'nodeType' of undefined at bs.evaluate (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:273:714) at ok (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:164:440) at Object.next (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:263:587) at Object.next (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:58:985)...
!!! Crash found !!! Selector: `fn:sum((1 to 100)[/tk0], 0) ` Language: `XPath3.1` ``` TypeError: Cannot read property 'nodeType' of undefined at bs.evaluate (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:273:714) at ok (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:164:440) at Object.next (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:277:7) at...
Same error, slightly different stack trace, probably some issue. !!! Crash found !!! Selector: `fn:round-half-to-even(3.5678!2
Idem: !!! Crash found !!! Selector: `array:head([["a", "b"]! ["c", "d"]])` Language: `XPath3.1` ``` TypeError: Cannot read property 'ta' of null at Sg (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:94:62) at Object.next (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:93:300) at Object.next (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:263:551) at...
Idem !!! Crash found !!! Selector: `fn:empty((1!2,3)[10])` Language: `XPath3.1` ``` TypeError: Cannot read property 'ta' of null at Sg (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:94:62) at Object.next (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:93:300) at Object.next (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:263:551) at Object.next (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:58:985) at...
Thanks for reporting @rrthomas! Out of intrest, do you have a use case for "overwriting" an existing function? Arguably, the 2nd call to `registerCustomXPathFunction` should have thrown.
Still an issue on `mcr.microsoft.com/dotnet/sdk:7.0.203-alpine3.17`. I added the following line to my `Dockerfile` just before invoking the `dotnet format` command as a workaround: ```sh RUN ln -s /usr/share/dotnet/host/fxr/7.0.5/libhostfxr.so /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.5/libhostfxr.so ```
@oliverjanik the source of the website is available in this repo: https://github.com/MartinF/DynamoIOC/tree/master/Dynamo.Ioc.Website