Ross,

Yep, that fixes it. Thanks, although I'm not sure if the
solution is worse than the problem. I mean, what possible
side affects could turning off the use of Xhtml mime type have?

Glenn

On Nov 18, 11:23 am, Ross Mellgren <dri...@gmail.com> wrote:
> Try turning off the XHTML mime type by putting
>
> LiftRules.useXhtmlMimeType = false
>
> into your Boot and see if it goes away?
>
> -Ross
>
> On Nov 18, 2009, at 2:21 PM, glenn wrote:
>
> > I'm returning  Full(CreatedResponse(form, "text/xhtml" )) in
> > LiftRules.DispatchPF, where form is just a MetaMapper.toForm node,
> > which works fine in IE but fails in Firefox with the following error.
>
> > XML or text declaration not at start of entity
> > [Break on this error] <div xmlns="http://www.w3.org/1999/xhtml";><?xml
> > version="1.0" encoding="UTF-8"?> (line 1)
> > uncaught exception: [Exception... "Component returned failure code:
> > 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMNSHTMLElement.innerHTML]"
> > nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS
> > frame ::http://localhost:8080/classpath/jquery.js:: anonymous ::
> > line 251" data: no]
>
> > Anyone have an idea why this happening?
>
> > Glenn
>
> > --
>
> > You received this message because you are subscribed to the Google  
> > Groups "Lift" group.
> > To post to this group, send email to lift...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > liftweb+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group 
> > athttp://groups.google.com/group/liftweb?hl=en
> > .

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to