Hah, that’s a pretty interesting question we probably need to answer.
Either it’s not a problem, or we need to say something about it in the spec.
Beyond the XML spec, it would be nice to know how a couple/few widely used libraries deal with this?
I can do a little digging later.
Flagging this for @bwiernik and @Denis_Maier as we work on revisions.