Re: [PATCH] Removes the <?xml?> declaration from gitweb.pl
torsdag 12 oktober 2006 23:21 skrev Jakub Narebski:
Show 15 quoted lines
> Robin Rosenberg wrote:
> > onsdag 11 oktober 2006 23:27 skrev Jakub Narebski:
> > > Pazu wrote:
> > > > The XML declaration forces IE6 into quirks mode, breaking our
> > > > nice standards compliant stylesheet.
> > >
> > > But isn't it _required_ by XML/XHTML?
> >
> > For pure XML document it is required, but not for XHTML, unless the
> > encoding is something other than UTF-8 or (shudder) UTF-16. W3C
> > recommends it though.
>
> So what should be our decision? Honor IE quirks ;-) and either remove
> XML declaration, or use Transitional DTD? Add back SPC to conversion
> in esc_html? Ignore broken browsers?
It isn't required by the standard. Why not just drop it?
-- robin