Report XML file being checked
Add support for voltage-input elements

Also, place pdb usage under DEBUG flag, uncomment asserts, and move the
less frequently hit states lower in the if-chain.