I hate that warning too. Specially because it appears in XML files that you haven’t written but appear in your project for whatever reason (if you use MAVEN it’s hell).
With Eclipse 3.5+ you can easily remove this validation rule. Go to Preferences–>XML–>XML FILES –> Validation and Select “ignore”.
You may also have to do a Project -> Clean for the validation warnings to go away.