1

Just wondering if somebody could suggest the quickest tool for the situations where you know somebody committed some invalid XML and you want to find it really fast.

Right now I've been using XML Copy Editor.

Any other suggestions? I will eventually put validation commit hooks to prevent people from committing invalid .xml files.

Thanks

Ryu
  • 8,641
  • 10
  • 65
  • 98

2 Answers2

1

Personally I use xmllint and I'm happy with it. Thought it is a command line tool.

yogsototh
  • 14,371
  • 1
  • 22
  • 21
0

Open it using Internet Explorer.
If it finds any non-compliance will point the first failure.

lsalamon
  • 7,998
  • 6
  • 50
  • 63
  • That's a slow way of doing it. Ever tried loading a huge XML file in IE? It spends *forever* rendering the XML into a nice navigable, clickable DOM (or at least, that's what I assume it's spending time doing). – Dominic Rodger Oct 06 '09 at 14:55
  • I agree, does not apply to large files, but meets most of the cases. – lsalamon Oct 06 '09 at 15:35