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 bu...@apache.org on 2003/11/04 20:42:03 UTC

DO NOT REPLY [Bug 20304] - Dependency on sun.io.CharToByteConverter

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20304>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20304

Dependency on sun.io.CharToByteConverter

mrglavas@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|xerces-j-dev@xml.apache.org |mrglavas@ca.ibm.com



------- Additional Comments From mrglavas@ca.ibm.com  2003-11-04 19:42 -------
I've applied a fix in CVS which should allow Xerces to compile and run on non-
Sun based VMs. The change uses reflection to get at sun.io.CharToByteConverter, 
so it's no longer a compile time dependency nor is it required to be there at 
run time. The fall back for the serializer is to print any characters it's not 
sure about (since there's no converter available) as character references. Note 
that this behaviour is as it was before CharToByteConverter was added.

I'm leaving this bug report open. In the long term, we probably need a better 
solution. We need to assess whether or not we want to use something like ICU (a 
new dependency for users), or something else that gets us the functionality 
which CharToByteConverter has been providing.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org