You can solve the problem by changing your Eclipse preferences: Window menu -> Preferences -> General -> Editors -> File Associations; select *.xml, choose XML Editor and click "Default" button.
0
Raju Thakur
On
I have solved this problem, following steps worked for me -
Open Window > Preferences > General > Content Types
Select "Text"
Under "File associations"
Select *.xml
Click remove button on right side and then ok in bottom
You can solve the problem by changing your Eclipse preferences: Window menu -> Preferences -> General -> Editors -> File Associations; select *.xml, choose XML Editor and click "Default" button.