Ok, now had a chance to look in the 5th gen manual. Pleased to say I wasn't talking cobblers
There should only be 3 wires on the (loom side) of the 4 pin plug.
WHT/BLU = permanent 12v
BLK = permanent ground
WHT/BLK = switched ground.
WHIT/BLK runs to the ICU (called a multiplex control unit on a 5th gen apparently - and lucky 5th gen owners have 2 instead of just 1, one on the passenger side and one on the drivers side

)
In theory, you should have no voltage on the WHT/BLK wire, but looking at the diagram the WHT/BLK from the courtesy light splices into the ground side of the "ignition key light", which has a permanent live to it, so when the switched ground isn't connected, it's possible this wire might well float around 10v. (would need to verify against another 'working' 5th gen.)
Anyway, regardless of that, when the door is opened, WHT/BLK wire should drop to ground.
Check the door switch is operating correctly (makes/breaks continuity ok) and also check the resistance across it (going across the terminal on back of the switch, to the car body itself or ideally to the battery negative). It's possible that although you have continuity, it's at very high resistance and that's cocking it up (fingers crossed).
If that checks out ok, then just to be sure, bell out the WHT/BLK wire from the light connector to the fuse box (ICU/Multiplex unit).
If that's ok then you're definitely looking at the ICU/Multiplex unit being the fault.
Page 23-96 is the circuit