Commit Graph
4 Commits
Author SHA1 Message Date
ldm0 3c7557ee2d feat(xpath): expose compiled expressions with context document evaluation
Expose XPathExpression and implement Document/XPathEvaluator.createExpression with a retained native XPath AST. Compilation resolves namespaces once; repeated evaluation reads the current context document, including detached and cross-realm documents.

Share context-document evaluation with Document.evaluate and invalidate detached-document iterators after native mutations. Regression coverage checks receiver/argument ordering, namespace resolution, document mutations, repeated evaluation, garbage collection, and isolate teardown.

Validation: fmt, strict workspace clippy, full nextest. Summary [ 104.560s] 18907 tests run: 18907 passed (9 slow), 16 skipped
2026-09-29 07:31:28 +08:00
Iain afc28fc394 fix(xpath): apply a single leading minus sign 2026-08-27 12:56:52 +08:00
ldm0 0d1b885eb0 build(deps): align html parser stack on 0.39 2026-08-17 01:26:26 +08:00
ldm0 27b5135cb6 Public preview 2026-08-11 00:10:12 +08:00