They're as good of examples as yours trying to claim that dots on someone source is the champion himself, and not the champion who put them on. That's precisely what the ultimate does (which you call lazy programming), if champion.Distance > 450 units then immune to damage else full damage.
Also, he only doesn't take DMG. Last I knew, CC was not the same as damage. Thus something that blocks damage, but not CC... will still CC you. It specifically references not taking damage.
I'm guessing you don't like that Kayle can still be CC'd while ulted then? She won't take the damage, but man the Schrodinger's Game Mechanics still let's her get cc'd!! In effect, Xin Zhao is invulnerable (see Kayle and Taric Ult) to champions who are 450 or more units from him.
For reference, his ability on league's wikipedia (since i'm not home and can't read in game text), "Xin Zhao has increased Awareness and will completely block damage from enemies that are far away". Tell me what confuses you about 'completely block damage from enemies'?