function wfIsWellFormedXmlFragment($text)
{
    return Xml::isWellFormedXmlFragment($text);
}
Пример #2
0
 /**
  * Check that the user's signature contains no bad XML
  *
  * @param $text String
  * @return mixed An expanded string, or false if invalid.
  */
 function validateSig($text)
 {
     return Xml::isWellFormedXmlFragment($text) ? $text : false;
 }
Пример #3
0
function wfIsWellFormedXmlFragment($text)
{
    wfDeprecated(__FUNCTION__);
    return Xml::isWellFormedXmlFragment($text);
}