For reference:

https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=696

On Fri, Dec 11, 2009 at 6:10 PM, Dan Allen <dan.j.allen@gmail.com> wrote:
Max (Oracle) brought up a critical point at JSF Summit (and earlier in private discussions). Facelets is passing through the XML declaration in a template to the browser. This is problematic for certain browsers, to the point that it can change the rendering behavior of the browser. There needs to be a way to suppress this. A stopgap solution is to introduce a context param. A more long term approach is to add an attribute to f:view that indicates whether the XML declaration should be sent to the client (you may want it for an atom feed for example).

I'll let Andy chime in on Max's behalf for follow up, since he has some use cases he can cite and perhaps further suggestion.

-Dan

--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://www.google.com/profiles/dan.j.allen



--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://www.google.com/profiles/dan.j.allen