When a CR character that has not been normalized to NL
is serialized, it should be output (in serialized XML)
as a character reference (
), not as itself. This
is so that it reappears as an unnormalized CR
character when the output document is re-parsed.
Specifically, the document
should be output as
by an identity transformation.
Applies to 6.5.1, 7.0, and all earlier releases.
Fixed in both code branches.
Test case added: outp66