XML Parse Error - Extra content at the end of the document

后端 未结 2 1259
傲寒
傲寒 2020-11-30 12:50

I am trying to give the option to get either a JSON or XML response.

JSON works fine but when I view the XML, I get an error.

http://lmsapi.com/?api_key=fba9

2条回答
  •  孤独总比滥情好
    2020-11-30 13:05

    Make sure you also triple check for a duplicate urlset declaration at the top of your document. This was my problem. It was a very careless oversight.

        
    

提交回复
热议问题