In Harry Potter and the Deathly Hallows: Parts 1 & 2, and all movies, Voldemort is known to have seven horcruxes before he can die...all seven must be destroyed first.
Voldemort should know what his horcruxes are, so if he knew that Harry was one of them, then why did he kill Harry instead of keeping him alive? Assuming Voldemort wanted to live.
So harry survived the second hit, so really the horcrux being Harry should not have lived in order to kill the horcrux.
Why did Voldemort kill Harry if he knew Harry was a Horcrux?