xml_func.py: Added FormatException for SyntaxExceptions generated by strftime() (which are often Python bugs)
xml_func.py: Added FormatException for SyntaxExceptions generated by strftime() (which are often Python bugs)