Repository navigation
v1.4.0 — .NET 8 and .NET 10, per-call limits, resource access control
Adds .NET 8 and .NET 10 builds, per-call time and memory limits, and control over what a stylesheet may
reach outside the transformation. It closes a long list of defects found in three reviews of the port.
Some behaviour changed: read Upgrading from 1.3 in CHANGELOG.md
before replacing 1.3.x in a host.
-
Platforms. One package with
net472,net8.0andnet10.0builds. Legacy code pages resolve on .NET 8/10. -
Limits per call.
ProcessorOptions.MaxMemoryBytes(500 MB by default) bounds what one compile, document
build, transformation, query or XPath evaluation holds. Past it the call stops withSXLM0003.
TransformTimeout(one minute by default) now applies to every call on its own, including each evaluation of
a reusedXPathSelectorand eachCallFunction, and to every phase of compilation.
StackSizeThresholdsets how much stack a recursion must leave free. -
Resource access.
AllowFileRead,AllowFileWrite,AllowNetwork,AllowEnvironmentVariables, host
allow/deny rules (exact, wildcard, regex, CIDR) and filters. Everything stays allowed by default. -
Security. Two output-escaping fixes, both present in 1.3.3:
- U+0000 in host strings or under
version="1.1"switched escaping off, so data came out as markup; - a comment written through the XmlWriter faces could inject markup.
Entity expansion is capped on every host.
- U+0000 in host strings or under
-
Stability. Deep input, long expression chains and runaway work stop with a coded error instead of
killing the process with a stack overflow or running past the time limit. Memory and file-lock leaks are
closed. -
Behaviour changes worth knowing:
- parse errors arrive as
DAXonApiException(SXXP0003); JsonBuilderdecodes escapes (SetEscaped(true)keeps the old form);XdmValue.ToString()serializes the value;- collation
strength=primaryno longer ignores punctuation; UTF-16LE/BEare written without a byte order mark unless asked;- DTD validation reports errors;
- XInclude is refused explicitly.
The full list is in the changelog.
- parse errors arrive as
-
Faster. Compilation, regex, XSLT 1.0-style comparisons and small repeated API calls. A reused selector
allocates a quarter of what 1.3.3 did. -
AssemblyVersionis1.4.0.0. The assembly is not strong-named, so hosts built against 1.3 load it without
a binding redirect. No public member was removed, so a host compiled against 1.3.3 runs on 1.4.0 without
recompiling.
The full W3C QT3 + XSLT 3.0 conformance corpora pass at the documented baseline: 38 554 cases, 17 known
failures (XML 1.1 input documents). The runner in tests/QT3Test reproduces this. CI builds all three targets
and smoke-tests them on Windows, and the .NET 8 and .NET 10 builds also on Linux.
Assets: OutSmart.DAXon.dll is the .NET Framework 4.7.2 build, as in previous releases.
OutSmart.DAXon-1.4.0.zip carries all three builds under net472/, net8.0/ and net10.0/. On NuGet the
package picks the right one automatically.