Hi,

Please find attached patch for class ExceptionMessagesLocalizer. As this class 
is now in org.apache.xerces.impl.v2 it should load the resource bundle from this 
directory rather than org.apache.xerces.msg.

Cheers,
Rahul.

Sun Microsystems, Inc.

Attachment: ExceptionMessagesLocalizer.java
Description: ExceptionMessagesLocalizer.java

Index: ExceptionMessagesLocalizer.java
===================================================================
RCS file: 
/home/cvspublic/xml-xerces/java/src/org/apache/xerces/impl/v2/msg/ExceptionMessagesLocalizer.java,v
retrieving revision 1.1
diff -u -w -r1.1 ExceptionMessagesLocalizer.java
--- ExceptionMessagesLocalizer.java     2001/08/24 22:26:31     1.1
+++ ExceptionMessagesLocalizer.java     2001/10/14 13:04:29
@@ -75,9 +75,9 @@
         
         ResourceBundle fResourceBundle = null;
         if (locale != null)
-            fResourceBundle = 
ListResourceBundle.getBundle("org.apache.xerces.msg.ExceptionMessages", locale);
+            fResourceBundle = 
+ListResourceBundle.getBundle("org.apache.xerces.impl.v2.msg.ExceptionMessages", 
+locale);
         if (fResourceBundle == null || locale == null)
-            fResourceBundle = 
ListResourceBundle.getBundle("org.apache.xerces.msg.ExceptionMessages");
+            fResourceBundle = 
+ListResourceBundle.getBundle("org.apache.xerces.impl.v2.msg.ExceptionMessages");
         
         int keyIndex = string.indexOf(' ');
         String key = string.substring(0, keyIndex);

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to