Expand description
FpML document decoder: pinned XML Schema validation and configured typed projection. FpML document decoding: secure parsing, pinned XML Schema validation, reference integrity, and configured typed projection into Arrow.
One complete document per transport record (file or message). Each document passes, in order: a streaming pre-scan (UTF-8 only, no DTDs or processing instructions, structural limits), libxml2 parsing and XML Schema validation against a digest-pinned closure, document-local reference checks, and projection through a compiled profile. Any failure rejects the whole document before a row is returned.
Structs§
- Artifact
- A verified schema closure.
- Fpml
Config - Parsed
fpml.*options. - Fpml
Decoder - Decodes one complete FpML document per record into rows of the profile’s schema.
- Limits
- Bounds applied to every document. Each is checked before the work it guards.
- Profile
- A compiled profile with its identity.
- Rejection
- Why one document was rejected. The detail is bounded and never contains raw document text beyond schema-vocabulary names and line numbers.
Enums§
- Profile
Source - Where a profile comes from.
- Reference
Policy - How far
hrefchecking goes beyond resolution. - Stage
- The decoding stage that rejected a document. Used as a bounded metrics label.
Constants§
- BUNDLED_
CONFIRMATION - Identifier of the bundled FpML 5.13 REC-2 confirmation-view closure.
- BUNDLED_
PROFILES - Bundled profiles:
(name, root file). - DEFAULT_
PROFILE - Bundled profile used when neither
fpml.profilenorfpml.profile.pathis set: one row per trade of any asset class, without product economics (the asset-class profiles add those).