It actually *is* the case. It doesn't make any difference at all where they live on your source tree as long as they're *deployed* in the correct package hierarchy. What you've done in your non-working example does not contradict what I'm saying. For example, a
Maven project would keep the validation files in src/main/resources/example/TestAction-validation.xml. It's the deployment and packaging that puts them on the classpath.