X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fxml-functions.php;h=601137807380afd475edfebdc27761db630a832f;hb=9b06a0b9b72fbdaf5bf638df82ae37c56a5654cb;hp=f2de15092655addb342fd1f9639cf6512c4c7a81;hpb=292fb7189065e26f9ad5f1d7d90245bd103de000;p=mailer.git diff --git a/inc/xml-functions.php b/inc/xml-functions.php index f2de150926..6011378073 100644 --- a/inc/xml-functions.php +++ b/inc/xml-functions.php @@ -185,7 +185,9 @@ function xmlCharacterHandler ($resource, $characters) { // Nothing to handle return; } // END - if - die('characters[]='.strlen($characters)); + + // @TODO Handle characters + die(__FUNCTION__ . ':characters[]='.strlen($characters)); } // Checks if given type is valid, makes all lower-case @@ -194,7 +196,7 @@ function isInvalidXmlType ($type) { $type = strtolower(trim($type)); // Is it found? - return (in_array($type, array('string', 'array', 'bool', 'int'))); + return (in_array($type, array('string', 'array', 'bool', 'int', 'callback'))); } // Checks if given condition is valid