Please fork this project http://github.com/dpp/lift_1_1_sample/tree/master and
provide
an example of the failure.  I'll knock something together than
overcomes the problem.

2009/6/30 fbettag <fr...@bett.ag>

>
> To describe it a little cleaner:
>
> in Safari 4, whenever i try to $('#foo').load('/some.html'), it fails
> with "Error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7" since the
> content-type is text/html+xml.
> described here:
> http://groups.google.com/group/jquery-en/browse_thread/thread/de95e8adf9c0ffb7
>
> in Firefox there is a similar problem (error up at the first post)
> which happens because FF kinda sees an error on the lift-generated
> XHTML/XML which is caused because the doctype seems to be strict by
> default (i guess).
> described here:
> http://fitzsimmons.ca/jquery-xhtml-11-strict-and-ns_error_invalid_pointer/
>
> I put up some really simple stuff in 'some.html' with 4 html tags, and
> it fails on Safari and on Firefox.
>
> When i try to set the Doctype to transitional, the Browser seems to
> ignore it somehow, i guess it's because of the <?xml?> tag that occurs
> before the doctype.
>
> Is anyone else here using $("..").load('url') on a lift'ed project?
>
>
> On Jun 30, 11:48 pm, David Pollak <feeder.of.the.be...@gmail.com>
> wrote:
> > What missing doctype?
> >
> > 2009/6/29 fbettag <fr...@bett.ag>
> >
> >
> >
> >
> >
> >
> >
> > > On Safari i get "Error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7".
> > > This seems to be a safari 4 specific problem due to content-type text/
> > > html+xml. See
> > >http://groups.google.com/group/jquery-en/browse_thread/thread/de95e8a.
> ..
> >
> > > On Jun 30, 7:39 am, fbettag <fr...@bett.ag> wrote:
> > > > Hey guys, i've been having troubles with jQuery and Firefox/Safari
> due
> > > > to the missing Doctype all night long:
> >
> > > > Uncaught exception: [Exception... "Component returned failure code:
> > > > 0x80004003 (NS_ERROR_INVALID_POINTER)
> > > > [nsIDOMNSHTMLElement.innerHTML]"  nsresult: "0×80004003
> > > > (NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
> > >http://yourserver/include/jquery.js
> > > > :: anonymous :: line 11″  data: no]
> >
> > > > The issue is described here, altho it kinda "is" somehow faulty xml
> on
> > > > my part:
> > >http://fitzsimmons.ca/jquery-xhtml-11-strict-and-ns_error_invalid_poi.
> ..
> >
> > > > Is there any way to prepend a DocType? Searching the group didn't
> turn
> > > > anything useful up.
> >
> > > > Best regards
> >
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > Follow me:http://twitter.com/dpp
> > Git some:http://github.com/dpp
> >
>


-- 
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 liftweb@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