XP is not very clever at removing non Windows partitions then. Try complaining to MS about it ;-)
One simple way is to put the drive back to an "as new" unformatted state with Killdisk. Then your XP CD will function normally.
Surface Pro (2017) vs Surface Pro 4
Where HTML5 is headed next
MacBook Pro v Surface Pro 5
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.