Fix for the is_num() function.
The wrong RelaxErrors were being raised.
Authored by: bugman 2009-08-24
Parent: [r9377]
Child: [r9379]