Index: _source/tests/core/ajax.html
===================================================================
--- _source/tests/core/ajax.html (revision 3550)
+++ _source/tests/core/ajax.html (working copy)
@@ -137,6 +137,22 @@
this.wait();
},
+ test_parseXml : function()
+ {
+ var data = new CKEDITOR.xml( '
' );
+ assert.isInstanceOf( CKEDITOR.xml, data );
+ assert.isNotNull( data.selectSingleNode( '//list/item' ), 'The loaded data doesn\'t match (null)' );
+ assert.isNotUndefined( data.selectSingleNode( '//list/item' ), 'The loaded data doesn\'t match (undefined)' );
+ },
+
+ test_parseXml_nbsp : function()
+ {
+ var data = new CKEDITOR.xml( '-
' );
+ assert.isInstanceOf( CKEDITOR.xml, data );
+ assert.isNotNull( data.selectSingleNode( '//list/item' ), 'The loaded data doesn\'t match (null)' );
+ assert.isNotUndefined( data.selectSingleNode( '//list/item' ), 'The loaded data doesn\'t match (undefined)' );
+ },
+
name : document.title
};
})() );