def _namespace_and_tag(obj, param, top):
    try:
        (namespace, tag) = param.split(":")
    except __HOLE__:
        namespace = ""
        tag = param
    # except AttributeError:
    #     namespace = ""
    #     tag = obj.name

    return namespace, tag
    
# -----------------------------------------------------------------------------
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pysaml2-2.4.0/tools/parse_xsd2.py/_namespace_and_tag