[Android][Extensions] Modify error message to comply with W3C spec