On Dec 28, 2007 2:15 AM, Matej Knopp <[EMAIL PROTECTED]> wrote: > But how can we know that for some pages users don't want to force the > quirks mode? > I'm big -1 on stripping the xml declaration for all pages by default.
That is exactly my point. It most certainly will break existing applications. > That would break any application where the users are relying on <xml > declaration making IE use quirks mode. I wonder how many users actually do that compared to (IMO rather weird thinking) that a proper xml document will swicth IE into quirks mode (which is the old buggy render mode). How many users actually have the intend to deliberately switch into quirks mode rather than the other way around (use a std compliant mode). > > We should focus on the problem itself, and that is the > Apache header between the <?xml declaration and doctype which is what > completely breaks IE. I'm not sure this is true. Anything, including the xml decl, before the doctype makes IE switch into quirks mode. > > Now I can see two simple solution. Either wraps the header comment > with <wicket:remove> or move the header comment after doctype. I'm not sure this will work. Did you try it already? Juergen
