> Pavani Mukthipudi wrote:
> > Please find the attached patch for bug# 3449.
Andy Clark wrote :
> Verified and fix applied. Thanks! :)
>
Thanks Andy !! I have something else to add to it.
There is one more place where a similar change is required
(In XMLEntityManager's setEncoding() method where fCurrentEntity's encoding is
checked with the given encoding to decide upon the reader).
Please check the attached cvs diff.
Pavani
--
Pavani Mukthipudi
Sun Microsystems Inc.
Phone: 080 - 2298989 Extn: 87390
? build
? patch5
Index: src/org/apache/xerces/impl/XMLEntityManager.java
===================================================================
RCS file:
/home/cvspublic/xml-xerces/java/src/org/apache/xerces/impl/XMLEntityManager.java,v
retrieving revision 1.4
diff -u -r1.4 XMLEntityManager.java
--- src/org/apache/xerces/impl/XMLEntityManager.java 2001/09/07 02:07:34 1.4
+++ src/org/apache/xerces/impl/XMLEntityManager.java 2001/09/07 03:23:48
@@ -1693,7 +1693,7 @@
// decoder buffers 8K blocks even when only asked to read
// a single char! -Ac
if (fCurrentEntity.encoding != null &&
- fCurrentEntity.encoding.equals(encoding)) {
+ fCurrentEntity.encoding.equalsIgnoreCase(encoding)) {
if (DEBUG_ENCODINGS) {
System.out.println("$$$ using original reader");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]