http://nagoya.apache.org/wiki/apachewiki.cgi?ApacheJ2EE/CodingStandards
have updated the wiki - how about we go for the 2 characters indent which is quite common?
Why the discrepancy between indenting Java code with 4 characters, and XML with 2? Why not be consistent?
IMHO I'd prefer 2 for both, but that's my personal preference.
If you're using Eclipse (for example) then you can configure it to insert X spaces when you hit the tab key. Trying to implement it so that it uses 4 with .java files and 2 with .xml files is a non-trivial task.
Alex.