DCoding.Xml.Exi
1.0.1
dotnet add package DCoding.Xml.Exi --version 1.0.1
NuGet\Install-Package DCoding.Xml.Exi -Version 1.0.1
<PackageReference Include="DCoding.Xml.Exi" Version="1.0.1" />
<PackageVersion Include="DCoding.Xml.Exi" Version="1.0.1" />
<PackageReference Include="DCoding.Xml.Exi" />
paket add DCoding.Xml.Exi --version 1.0.1
#r "nuget: DCoding.Xml.Exi, 1.0.1"
#:package DCoding.Xml.Exi@1.0.1
#addin nuget:?package=DCoding.Xml.Exi&version=1.0.1
#tool nuget:?package=DCoding.Xml.Exi&version=1.0.1
DCoding.Xml.Exi
V1.0 technical selection: Community, Professional. Declared assets/hosts: net8.0, net11.0. See the current edition and API/runtime catalog for mode and host limits. Selection and retained development results do not replace final artifact qualification, the supplied license or human release approval.
Optional materialized EXI support in the v1.0 Community/Professional selection. It references XDM only. Installing it does not alter XML parsing, detect binary input, acquire schemas, register cryptographic algorithms or enable commercial streaming.
ExiDecoder.Decode(ExiDecodeRequest) decodes one explicitly selected schema-less
or schema-informed EXI message into independently owned immutable XDM nodes.
ExiEncoder.Encode(ExiEncodeRequest) traverses supplied materialized XDM directly
and writes an explicit binary destination. Both support bit-packed,
byte-aligned, pre-compression and compression coding, document/fragment scopes,
self-contained scopes and fidelity data. It shares finite limits with the
integrated binary engine and never serialize or reparse XML text. Schema-informed
operations consume caller-authorized immutable grammar data; neither a schemaId
nor an artifact descriptor grants acquisition authority.
Select document or fragment grammar explicitly. Document content contains one well-formed XDM document; fragments retain their ordered top-level element, comment and processing-instruction nodes in a separate envelope. They are never wrapped in an invalid document. Wire fidelity metadata uses the existing XDM Infoset contracts. Source locations, authority and proprietary inclusion history are not implied to round-trip through EXI.
The result retains effective option resolution, inert typed header metadata and detached original DOCTYPE fields. Attribute defaulting knowledge is explicitly Unknown. Optional request BaseUri supplies an inert absolute base for xml:base; InputProfile explicitly selects XML 1.0 or XML 1.1. Adjacent text coalesces and empty runs disappear. Direct XDM copies and supported LINQ conversions retain missing attribute knowledge; unsupported DTD/entity conversion fails explicitly.
Decode options supplied out of band apply when the options document is absent.
The four schemaId states are distinct: absent, nil/schema-less, empty/built-in
types and an opaque identified schema. Identifiers never trigger retrieval.
ExiGrammarLoader.Load and LoadAsync structurally validate actual portable
grammar bytes against the caller's independent descriptor, source-graph hash,
compilation hash and option agreement. A descriptor alone neither loads a grammar
nor validates a document. Materialized runtime grammar use does not require the
optional SchemaAware compiler or commercial packages.
ExiCanonicalContext.Create freezes explicit Canonical EXI parameters and schema
authority, normalizes compression to pre-compression and canonicalizes header
options. ExiCanonicalHeader.Create produces exact header bytes and BitLength,
the body start. A bit-packed body continues at that bit position; padded header
bytes cannot simply be concatenated with a body. Omitted options require the
shared context. GetReceipt() records all requested and normalized options,
schema/artifact identities, omitOptionsDocument, utcTime and explicitly
advertised EXI Profile metadata. Header production does not claim whole-body
canonicalization or signature creation.
ExiEncoder also accepts the frozen canonical context and performs canonical
event/value production from materialized information. ExiCanonicalizer.Canonicalize
transcodes an existing EXI stream through the bounded binary event path, without
a lossy text-XML intermediate. Equivalent inputs require the same explicit
schema, options and fidelity agreement. Canonical EXI is separate from XML C14N
and ordinary EXI serialization. The context receipt identifies parameters; it
does not prove that arbitrary bytes were canonicalized. Unrepresentable values,
invalid agreements and exhausted finite limits fail with structured errors.
Requests do not read, write or dispose streams during construction. Execution must honor leave-open on success, failure and cancellation. Local limits apply cumulatively across headers, values, grammars and blocks, independently of wire table options; exhaustion fails instead of silently changing the protocol.
The package contains net8.0 and native net11.0 assets; net10 consumers use net8.0. All packages remain private; see LICENSE.md and NOTICE.md. No publication is authorized.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net11.0
- DCoding.Xml.Xdm (>= 1.0.1)
-
net8.0
- DCoding.Xml.Xdm (>= 1.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1 | 46 | 11/20/2026 |
Stable 1.0.1: licensing and packaging correction delivery. Public APIs and edition rights are unchanged.