Isn‘t that element vs attribute dichotomy one of the main drawbacks of XML?
You don‘t have that with other formats.
You don‘t have that with other formats.
And clients just map whatever defined in schema.
In the case above, not so much (though I'd say it's the artifactId)
But since XMLers like waddling in verbosity and bureaucracy it seems they shot their own foot with it