I acknowledge that 0AD uses rather 2 D (or 2.5D) hence modelling arrows crossing a wall might be a challenge. This was probably the reason for stopping movement but allow attacking through the wall.
Funny enough, this works from both sides of the wall: it is hard to keep my troops inside the wall away from the attacking the enemy and they are fighting back although they shouldn't need to (same reason: enemy is near and in reach of the weapons but cannot move much closer.
Wall defense should be left to the troops manning the wall and its turrets (still working on a mod that allows running along a wall towards the actual attack. Currently, the wall segment attacked does not get replenishment or help form adjacent segments)