views:

54

answers:

2

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

+1  A: 

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

yogsototh
xmllint is a linux tool, though there's apparently a windows port (http://code.google.com/p/xmllint/).
Dominic Rodger
A: 

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

lsalamon
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
I agree, does not apply to large files, but meets most of the cases.
lsalamon