org.xml.sax.SAXParseException: Unexpected token while parsing XML

前端 未结 4 1379
北海茫月
北海茫月 2021-01-13 16:13

Update:- Seems like I have to give the URL which is returning me the xml. Here it is - URL


I am getting SAXParseException when parsing an xml.

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-13 16:56


    If the XML contains Unicode characters such as arabic or Persian letters, StringReader would make an exception. In these cases, pass the InputStream straightly to the Document object

提交回复
热议问题