]> git.mxchange.org Git - mailer.git/blobdiff - inc/xml-functions.php
Typo in naming a database column fixed
[mailer.git] / inc / xml-functions.php
index f2de15092655addb342fd1f9639cf6512c4c7a81..601137807380afd475edfebdc27761db630a832f 100644 (file)
@@ -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