Lines Matching refs:message
182 if (!in_array($error->message, self::KNOWN_HTML_LOADING_ERRORS)) {
187 strpos($error->message, "htmlParseEntityRef: expecting ';' in Entity") !== false
189 $error->message == "EntityRef: expecting ';'\n"
191 $message = "There is big probability that there is an ampersand alone `&`. ie You forgot to call html/Xml entities in a `src` or `url` attribute.";
193 $message = "Error while loading HTML";
198 if (strpos($error->message, "Specification mandates value for attribute") !== false) {
199 $message = "Xml does not allow boolean attribute (ie without any value). If you skip this error, you will get a general attribute constructing error as next error. Load as HTML.";
202 $message .= "Error: " . $error->message . ", Loaded text: " . $text;
213 throw new ExceptionBadSyntax($message, self::CANONICAL);
364 // A suffix used in the bad message