PureXML/Sources/XSLT
Mihaela Mihaljevic b84fdd00ef fix(xslt): no fatal traps on extreme format-number and xsl:number values
format-number of a value at or beyond 2^53 ran an unguarded
Double-to-Int conversion, a fatal trap reachable from user data; a
fraction picture beyond 15 places overflowed the scale conversion the
same way; and xsl:number value= beyond 2^53 trapped identically.
Digit extraction clamps fraction places to 15 (the 2^53 exactness
bound), pads back to the picture's minimum, renders out-of-range
integers through the exponent expander, and xsl:number falls back to
plain number rendering outside [1, 2^53). Sort-key rows always carry
one key per sort. Regression tests cover all three trap paths.
2026-06-10 15:35:36 +02:00
..
XSLTAVT.swift feat(xslt): implement xsl:namespace-alias, completing #81 2026-06-09 02:10:16 +02:00
XSLTDocumentCache.swift feat(xslt): per-document key indexes in document order 2026-06-10 14:01:28 +02:00
XSLTElements.swift fix(xslt): no fatal traps on extreme format-number and xsl:number values 2026-06-10 15:35:36 +02:00
XSLTFunctions.swift fix(xslt): no fatal traps on extreme format-number and xsl:number values 2026-06-10 15:35:36 +02:00
XSLTMatchCache.swift feat(xslt): contextual sort keys and cross-document template matching 2026-06-10 13:54:37 +02:00
XSLTModel.swift fix(xslt): gate raw-output markers, cache pattern table, add CI tests 2026-06-10 15:01:07 +02:00
XSLTNamespaceFixup.swift feat(xslt): literal result element namespace copying 2026-06-10 12:55:48 +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(xslt): prolog ordering, html doctype, simplified syntax, CDATA splitting 2026-06-10 13:48:03 +02:00
XSLTParserEntry.swift fix(xslt): gate raw-output markers, cache pattern table, add CI tests 2026-06-10 15:01:07 +02:00
XSLTParserStructural.swift feat(xslt): stylesheet namespace resolution for patterns and expressions 2026-06-10 13:36:59 +02:00
XSLTRawText.swift feat(xslt): output methods in depth 2026-06-10 13:10:50 +02:00
XSLTRuntime.swift feat(xslt): stylesheet namespace resolution for patterns and expressions 2026-06-10 13:36:59 +02:00
XSLTSorting.swift fix(xslt): no fatal traps on extreme format-number and xsl:number values 2026-06-10 15:35:36 +02:00
XSLTTransform.swift fix(xslt): gate raw-output markers, cache pattern table, add CI tests 2026-06-10 15:01:07 +02:00
XSLTTransformer.swift fix(xslt): gate raw-output markers, cache pattern table, add CI tests 2026-06-10 15:01:07 +02:00
XSLTWhitespace.swift feat(xslt): output methods in depth 2026-06-10 13:10:50 +02:00