I'm sorry Viv but Bill is right. As he said, its an extreme interpretation of the Qur'an.
Like the Bible, the Qur'an is an old book, translated many times and in many ways. Like the Bible is leaves a lot of latitude on meanings. For example, the Bible says, "Man shall not lie with man". To many Christians this means no homosexuality. Other interpret it in differing ways.
So, it's hardly a surprise if someone who's neurons aren't firing right to start with has it suggested that a passage in a book he believes the way things should be, then goes and shoots a Solider, or anyone else. Like the 2 that killed Pvt Rigby, while we see they are wrong, they genuinely believe what they did was God (or Allah's) will.
I would add, that where religious inttruction in modern UK Christian schools (Anglican, C of E, Catholic) teaches that the Old Testament was simply a kind of story, some forms of extremist Islam (Wahhabism, Sallfism) stick to every word of the teaching.
I watched the excellent Panorama - "Inside the Taliban" - where a reporter lived with and reported on the Taliban and their beliefs in Afghanistan today. He questioned them about schools, and why there are no girls being taught there, and if they plan to teach girls in the future. The teacher looked a little nervy (for obvious reasons) and said that there were no plans to teach girls.
Therefore, nothing has changed in Afghanistan, and the worst thing about this is that our aid money is being spent on building and maintaining Madrassas - religious schools, the very places where radical extremism is being taught to the youngest pupils.
The other problem, is that in these schools, hardly any academic subjects are being taught.
Our government encouraged the uprising against Assad in Syria a couple of years ago, lot of pictures showing Hague and Kerry with members of the Free Syrian Army or the "Rebels", and the clueless duo saying that they would provide aid to them. Well, they did provide aid and a lot of it fell into the hands of ISIL, Al Qaeda and other extremist groups, who then went on to slaughter Christians, Shia and Kurds in Syria and Iraq.
The US tried to do deals with the Mujadeen (Taliban) against the Soviets in Afghanistan, and look how that finished.
We have been too soft on the "hate preachers" and extremist Imams in the UK, and somehow we have to get the upper hand, or else we could find ourselves facing terrorist attacks similar to the ones on the Kenyan shopping mall.