Bartosz Kosarzycki's blog - developers' issues being solved
If you’ve installed XML Tools for Notepad++ and after pressing ctrl+shift+alt+B (pretty format XML with line breaks) you get an error:
“Error in content. […..]”
Look for ANY non-UTF-8 characters in your XML. That could be the case.
Why can't this be ignored by the plugin. I just want the pretty print. With large XML files it can be a pain looking for that one character. XML Spy 2010+ does work with these characters, even with multiple root elements.
Thanks for the hint: non-UTF-8 characters were causing problems with the pretty print. Thanks again!
So, what to do???
This is not the problem. The same text works on another station.
I made mine working. I had to let only lines between <...> ;)
This was the problem for me, I replaced all instances of the "&" character with underscores, then process worked fine.
If you like this post, please leave a comment :)