You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "elharo (JIRA)" <xa...@xml.apache.org> on 2005/03/30 12:50:24 UTC
[jira] Commented: (XALANJ-2087) Get rid of the dependency on sun.io.CharToByteConverter
[ http://issues.apache.org/jira/browse/XALANJ-2087?page=comments#action_61825 ]
elharo commented on XALANJ-2087:
--------------------------------
Doing this would introduce a normative dependence on Java 1.4. java.nio is not available in Java 1.3 and earlier.
It's possible to do this in a way that works back to Java 1.1 by using the String class instead. It's a hack and it's ugly, and it may well be slower than calling sun.io directly; but it works.
> Get rid of the dependency on sun.io.CharToByteConverter
> -------------------------------------------------------
>
> Key: XALANJ-2087
> URL: http://issues.apache.org/jira/browse/XALANJ-2087
> Project: XalanJ2
> Type: Improvement
> Components: Xalan
> Versions: CurrentCVS
> Reporter: Jack
>
> The class org.apache.xml.serializer.Encodings references sun.io.CharToByteConverter directly, while the latter is not a public API. Is it possible to use java.nio.charset classes instead to remove this dependency?
--
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org