JohnW2";p="2916403 said:Fair enough - that's a 'real' transformer, not one of the electronic gizmos people often call transformers these days. /quote]
It is switched mode
data sheet here
http://www.kaoyi.com/oneproducts.aspx?ProductsCateID=377&CateID=377&CurrCateID=328
Therefore as has been said it is feasible that a wiring error has put the switch across the output and the lamp goes out when the switch is on and shorting the output.
Another remote possiblity is the switch was damaged by a current surge when the original transformer failed. In one design the moving contact is operated by a spring loaded ball that rolls from end to end of the contact as the switch is operated, if that ball welds to the moving contact then the action of the switch can be reversed. The switch may no longer have a click action when operated.
