Opened 6 years ago

Last modified 6 years ago

#11778 confirmed Bug

IE11: The xml object loaded with Ajax plugin fails to find children

Reported by: Alfonso Martínez de Lizarrondo Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: IE10 IE11 Cc:

Description

Create a "test.xml" file with something like this:

<?xml version="1.0" encoding="utf-8" ?><Templates><Template>content</Template></Templates>

Add this to a page with CKEditor:

CKEDITOR.on('instanceReady', function(e) {
	CKEDITOR.ajax.loadXml( "test.xml", function(oXml) {
		var child = oXml.selectSingleNode( 'Templates' );
		if (!child)
			alert("Failed, the Templates node hasn't been found");
		else
			alert("XML successful");

	});
});

Now when the page is loaded IE11 will state that the child hasn't been found This can be prevented by using the XML code found in CKFinder (in theory it was added for Android, but it turns out that it also works here).

Attachments (2)

replacebycode.html (6.9 KB) - added by Jakub Ś 6 years ago.
test.xml (90 bytes) - added by Jakub Ś 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by Jakub Ś

Attachment: replacebycode.html added

Changed 6 years ago by Jakub Ś

Attachment: test.xml added

comment:1 Changed 6 years ago by Jakub Ś

Keywords: IE10 IE11 added
Status: newconfirmed
Version: 4.0

This looks like continuation of #11390.

Problem presented by @alfonsoml can be reproduced on IE10+.

I'm setting 4.0 as start version.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy