def findRootClass(rootTag):
    """
    This function was needed before version 2.12a of generateDS.py because the
    generated code had no way to determine the type corresponding to an XML
    type. This has been fixed, and generateDS.py generates now a map that
    solves this problem. The function is preserved only for backwards
    compatibility, as callers my be using it. Please refrain from using it in
    new code as it may be removed in the future.
    """
    return _rootClassMap.get(rootTag)
