Folks,
It turns out that there are issues with jQuery's methods that insert/replace
HTML and using XHTML on Firefox.  Sigh.

We should be aware of this.  using $("...").html(stuff) will likely fail if
any of the elements in stuff have namespaces.

Sorry.

David

---------- Forwarded message ----------
From: John Resig <[email protected]>
Date: Sun, Feb 15, 2009 at 8:31 PM
Subject: [jquery-dev] Re: Namespace failure
To: [email protected]



Anko -

You're welcome to file a bug on XHTML support - let me know when you
do. I have it penciled in the Roadmap for jQuery 1.4 - but it's going
to require a lot of work (basic things like innerHTML aren't
guaranteed to work, for example) - not to mention that things like
attributes and expandos are handled very differently.

I took some very basic steps of converting our test suite to run under
the proper mimetype and wasn't terribly pleased with the result (lots
of failures). I'll definitely revisit it at some point, though. Right
now the only component guaranteed I'm sure that passes is the selector
engine. I'd like to have 100% passing in all components for 1.4.

http://dev.jquery.com/browser/trunk/jquery/test/xhtml.php

--John



On Sun, Feb 15, 2009 at 9:24 PM, Anko Painting <[email protected]> wrote:
>
> Is there a ticket associated with this bug? I'm dealing with the same
> issue myself.
>
> It's frustrating because i need to serve as application/xhtml+xml so
> that I can put svg on the page.
>
> On Feb 14, 12:52 am, John Resig <[email protected]> wrote:
>> Correct - you have to do it with the mimetype - which forces it in to
>> the XML mode where everything becomes 'fun'.
>>
>> --John
>>
>> On Fri, Feb 13, 2009 at 9:37 AM, David Zhou <[email protected]> wrote:
>>
>> >http://media.nodnod.net/test.htmlworks for me.  Is it because I'm not
>> > serving the page as application/xhtml+xml?
>>
>> > -- dz
>>
>> > On Fri, Feb 13, 2009 at 9:31 AM, Dave Methvin <[email protected]>
wrote:
>>
>> >> Me too.
>>
>> >> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/
>> >> 2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)
>
> >
>





-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to