Development

#3568 ([PATCH] sfFillInFilter triggers quirks mode in IE6 when outputting xml)

You must first sign up to be able to contribute.

Ticket #3568 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

[PATCH] sfFillInFilter triggers quirks mode in IE6 when outputting xml

Reported by: dball Assigned to: fabien
Priority: minor Milestone: 1.0.17
Component: form Version: 1.0.16
Keywords: fillin xml xhtml prolog quirks Cc:
Qualification: Unreviewed

Description

When the content type is set to xml, the sfFillInFilter sends xhtml with the xml prolog. This has the unfortunate side-effect of triggering quirks mode rendering in IE6.

I've attached a patch which creates a new xhtml content-type, which simply strips the xml prolog from the xml. If you'd prefer, I could write up a variant which adds another parameter to the configuration, but this seemed simpler and less invasive.

Attachments

patch.txt (0.6 kB) - added by dball on 05/21/08 17:33:25.

Change History

05/19/08 23:03:39 changed by dball

  • summary changed from sfFillInFilter triggers quirks mode in IE6 when outputting xml to [PATCH] sfFillInFilter triggers quirks mode in IE6 when outputting xml.

05/21/08 17:21:07 changed by fabien

Can you attach your patch?

05/21/08 17:33:25 changed by dball

  • attachment patch.txt added.

05/21/08 17:33:48 changed by dball

Sorry about that!

05/23/08 09:38:25 changed by FabianLange

(In [9206]) doc: added third mode for fillin xhtml, same as xml but without prolog. refs #3568

05/23/08 09:47:51 changed by FabianLange

(In [9208]) 1.1: added third mode for fillin xhtml, same as xml but without prolog (+test). refs #3568

05/23/08 09:48:41 changed by FabianLange

  • status changed from new to closed.
  • resolution set to fixed.

(In [9209]) 1.0: added third mode for fillin xhtml, same as xml but without prolog (+test). fixes #3568

05/23/08 09:49:24 changed by FabianLange

  • milestone set to 1.0.17.

i start thinking that you better not use fillin, with all the hacks it is using :-)