I'm using Eclipse Ganymede. Everything works fine, but I have an anal-retentive yearning for a warning-free Problems tab. Right now it (correctly) complains about my Ant scripts: "No grammar constraints (DTD or XML schema) detected for the document." Is there any way to turn that off for just those files? Ideally I'd like it to still warn me if my other schema-constrained files were missing the schema declarations.

I see an option to disable this in newer versions of Eclipse. It is under: Window, Preferences, XML, XML Files, Validation then change the drop-down "Indicate when no grammar is specified:" from "Warn" to "Ignore"..