Repository navigation
v1.2.0 — clean public surface, reflective hosting, hardened compile diagnostics
What's new in 1.2.0
Public API surface
- The assembly now exports only the public API: the
OutSmart.DAXon.Apinamespace and the
closure of what its signatures reach — 537 exported types, down from 2018. Engine internals
are no longer part of the contract; program against theApinamespace. - The exported surface carries zero case-colliding member pairs, so case-insensitive binders
(PowerShell, VB.NET) can bind every public type. Two duplicates were removed in the process:DocumentBuilder.BaseURI→ useBaseUri(same validation, one store — previously the two
properties were independent, and setting one while calling the other silently did nothing)QName.GetNamespaceURI()→ useGetNamespaceUri()
Processorgained a real parameterless constructor, soNew-Object OutSmart.DAXon.Api.Processor
andActivator.CreateInstancework (an all-optional constructor is invisible to reflective binders).
Correctness
xsl:strip-spaceis now honoured on every input path; previously one entry point could
silently skip whitespace stripping.- A real
xsl:use-packagedependency cycle is reliably reported as XTSE3005, including under
concurrent compiles (the cycle marker is per-thread now).
Compile diagnostics
- The full error list of a failed compile is carried on the thrown exception, not only written
to the logger's console channel. - The "too many errors" budget is scoped to one compilation: a long-lived, reused
Processor
no longer aborts a late compile of a two-error stylesheet with "Too many errors reported".
A package compiled throughxsl:use-packagecounts within the compilation that requested it.
Limits and diagnosability
maxInputBytesis enforced on the direct API entries, with clear byte/char units.- The NamePool ceiling failure now reports occupancy, the limit, and the remedy; swapping the
NamePool of a liveConfigurationis refused instead of corrupting state. - Internal caches that grew without bound on a long-lived
Processorare now capped.
Thread-safety hardening
- Lazily built evaluators,
SequenceTypesingletons (compared by reference in guard positions)
and the per-Configurationconversion-rules instance are all published safely under
concurrent first use; error-reporter counters moved under a lock.
Verification
Every change passed the internal battery: the W3C QT3 (XPath/XQuery 3.1) and XSLT 3.0
conformance corpora at the documented 17-failure baseline (38 554 passing), 489 spec tests,
byte-identity checks on a shared Processor under concurrent load, and 36 robustness probes
(each proven to fail against the pre-fix engine).
Upgrading from 1.1.0
- If you only used the
Apinamespace: renameBaseURI→BaseUriand
GetNamespaceURI()→GetNamespaceUri()if you called them; nothing else changes. - If you referenced engine types outside
Api, they are internal now — the supported way in is
theApisurface.