Error messages in jQuery's XML parsing



I was wondering what kind of information jQuery provides when parsing XML. Here is an example.


There is the error as a whole:



Error: Invalid XML: This isn't valid XML at all.



Or you can extract the message with e.message:



Invalid XML: This isn't valid XML at all.



But what other methods are there? Is it for instance possible to only get the "Invald XML" bit? I've been googling for ages, but can't find any documentation on this.


Also, does jQuery generate these error fallbacks, or does jQuery simply utilises the browser's XML handling?


No comments:

Post a Comment