Opened 14 years ago
Closed 14 years ago
#6758 closed Bug (duplicate)
Conflict with application/xhtml+xml MIME type
Reported by: | Tom Leach | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.4.2 |
Keywords: | Cc: | tleach@… |
Description
Server running PHP5. All _samples ran great but when I instantiated my own CKEditor in my CMS it broke. Mac Firefox 3.6.12 reports in the error console:
* errors
Error: undefined entity Source File: Line: 1, Column: 49 Source Code: <div xmlns="http://www.w3.org/1999/xhtml">"¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿×÷ƒ•…′″‾⁄℘ℑℜ™ℵ←↑→↓↔↵⇐⇑⇒⇓⇔∀∂∃∅∇∈∉∋∏∑−∗√∝∞∠∧∨∩∪∫∴∼≅≈≠≡≤≥⊂⊃⊄⊆⊇⊕⊗⊥⋅⌈⌉⌊⌋⟨⟩◊♠♣♥♦ˆ˜   ‌‍‎‏–—‘’‚“”„†‡‰‹›€ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿŒœŠšŸΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρςστυφχψωϑϒϖ'</div>
Error: uncaught exception: [Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "http://example.com/admin/ckeditor/ckeditor.js Line: 52"]
* end errors
After I commented out this line, CKEditor worked as expected:
header('Content-Type: application/xhtml+xml');
This is the W3C recommended MIME type to use for XHTML. See section 3.1 - http://www.w3.org/TR/xhtml-media-types/#application-xhtml-xml
Attachments (1)
Change History (2)
Changed 14 years ago by
Attachment: | cke_bug.png added |
---|
comment:1 Changed 14 years ago by
Keywords: | xhtml mime removed |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
dup of #4576
Screen caputre of the offending entity as reported by Firefox 3.6.12