Changes between Version 1 and Version 3 of Ticket #7348


Ignore:
Timestamp:
Jan 28, 2013, 10:53:48 AM (6 years ago)
Author:
Jakub Ś
Comment:

The same problem occurs in IE9 and IE 10 on both CKEditor 3.x and 4.x (v4).

Perhaps XML plugin is missing new ActiveXObject("Msxml2.DOMDocument.6.0"); and xmlDoc.setProperty("SelectionLanguage", "XPath");. When I was trying to use these however I have only got null nodes(no errors but nulls).

Here are some links that I have used:
http://stackoverflow.com/questions/10522236/javascript-on-ie9-xmldom-selectsinglenode-gives-unknown-method-concat
http://msdn.microsoft.com/en-us/library/ms757846%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/ms754523%28v=vs.85%29.aspx

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7348

    • Property Keywords IE9 IE10 added
    • Property Status changed from new to confirmed
    • Property Milestone changed from CKEditor 3.5.3 to
  • Ticket #7348 – Description

    v1 v3  
    55To reproduce, use the following:
    66{{{
    7 CKEDITOR.loader.load( 'core/ajax' );
    8 setTimeout(function() {
    9         var data = CKEDITOR.ajax.loadXml( '/ckeditor.tests/dt/_assets/sample.xml' );
    10         alert(data.selectSingleNode( 'list/item' ));
    11 }, 1000);
     7var editor = CKEDITOR.replace( 'editor1',{
     8        extraPlugins : 'xml,ajax',     
     9});
     10               
     11editor.on( 'instanceReady', function( evt ) {                                           
     12        setTimeout(function() {
     13                var data = CKEDITOR.ajax.loadXml( '/ckeditor/sample.xml' );//adjust path to your needs
     14                alert(data.selectSingleNode( 'list/item' ));
     15        }, 1000);
     16});
    1217}}}
    1318
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy