Whilst i disagree with the fact they have done this (out of order by any stretch of the imagination), the reporter is surely factually incorrect by saying it goes against the code of war? Do both parties not need to sign up for this to be in force? And I can't say that guerilla tactics or whatever the fuck the Taliban are using are part of the Geneva convention.
It's morally wrong, but rules of war are not in play here.