On Jue, 10 de Marzo de 2005, 1:19, Ralph Goers dijo: > Antonio Gallardo wrote: > >>Hi: >> >>While trying to make a full build using java 1.3 I found: >> >>/home/agallardo/svn/cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/tools/generation/I18nCatalogueGenerator.java:95: >>cannot resolve symbol >>symbol : method replaceAll (java.lang.String,java.lang.String) >>location: class java.lang.String >> tmp = tmp.replaceAll("<\\?(.+)\\?>",""); // remove >>processing instr. >> >>This error is in 4 places in total. In the same class (see from line 95 >> to >>98). I guess the best is to write a java 1.3 compatible private method >>inside the same class. >> >>Best Regards, >> >>Antonio Gallardo >> >> > Yuck. The method would use regexp?
Yep. Since the lines are intended to remove some xml elements. I think in this case we can use Jakarta regexp we already ship it as an endorsed lib. The javadoc are here: http://jakarta.apache.org/regexp/apidocs/ Can someone take this task? I am pretyy tired, here are 2:34 a.m. now. I plan to commit a new jetty jar and go to sleep. ;-) Best Regards, Antonio Gallardo >