Opened 17 years ago

Closed 17 years ago

#540 closed Bug (duplicate)

Problems with XML within HTML

Reported by: Liz Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

FCKeditor is not supporting XML within HTML -

  • In IE, insert

<xml id="note" src="note.xml"></xml> in FCKeditor's source mode. Switch to WYSIWYG mode and then switch to source mode. The inserted fragment is replaced with <!--Element not supported - Type: 9 Name: #document-->

  • In Firefox, insert

<xml id="note" src="note.xml"></xml> in FCKeditor's source mode. Switch to WYSIWYG mode and then switch to source mode. The inserted fragment is preserved.

  • In IE, insert

<?xml:namespace prefix = st1 /> in FCKeditor's source mode. Switch to WYSIWYG mode and then switch to source mode. The inserted fragment is removed.

  • In Firefox, insert

<?xml:namespace prefix = st1 /> in FCKeditor's source mode. Switch to WYSIWYG mode and then switch to source mode. The inserted fragment is removed.

Change History (1)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

Keywords: XML removed
Resolution: duplicate
Status: newclosed

FCKeditor is a HTML editor. <xml> is not a valid HTML tag so, there is no way to correctly support it in all browsers (specially in IE).

But, it is quite common to have <xml> in the source, mainly when pasting data from Word. So, we have decided to partially support it. See ticket #239.

For the namespace declaration, if you really need it, just use the Protect Source feature. Check out the fckconfig.js file.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy