### Description ###
alayham2 opened this issue · comments
alayham2 commented
Description
If an invalid XML is passed to jQuery.parseXML, currently the thrown parse error only contain the input data but not the error reason.
However the internally created XML document contains the parser errors in the element parsererror as innerText and could be added. This is helpful for debugging errors in XML files
Link to test case
https://jsfiddle.net/o678xuz3/
Originally posted by @MatthiasSchmalz in jquery/jquery#4784
PatrickBue commented
Looks like this is a bug in an external library? If so, could you please close here since this is not in our code base.
PatrickBue commented
Closing since this issue is already tracked in the external library.