Project

Profile

Help

Bug #4702

closed

CR (x13) under node.js

Added by Michael Kay over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Serialization
Sprint/Milestone:
-
Start date:
2020-09-01
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
2
Fix Committed on JS Branch:
2
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

In a version of the repository cloned under GitHub on Windows, the sample books.xml file has CRLF line endings. A transformation of this file is failing during serialization with the error that codepoint 13 cannot be serialized in the current encoding.

There seem to be two things wrong here. Firstly, the XML parser should normalize line endings: from a quick look through the SAX2 parser code, it doesn't appear to be doing so. Secondly, if codepoint 13 does find its way through to the serializer, it should be serialized as 
.

Please register to edit this issue

Also available in: Atom PDF Tracking page