Skip to content

Instantly share code, notes, and snippets.

@ndw
Created July 19, 2023 15:36
Show Gist options
  • Save ndw/3f787a724066f46f8c8c02e99b0df830 to your computer and use it in GitHub Desktop.
Save ndw/3f787a724066f46f8c8c02e99b0df830 to your computer and use it in GitHub Desktop.
Saxon 11.x produces:
<?xml version="1.0" encoding="UTF-8"?>
<root a="b"
c="d"
h="e"
f="g"
a1="b"
c1="d"
h1="e"
f1="g"
x="EE 11.2"/>
I’ve long been annoyed by the extra spaces, but never enough to report
it or try to fix it. With Mike’s recent fix, I see:
<?xml version="1.0" encoding="UTF-8"?>
<root a="b"
c="d"
h="e"
f="g"
a1="b"
c1="d"
h1="e"
f1="g"
x="EE 12.3"/>
Is that the same behavior you’re seeing?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment