This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26928 - XML serializer needs to escape LF and tab
Summary: XML serializer needs to escape LF and tab
Status: NEW
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: DOM Parsing and Serialization (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Travis Leithead [MSFT]
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-29 12:23 UTC by Simon Pieters
Modified: 2015-12-03 08:43 UTC (History)
3 users (show)

See Also:


Attachments

Description Simon Pieters 2014-09-29 12:23:29 UTC
https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#dfn-concept-serialize-attr-value should also have these entries for proper roundtripping:

U+0009 CHARACTER TABULATION with "	"
U+000A LINE FEED with "
"

(I think U+000D doesn't need to be roundtripped since the HTML serializer doesn't roundtrip it.)

Also see https://bugzilla.mozilla.org/show_bug.cgi?id=169521
Comment 1 Kent Tamura 2015-12-03 08:43:08 UTC
I think U+000D should be escaped too.

Microsoft Edge generates decimal entities like 	 
 
.  Blink will follow Edge.