You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mi...@apache.org on 2006/01/12 01:22:55 UTC
svn commit: r368178 -
/xalan/java/trunk/src/org/apache/xml/serializer/Encodings.java
Author: minchau
Date: Wed Jan 11 16:22:49 2006
New Revision: 368178
URL: http://svn.apache.org/viewcvs?rev=368178&view=rev
Log:
Code clean-up. Deleting commented out lines on old
"lastPrintable". Although there is a lastPrintable,
at least conceptually, that whole idea was flawed. Encodings
are like swiss-cheese. Characters in the encoding are
not continguous in codepoint values, lots of holes.
Modified:
xalan/java/trunk/src/org/apache/xml/serializer/Encodings.java
Modified: xalan/java/trunk/src/org/apache/xml/serializer/Encodings.java
URL: http://svn.apache.org/viewcvs/xalan/java/trunk/src/org/apache/xml/serializer/Encodings.java?rev=368178&r1=368177&r2=368178&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/serializer/Encodings.java (original)
+++ xalan/java/trunk/src/org/apache/xml/serializer/Encodings.java Wed Jan 11 16:22:49 2006
@@ -332,19 +332,15 @@
String val = props.getProperty(javaName);
int pos = val.indexOf(' ');
String mimeName;
- //int lastPrintable;
if (pos < 0)
{
// Maybe report/log this problem?
// "Last printable character not defined for encoding " +
// mimeName + " (" + val + ")" ...
mimeName = val;
- // lastPrintable = 0x00FF;
}
else
{
-// lastPrintable =
-// Integer.decode(val.substring(pos).trim()).intValue();
StringTokenizer st =
new StringTokenizer(val.substring(0, pos), ",");
for (boolean first = true;
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org