We all know that に indicates the position of the object (i.e. where it is). I just came across a sentence where の was used to indicate position with respect to objects.
ねこはテーブルの上。In here the cat is on the table.
So, my question is shouldn't we use に instead of の as a position marker. Thereby making the sentence to :
ねこはテーブルに上. The cat is on the table
like we do in other scenarios? (Eg. 店は角にあります "shop is on the corner"or あそこに家があります "The house is over there"). In these scenarios (as that of examples), we are marking the position as well, like we are doing when we indicate the position of the cat.