A previous post touched on the appropriateness or otherwise of Harry Potter references in Doctor Who.
The first is in The Shakespeare Code. Shakespeare is extemporising a speech to defeat the aliens and Martha completes it with a spell from Harry Potter. That's kind of appropriate, firstly it was before the unpleasentness and David Tennant had just appeared in one of the Potter films, also the aliens are witches and the spell disarms/disempowers(?) witches so it kind of fits.
The second is in Revolution of the Daleks and comes from after the unpleaentness and is therefore more questionable.
Is it possible to seperate the book from the writer.
The books have a clear message about inclusion and diversity. There are two sets of baddies; the Dursleys who hate all things magical, and the deatheaters who hate all things non-magical. It also has strong messages about attitudes to and treatment of house elves, werewolves, giants, goblins etc.
It's very much about accepting people as who they are and not othering folk for being slightly different, a very Doctor Who like stance. It's hardly suprising that the actors who spent their teenage years making the films absorbed and express these views despite the protests of the author.
Should we be able to accept the books as part of our wider culture despite the later actions of the author or do they negate the positive message of the earlier work.