tmiller 02/01/24 09:55:55
Modified: java/src/org/apache/xalan/xsltc/runtime TextOutput.java
Log:
bug 1520 fix, escape chars over 0080 instead of 00FF
Revision Changes Path
1.46 +3 -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.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- TextOutput.java 5 Dec 2001 11:27:50 -0000 1.45
+++ TextOutput.java 24 Jan 2002 17:55:55 -0000 1.46
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: TextOutput.java,v 1.45 2001/12/05 11:27:50 morten Exp $
+ * @(#)$Id: TextOutput.java,v 1.46 2002/01/24 17:55:55 tmiller Exp $
*
* The Apache Software License, Version 1.1
*
@@ -578,7 +578,8 @@
default:
// Escape all characters not in the basic ASCII character set
// to simple (hexadecimal) character references
- if (ch[i] > '\u00ff') {
+ // GTM Mortens line: if (ch[i] > '\u00ff') {
+ if (ch[i] > '\u0080') {
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]