Failed again:

patching file `I18nTransformer.java'
Hunk #1 succeeded at 629 (offset 3 lines).
Hunk #3 succeeded at 883 (offset 3 lines).
Hunk #5 FAILED at 1069.
Hunk #6 FAILED at 1092.
2 out of 6 hunks FAILED -- saving rejects to I18nTransformer.java.rej


Note, that method i18nCharacters looks like (in CVS version):
    private void i18nCharacters(char[] ch, int start, int len)
        throws SAXException {
       
       strBuffer.append(new String(ch, start, len).trim());
    }

In the patch you have:
@@ -1053,10 +1069,10 @@
         }
     }
 
-    private void i18nCharacters(char[] ch, int start, int len)
+    private void i18nCharacters(String textValue)
         throws SAXException {
 
-        String textValue = new String(ch, start, len).trim();
+        textValue = textValue.trim();
         if (textValue == null || textValue.length() == 0) {
             return;
         }

These two differ a lot.

Vadim

> -----Original Message-----
> From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 08, 2002 8:51 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Patch] Character handling in i18n transformer fix
> 
> > Hi Konstantin,
> >
> > Patch failed. Can you resend diff with the currect CVS?
> 
> Sure and thanks.
> 
> P.S. I still can't access nagoya.apache.org - it must be something
wrong
> with our DNS server.
> 
> >
> > Thanks,
> > Vadim


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

Reply via email to