public boolean isWarning()
    {   
      return warning;
    }
Returns true if the datatype exception should be handled as a warning, false otherwise.

@return true if the datatype exception should be handled as a warning, false otherwise.
src/nu/validator/datatype/Html5DatatypeException.java