This is a weird one, and I'm not sure how to provide a repro. But basically, when I try and build data.xml on ARM64, when the tests run, two of its tests fail. When I do the same on X64 architecture, no such failure.
Testing clojure.data.xml.test-emit
FAIL in (test-indent-str) (test_emit.clj:123)
expected: (= expect (indent-str nested-xml))
actual: (not (= "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<a>\n <b>\n <c>\n <d>foo</d>\n </c>\n </b>\n</a>\n" "<?xml version=\"1.0\" encoding=\"UTF-8\"?><a>\n <b>\n <c>\n <d>foo</d>\n </c>\n </b>\n</a>\n"))
FAIL in (test-indent) (test_emit.clj:131)
expected: (= expect (.toString sw))
actual: (not (= "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<a>\n <b>\n <c>\n <d>foo</d>\n </c>\n </b>\n</a>\n" "<?xml version=\"1.0\" encoding=\"UTF-8\"?><a>\n <b>\n <c>\n <d>foo</d>\n </c>\n </b>\n</a>\n"))
Ran 9 tests containing 12 assertions.
2 failures, 0 errors.
The difference in indentation seem to be that on ARM64, there is a missing newline after the xml declaration:
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<a>\n <b>\n <c>\n <d>foo</d>\n </c>\n </b>\n</a>\n"
"<?xml version=\"1.0\" encoding=\"UTF-8\"?><a>\n <b>\n <c>\n <d>foo</d>\n </c>\n </b>\n</a>\n"