Project

Profile

Help

Bug #424

closed

Serialization of japanese characters corrupts XML

Added by Anonymous over 20 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Serialization
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Legacy ID:
sf-966759
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

SourceForge user: kcritz

I am constructing a DOM from JAVA which includes

japanese characters. When I try to serialize this DOM,

the "<" character of a close-tag after certain japanese

text is not written properly. Also, the text itself

is not written properly.

I have attached several files which demonstrate the issue:

  • A simplified java test file

  • A screenshot of the japanese section of the file

  • An example of the result file

  • A screenshot of the result file

Interestingly enough, the result file is parseable by

Xerces, though JADE has trouble reading it.

Am I doing something wrong in my serialization, or is

this a legit bug in SAXON?


Files

EncodingTest.java (9.56 KB) EncodingTest.java Anonymous, 2004-06-04 19:35
EncodingTest.java.png (9.56 KB) EncodingTest.java.png Anonymous, 2004-06-04 19:39
EncodingTestResult.xml (9.56 KB) EncodingTestResult.xml Anonymous, 2004-06-04 19:40
EncodingTestResult.xml.png (9.56 KB) EncodingTestResult.xml.png Anonymous, 2004-06-04 19:40

Please register to edit this issue

Also available in: Atom PDF