This resolves the problem where if FREQM is (for example) 0.1, it is marshalled to XML as 0.
See corresponding test in lib-openssrf-test.
This PR takes a different (more declarative) approach to building the formatter which could have unintended consequences. I ran the test suite across the modified code, and it all passes, but would be worth a closer check. Seems worth the risk given the identified problem.
This resolves the problem where if FREQM is (for example) 0.1, it is marshalled to XML as 0. See corresponding test in lib-openssrf-test.
This PR takes a different (more declarative) approach to building the formatter which could have unintended consequences. I ran the test suite across the modified code, and it all passes, but would be worth a closer check. Seems worth the risk given the identified problem.