Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Escape according to Canonical XML 1.0.
See <http://www.w3.org/TR/2000/WD-xml-c14n-20000119.html#charescaping>. First and foremost, this change allows adding linefeeds, tabs and carriage returns to attribute values. This was not possible before, since such characters did not get escaped and without escaping a conforming XML reader will replace them by blanks. [1] While at it, this change escapes attribute values according to the Canonical XML 1.0 specification. In particular, in attribute values greater-than no longer gets escaped. [1] http://www.w3.org/TR/2004/REC-xml-20040204/#AVNormalize
- Loading branch information
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters