Skip to content

"not well-formed' soft error on initial access to XMLDocument object in Firefox #2196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lanexjeff opened this issue Apr 9, 2015 · 1 comment

Comments

@lanexjeff
Copy link

JQuery 2.1.3
Firefox 36.0.4

On the initial 'find' and reference to the XMLDocument object, a soft error "not well-formed" in FireFox is thrown, captured and released with continuing execution. Soft error is not thrown for JQuery 2.1.0

not well-formed :1:77

On Fiddle.Net site:
not well-formed :1:79

Open in Firefox, F12, monitor for javascript errors.
http://jsfiddle.net/spknpd92/

Javascript:
var xmlxmlTxt = '<?xml version="1.0"?><general><temperature><myTemp val = "10">The temp is 10</myTemp></temperature></general>';

alert($($.parseXML(xmlxmlTxt)).find('myTemp').attr('val'))

@gibson042
Copy link
Member

This is a duplicate of #1969 (jquery/sizzle#304), which is harmless but already fixed upstream and will be resolved with the next jQuery release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants