Esempio n. 1
0
def parse_xml(data, encoding="utf-8"):
    res = None
    try:
        res = et_parse_xml(data,encoding)
    except Exception,ex :
# Called from lots of places so log data here and then re raise.
        log.exception( ProxyClient.__module__, "parse_xml error %s", data )
        raise   # rethrow exception
Esempio n. 2
0
def parse_xml(data, encoding="utf-8"):
    return et_parse_xml(data,encoding)
Esempio n. 3
0
def parse_xml(data, encoding="utf-8"):
    return et_parse_xml(data,encoding)