Sometimes when I'm trying to run my code, the Eclipse console says:
Error in an XML file: aborting build.
That means that I have a mistake in my main XML file. Is there any way to find my mistake without making guesses and erasing some XML code in order to see where the problem is? Something like validation of my XML file! Thanks.
XML Tools, a plugin for Notepad++ allows you to check if the XML syntax is broken and tells you on what line the error is.
To install the XML tools plugin, download the plugin zip file, and extract the contents to where you have installed Notepad++ (such as C:\Program Files\Notepad++). Then restart Notepad++, open the XML file you wish to check, click on the "Plugins" menu at the top, select "XML Tools" and click on "Check XML syntax now."
Hope that helps.
You could even open it in firefox, and if it is malformed it will show you where the error lies.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With