I'm getting an exception in mxUtils.parseXml() in IE7. It tests document.documentMode, which is undefined in IE7. This causes the code to execute the IE9 logic of constructing a new DomParser, which fails because it does not exist in IE7.

I worked around the problem with:

if (mxClient.IS_IE && typeof(document.documentMode) === 'undefined' || document.documentMode < 9)

BTW, running IE9 in IE7 document mode does not have this problem ... document.documentMode is defined and the value is 7.

-Clark

asked 27 Apr '12, 18:32

Clark%20Rasmussen's gravatar image

Clark Rasmussen
21112
accept rate: 0%

edited 27 Apr '12, 18:34


Thanks for the report, this will be fixed in the next release.

link

answered 28 Apr '12, 12:21

Gaudenz's gravatar image

Gaudenz
80.1k1310
accept rate: 39%

That release is now out

(03 May '12, 09:48) David
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×39
×3

Asked: 27 Apr '12, 18:32

Seen: 2,132 times

Last updated: 03 May '12, 09:48