PureXML/Sources/XSLT
Mihaela Mihaljevic ac85dd36de feat(xpath,xslt,wasm): evaluation budget, tailored collation, WASI runtime proof
PureXML.XPath.Budget is the configurable counterpart of libxml2's
fixed 10M node-set cap (libxml2Compatible preset included), thrown as
a located QueryError instead of a silent refusal, default unbounded.
xsl:sort honors lang with tailored alphabet orders for Polish and
Russian derived from the conformance golds, case-folded. The WASM
gate executes all 985 tests under wasmtime on an actual WASI runtime,
wired into CI; the first run caught a real wasm32 trap (Int is 32
bits there, so format-number's digit extraction trapped at 2^31
despite the 2^53 guard; internals are now Int64 and the xsl:number
bound is platform-correct). Xalan baseline 127 -> 125. Closes #143,
closes #144.
2026-06-11 06:26:13 +02:00
..
XSLTAVT.swift
XSLTCollation.swift feat(xpath,xslt,wasm): evaluation budget, tailored collation, WASI runtime proof 2026-06-11 06:26:13 +02:00
XSLTDocumentCache.swift fix(xslt): composition cycles terminate; id() gains a per-document index 2026-06-10 18:07:02 +02:00
XSLTElements.swift feat(xpath,xslt,wasm): evaluation budget, tailored collation, WASI runtime proof 2026-06-11 06:26:13 +02:00
XSLTFunctions.swift feat(xpath,xslt,wasm): evaluation budget, tailored collation, WASI runtime proof 2026-06-11 06:26:13 +02:00
XSLTLookups.swift fix(xslt): composition cycles terminate; id() gains a per-document index 2026-06-10 18:07:02 +02:00
XSLTMatchCache.swift feat(xslt): contextual sort keys and cross-document template matching 2026-06-10 13:54:37 +02:00
XSLTModel.swift feat(xpath,xslt,wasm): evaluation budget, tailored collation, WASI runtime proof 2026-06-11 06:26:13 +02:00
XSLTNamespaceFixup.swift feat(xslt): attribute-set merging, copied namespaces, html booleans, loader entities 2026-06-10 16:11:02 +02:00
XSLTNumbering.swift fix(xslt): gate raw-output markers, cache pattern table, add CI tests 2026-06-10 15:01:07 +02:00
XSLTParser.swift feat(xpath,xslt,wasm): evaluation budget, tailored collation, WASI runtime proof 2026-06-11 06:26:13 +02:00
XSLTParserEntry.swift feat(xslt): top-level stylesheet parameters 2026-06-10 17:35:11 +02:00
XSLTParserStructural.swift feat(xslt): stylesheet namespace resolution for patterns and expressions 2026-06-10 13:36:59 +02:00
XSLTRawText.swift
XSLTRuntime.swift feat(xslt): post-order import precedence, scoped apply-imports, relative hrefs 2026-06-10 16:27:06 +02:00
XSLTSorting.swift feat(xpath,xslt,wasm): evaluation budget, tailored collation, WASI runtime proof 2026-06-11 06:26:13 +02:00
XSLTTransform.swift feat(xslt): top-level stylesheet parameters 2026-06-10 17:35:11 +02:00
XSLTTransformer.swift feat(xslt): top-level stylesheet parameters 2026-06-10 17:35:11 +02:00
XSLTUnitCollector.swift fix(xslt): composition cycles terminate; id() gains a per-document index 2026-06-10 18:07:02 +02:00
XSLTWhitespace.swift