Problems with org.apache.harmony.xml.ExpatParser$ParseException

前端 未结 1 1660
时光取名叫无心
时光取名叫无心 2021-01-24 04:49

My SaxParser implementation throws sometimes a

org.apache.harmony.xml.ExpatParser$ParseException: At line 1, column 0: no element found

Except

1条回答
  •  清酒与你
    2021-01-24 05:52

    I've found the solution. The problem was not the XML-Parser, but the buggy implementation of NSURLConnection. I switched to HttpClient and the problem vanished.

    More infos here: HttpClient and here: HttpURLConnection responsecode is randomly -1

    0 讨论(0)
提交回复
热议问题