xml_func.py: Renamed SyntaxException to SyntaxError because it's a user error signaling invalid mappings syntax
xml_func.py: Renamed SyntaxException to SyntaxError because it's a user error signaling invalid mappings syntax