fontoxpath icon indicating copy to clipboard operation
fontoxpath copied to clipboard

A minimalistic XPath 3.1 implementation in pure JavaScript

Results 63 fontoxpath issues
Sort by recently updated
recently updated
newest added

i'm trying to locate elements in a browser dom (for my [playwright selector engine](https://github.com/detachhead/playwright-xpath)) and think i've identified an issue that's specific to firefox. however debugging is difficult even when...

Bumps [prsc](https://github.com/bwrrp/prsc.js) from 3.1.0 to 4.0.0. Release notes Sourced from prsc's releases. 4.0.0 Fix ESM usage in node. This is only a breaking change because it renames the UMD module...

dependencies

Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 9.1.0 to 9.1.1. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/mocha&package-manager=npm_and_yarn&previous-version=9.1.0&new-version=9.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [karma](https://github.com/karma-runner/karma) from 6.3.17 to 6.4.0. Release notes Sourced from karma's releases. v6.4.0 6.4.0 (2022-06-14) Features support SRI verification of link tags (dc51a2e) support SRI verification of script tags (6a54b1c)...

dependencies

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.21 to 18.7.14. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=17.0.21&new-version=18.7.14)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-extractor) from 7.19.4 to 7.29.5. Changelog Sourced from @​microsoft/api-extractor's changelog. 7.29.5 Wed, 24 Aug 2022 03:01:22 GMT Version update only 7.29.4 Wed, 24 Aug 2022 00:14:38 GMT Patches Remove...

dependencies

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...

repro: https://xpath.playground.fontoxml.com/?state=H4sIAL0v4WIAA22R0UvDMBDG%2F5UjL1WYG77OWvB9gorChL1k7XUNJrmSXGbL2P%2FupXXsQaHQL8l3v%2FuSOylHDar1%2FUIddTB6bzGqtTqd1UINzoos5VftPEDJhi1WQ6%2B5W%2FZWj4dAyTfLljyTmJY1uXI1myZ%2FTM7pMFbvnYkgnwaLOnjjD8BEFloKsH3eLGD7IkjQvoHta8IwLsvVpfa3cR8nNWswzWOBjeGi%2BqQEtfaQV4BHqeUu88kDdyj9Ws6R%2Bj%2FVg3a9XPVK0HWNMYKjgHA5hTaQk9gOfQIzI5l6CObQ%2Fc%2FtMThtjf8qqidP4g%2BwT8xzHCFb5AijtIydlqWoAIyRIcUcW3J8vG2u5Enlq5erPIU8k%2BmBZCwN1jYj2uRrNrkBDrwehuHm9lR0aC3dfVOwTXF%2B2Pmdn7cKIdQyLrFeOOr8Ayss%2FhQDAgAA Steps: 1. Declare a function with a prefix set to 'text' Expected: All should work. Maybe something about a prefix not being resolvable Actual: Parse error. Changing the...

When we evaluate a query AST we don't get as good error messaging as with normal string queries. I've reproduced this in the `./demo/main.ts` by changing the `runNormalXPath` to ```ts...

Found by #349 !!! Crash found !!! Selector: `array:sort([(1,0), (1,1)? (0,B), (0,0)])` Language: `XQuery3.1` ``` TypeError: Cannot read property 'P' of null at Gm.evaluate (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:219:2153) at C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:177:781 at C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:263:286 at...