Opened 9 years ago
Closed 9 years ago
#14339 closed bug (notabug)
IE8 issue creating jQuery objects that start with "<xml>"
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In IE8, using jQuery 1.9 and later, I see the following interesting behavior:
$("<div>test</div>"); //works $("<xyz>test</xyz>"); //works $("<xml>test</xml>"); //THROWS ERROR
The specific error this returns is as follows: "Unable to get property 'ownerDocument' of undefined or null reference"
Note: See
TracTickets for help on using
tickets.
$()
IS NOT FOR PARSING XML.http://api.jquery.com/jQuery/#jQuery2
http://api.jquery.com/jQuery.parseXML/