Discussion:
[jira] [Created] (XALANJ-2610) Unicode character beyond 0xFFFF fails, if on buffer boundary
Hubert Hesse (JIRA)
2017-07-25 15:35:01 UTC
Permalink
Hubert Hesse created XALANJ-2610:
------------------------------------

Summary: Unicode character beyond 0xFFFF fails, if on buffer boundary
Key: XALANJ-2610
URL: https://issues.apache.org/jira/browse/XALANJ-2610
Project: XalanJ2
Issue Type: Bug
Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
Components: Serialization
Affects Versions: 2.7.2
Environment: JDK 7, Windows 7
classpath=.;serializer.jar;xalan.jar
Reporter: Hubert Hesse
Assignee: Steven J. Hathaway
Attachments: Test.java, test.xml, test.xsl

If the input XML contains a text node with a unicode character with code point beyond 0xFFFF located on a 1024 character boundary, the transformation fails with the following message:
(Position des Fehlers unbekannt)org.xml.sax.SAXException: Ungültige UTF-16-Ersetzung festgestellt: d83d ?
java.io.IOException: Ungültige UTF-16-Ersetzung festgestellt: d83d ?
See enclosed files to reproduce.

This has been verified against 2.7.0, 2.7.1, and 2.7.2



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-***@xalan.apache.org
For additional commands, e-mail: dev-***@xalan.apache.org

Loading...