[jsr-314-open] [xmldecl-696] suppressing XML declaration for MR1

Dan Allen dan.j.allen at gmail.com
Fri Dec 11 18:38:03 EST 2009


On Fri, Dec 11, 2009 at 6:30 PM, Jim Driscoll <Jim.Driscoll at sun.com> wrote:

> Oh, THAT's what he meant.  He tried to describe the problem to me, but our
> discussion got cut off.  I've even run into this with demos - it's actually
> a pretty big deal, I think.
>

+1


>
> Fortunately, the declaration is optional, as I understand the XML standard.
>

Right, but from what I understand from Max, tooling is adding it
aggressively and it becomes a fight between developer and tool to leave it
off. He could probably speak to this more.


>
> As for "some browsers", let's just name it:  IE.  The XML declaration
> triggers their "I don't care about your mime-type, I know better than you"
> code.  Though it wouldn't be surprising if it triggered some quirks-mode in
> other browsers.
>

Yep, pretty much.

-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20091211/d6dd07bd/attachment.html 


More information about the jsr-314-open-mirror mailing list