Community Blog

Community Blog

Bridging XML Standards & Executable Models: Rune XSD Importer Contributed to FINOS

December 02, 2026

The Rune XSD Importer is an open-source Java API. It translates XML Schema (XSD) definitions into valid Rune DSL models, together with the XML serialization configuration the Rune runtime needs. It gives firms a repeatable, open path from the XML standards they already run, such as FpML, FIXML and ISO 20022, into the Rune ecosystem that powers CDM and ISDA’s Digital Regulatory Reporting (DRR).

Contributed by TradeHeader and officially accepted into FINOS Labs, the project’s first version was released ahead of OSFF New York 2026. It was designed and built by Manuel Martos, TradeHeader’s CTO, with input from the broader TradeHeader team and the CDM community.

Rune XSD Importer Contribution

The Challenge: Costly & Error Prone XML Schema Translation

Much of the industry’s trade data is defined in XML Schema. FpML has been used for about 25 years and is still active inside and between firms. Many buy-side and sell-side institutions also run their own FpML-style formats, extended to cover more products and internal data. Vendor platforms and other standards such as FIXML and ISO 20022 add more schemas on top.

CDM, which FINOS hosts, now offers a functional layer for the trade lifecycle and is the basis for ISDA’s DRR. But using it means first representing your existing XML data as Rune models. Until now, that step relied on hand-modelling or on tooling that is no longer in the open-source Rune DSL codebase. Every firm with an extended or proprietary schema faced the same costly, error-prone translation work. A single-firm fix doesn’t solve this. The industry needs a shared, open way to turn any XSD into a model the Rune toolchain can compile, serialize and map.

The Solution: The Rune XSD Importer

The Rune XSD Importer brings that capability back as an open, community-governed tool, built on a new architecture:

  • Eclipse Modeling Framework (EMF) at the core: the importer builds Rune resources through EMF, the foundation model of Rune DSL, rather than by generating strings. Every output is syntactically valid Rune.
  • Layered design: an anti-corruption layer cleans up raw XSD parser output. Dedicated mappers turn XSD constructs into Rune types. An infrastructure layer manages symbols and cross-references across multiple schemas.
  • Two outputs: Rune model files plus the XML serialization and deserialization configuration that lets the generated Java round-trip the original XML documents.

The importer fits alongside FINOS’s CDM and Rune DSL work. Firms can bring their own FpML extensions, vendor schemas and other XML standards into the same modelling environment as CDM. From there, they can write the mapping logic that connects that data to CDM.

Key Features

  • Works with any XSD, tested on industry standards: it has been validated against recent FpML versions and other complex schemas, including FIXML, ISO 20022.
  • Valid by construction: EMF-based generation means the Rune output is valid and compiles through the standard Rune Java code generation.
  • Round-trip XML serialization: it generates the configuration the Rune runtime needs to read and write the original XML. Correctness is checked by serializing and deserializing real sample documents.
  • Handles real-world schemas: it resolves names that collide across namespaces and included schemas, resolves references, and maps native XSD types.
  • Open about its limits: the documentation states clearly what the importer supports and what gaps are known, so adopters know exactly what to expect.

Get Involved

The Rune XSD Importer is ready to evaluate, use and extend. We’re looking for feedback on use cases, the schemas you want supported, and roadmap priorities. Upcoming roadmap discussions will cover compatibility with newer Rune versions and dependency upgrades.


Get Involved WITH FINOS

FINOS Good First Issues - Looking for a place to contribute? Take a look at good first issues across FINOS projects and get your feet wet in the FINOS community.

State of Open Source in Financial Services Report - Learn about what is really happening around open source in FSI.

This Week at FINOS Blog - See what is happening at FINOS each week.

FINOS Landscape - See our landscape of FINOS open source and open standard projects.

Community Calendar - Scroll through the calendar to find a meeting to join.

FINOS Slack Channels - The FINOS Slack provides our Community another public channel to discuss work in FINOS and open source in finance more generally.

Project Status Dashboard - See a live snapshot of our community contributors and activity.

Events - Check out our upcoming events or email marketing@finos.org if you'd like to partner with us or have an event idea.

FINOS Open Source in Finance Podcasts - Listen and subscribe to the first open source in fintech and banking podcasts for deeper dives on our virtual "meetup" and other topics.