#73 Serializing CR

v6.5.1
closed
5
2012-10-08
2002-04-11
Michael Kay
No

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
<a>&#xD;</a>
should be output as
<a>&#xD;</a>
by an identity transformation.

Applies to 6.5.1, 7.0, and all earlier releases.

Fixed in both code branches.

Test case added: outp66

Discussion

  • Michael Kay

    Michael Kay - 2002-04-12

    Logged In: YES
    user_id=251681

    Fixed in 6.5.2

     
  • Michael Kay

    Michael Kay - 2002-04-30

    Logged In: YES
    user_id=251681

    Fixed in 7.1