tmiller 02/01/24 13:10:49
Modified: java/src/org/apache/xalan/xsltc/runtime TextOutput.java
Log:
bug 1520, adjusted 0080 to 007F in ASCII cutoff
Revision Changes Path
1.47 +2 -2
xml-xalan/java/src/org/apache/xalan/xsltc/runtime/TextOutput.java
Index: TextOutput.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/runtime/TextOutput.java,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- TextOutput.java 24 Jan 2002 17:55:55 -0000 1.46
+++ TextOutput.java 24 Jan 2002 21:10:49 -0000 1.47
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: TextOutput.java,v 1.46 2002/01/24 17:55:55 tmiller Exp $
+ * @(#)$Id: TextOutput.java,v 1.47 2002/01/24 21:10:49 tmiller Exp $
*
* The Apache Software License, Version 1.1
*
@@ -579,7 +579,7 @@
// Escape all characters not in the basic ASCII character set
// to simple (hexadecimal) character references
// GTM Mortens line: if (ch[i] > '\u00ff') {
- if (ch[i] > '\u0080') {
+ if (ch[i] > '\u007F') {
StringBuffer buf = new StringBuffer(CHAR_ESC_START);
buf.append(Integer.toString((int)ch[i]));
buf.append(';');
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]