clientside/amplesdk — pull request #120 by h6w (2012-01-06 23:28:55+00:00)
Title: Fix failure to produce detailed error when parsing xml failed on chrome.

If the DOMParser fails to parse the XML in chrome, oDocument becomes null resulting in a lack of opportunity for fBrowser_processScripts() to access the parser error details.

This patch fixes this oversight by forcing the sText through the parser in WebKit, which results in a Document, which can then be returned.

Additionally, a type error to do with the length of the parsererror element is also part of this patch.