You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by ji...@apache.org on 2004/04/23 19:56:53 UTC
[jira] Closed: (XERCESJ-931) "UTF-16" encoding should be used in LSSerializer.writeToString
Message:
The following issue has been closed.
Resolver: Michael Glavassevich
Date: Fri, 23 Apr 2004 10:55 AM
Closed as per state in Bugzilla.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESJ-931
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESJ-931
Summary: "UTF-16" encoding should be used in LSSerializer.writeToString
Type: Bug
Status: Closed
Resolution: FIXED
Project: Xerces2-J
Components:
DOM
Versions:
2.6.2
Assignee: Michael Glavassevich
Reporter: Naela Nissar
Created: Fri, 26 Mar 2004 9:53 PM
Updated: Fri, 23 Apr 2004 10:55 AM
Environment: Operating System: Other
Platform: Other
Description:
LSSerializer.writeToString method serializes the output to a DOMString which
gets returned. PR change in DOM Load and Save spec states that "The encoding
used is the encoding of the DOMString type, i.e. UTF-16. " [1]
Could be wrong in thinking a change is necessary (I'm not sure if the output is
already being encoded in UTF_16...) but proposed patch to DOMSerializerImpl
sets the encoding of the output format to UTF-16 in the writeToString method
before serialization is started.
[1]http://www.w3.org/TR/2004/PR-DOM-Level-3-LS-20040205/load-save.html#LS-
LSSerializer-writeToString
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org