My comments presume that you're saying Batman "is perfect; completely obsessive over his principles and unyielding to passion" and that Anakin is "imperfect; he breaks rules and has the capacity to fall". Right?
I vote BATMAN as long as long as I can specify Christian Bale's version of Batman in "Batman Begins". In this specific reinterpretation of the legend we see the weaknesses and failings in Bruce Wayne as a boy and a grown man as well. Plus, in my opinion, his capacity for love far exceeds anything Anakin was capable - regardless of the fact that we're talking about different times, different civilizations and different galaxies that are perhaps far, far away. In spite of these differences in time and place, indeed, even in space, or more appropriately, "spacetime", anyways, in spite of all the differences between these two characters, your question is still valid if one presumes, as do I, that what we call "Love", is a universal constant, unchanging, and is in fact the most powerful force in the entire Universe. Even though love cannot be studied directly, as an independent force in the sense that electromagnetism, gravity and the strong or weak nuclear forces are amenable to investigation using the scientific method, its EFFECTS on the local/global environment can, however, certainly be studied. As we know, these effects can originate from the love expressed by a single person and ripple through time for thousands and thousands of years - as has been amply demonstrated in our own human history. So, in this sense, the story of the very early-on damaged Anakin is true tragedy at the highest level. Here is someone within whom the Force is manifest so very powerfully, maybe indirectly BECAUSE of the hardships he had to endure as a young man. But for lack of sufficient guidance perhaps, or because of a kind of blind spot he carries or some deep seated feeling of inadequacy, Anakin's love for Padme was used to bring him over to the dark side. That being the case, you have to look deeper and really question how much he actually loved her, in the purest sense of that word.
Imo, it wasn't his true and neverending passionate love for his woman that was his falling, it was Anakin's lack of love and acceptance of himself as a person who can fail from time to time, his inability to see himself as someone who isn't perfect and shouldn't be treated as perfect by others. His so called love for Padme was only his excuse for turning and imo, he really wanted to turn for other much deeper darker and selfish reasons. In other words, it was genius to use Anakin's presumed love for Padme as a way to get him to justify making the crossing, something he wanted to do for other, perhaps subconscious reasons. Padme was just his excuse - his way of defeating the cognitive dissonance coming from his own conscience and the only thing keeping him in line. Otherwise, how do you explain how visciously Anakin turned on his supposed soul mate towards the end? Sorry, but while Anakin is a sympathetic figure one cannot help but to feel sorry for, he is also a pathetic man who's primary allegiance proved to be only himself. And so there he is, at once an awesome and a ridiculous character now - separated from his love, walled off from the world, encased in black, powerful, yes, but alone as anyone can ever be. As if absorbed by the almost insect-like mechanism that is a fitting representation of the dark loveless side of the force, Anakin Skywalker becomes Darth Vader. The transition couldn't be more tragic nor the end result more stark. Truly, the disturbance that rippled throughout the fabric of spacetime on that fateful day of Anakin's fall, must surely have been felt by all those in whom is manifest, to any degree, that which is know simply as the Force.
Back to Batman Begins: This movie has several noteworthy lines of dialog and specific mentions of how Bruce has fallen or made mistakes. So I would have to disagree with the characterization of Batman as being "perfect; completely obsessive over his principles and unyielding to passion". Perhaps as if to presage the fall of the man to come, the opening sequence in the film shows Bruce as a young boy, falling through the rotted wood closure of a deep pit. There he experiences a horriffic event that will haunt him and challenge his courage for all of his life. It is the head long rush of thousands of subterranean bats right at him as he lay on the ground trying to recover from the fall.
Later, after his rescue and with a broken bone to be attended to, as his father carries him into the estate mansion he teaches his son to not feel bad for falling when he says: "And why do we fall Bruce? So we can learn to pick ourselves up." In fact the very reason I love this movie is the fact that Wayne IS fallable, strays from his principles, falls and fails, but then finds the way back to the top - usually with the help of his friends or someone that loves him like his little childhood friend played by Kate Holmes. Her part was very well acted and btw, I'm crushin' on her badly! Oddly, here's a situation where Bruce's true love rejects him - even though his love for her is true and deep. She acts as his guiding light & evening star. I'm not sure why she doesn't just go with him at the end of that movie. Maybe because she knows she couldn't deal with his nocturnal crimefighting and the perhaps legal and ethical compromises he sometimes has to to mke in order to bring about justice.