title: how to check whether xml file content is in correct format?
body: <p>i have one default.xml file where i am storing all default values.suppose if invalid file with the same default.xml name exists i have to display message in the status bar.</p>