- From: Harbs <notifications@github.com>
- Date: Tue, 05 Jan 2016 05:51:57 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Tuesday, 5 January 2016 13:52:25 UTC
Not exactly. CDATA text is not encoded while plain text is. Whether it's an entirely distinct type or there's some meta-data describing the content, maintaining the distinction is important. There are applications where CDATA in XML files are NOT the same as escaped string content. Round-tripping XML files in those cases would produce incorrect output. I do agree that it's not a fully distinct type, but simply losing the information would be very bad for XML processing. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/142#issuecomment-169006359
Received on Tuesday, 5 January 2016 13:52:25 UTC