#2807: Fatal error when using content-type: application/xhtml+xml
-----------------------+----------------------------------------------------
Reporter: moroz1999 | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version:
Keywords: |
-----------------------+----------------------------------------------------
Steps to reproduce:
1. Use "content-type: application/xhtml+xml" in HTTP response headers.
2. Initialise FCKEditor using the following Javascript code:
<script type="text/javascript">
var oFCKeditor = new FCKeditor('content');
oFCKeditor.BasePath = "../externals/fckeditor/";
oFCKeditor.Value = '';
oFCKeditor.Create();
</script>
Result: FCKEditor is not started. The following error message can be seen
in FireBug extension for Firefox.
uncaught exception: Operation is not supported
(NS_ERROR_DOM_NOT_SUPPORTED_ERR)
[Break on this error] document.write( this.CreateHtml() ) ;
fckeditor.js (line 67)
This problem is not appearing if 'content-type: text/html' is used in HTTP
headers.
This problem has been reproduced on the following software:
OS: Windows XP SP3 Eng
Browsers: Firefox 3.0.5, Google Chrome 1.0.154.43, Safari 3.1.1 (525.17),
Opera 9.63
--
Ticket URL: <http://dev.fckeditor.net/ticket/2807>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac