In reply to Chris H:
Your passport is not valid if it is not in a condition to be accepted as proof of identity, which includes the following:
• Details are indecipherable.
• The laminate has lifted enough to allow the possibility of photo substitution.
• Discoloration to the biodata page.
• Chemical or ink spillage on any page.
• Missing or detached pages
• The chip or antenna shows through the endpaper on the back cover for the new style e-passports.
• The chip has been identified as damaged following investigation.
The chip should be fine if it's just had a bath.