hi i hope u hav checked out xhtml standards there are some rules about xhtml document (i.e. how to write or read) http://www.w3schools.com/xhtml/xhtml_html.asp Follow above link. Probably u will get answer. just one observation, in xhtml 'name' attribute of tags is always replaced by 'id'.
Thanks & Regards Niilesh On Thu, Nov 20, 2008 at 3:27 PM, Deshpande, Raghavendra <[EMAIL PROTECTED]> wrote: > Hi All, > > > > I have pasted the test content below. > > If this content is present in a .xhtml file, the webkit crashes. (Verified > in > > Safari on Win XP with latest nightly, and in Chrome - It crashes there too.) > > > > But, if the same content is served in a .html file, It works fine. > > > > I am afraid, the XHTML content <--> JS bindings have serious issues in > webkit. > > > > I have filed this as a bug in https://bugs.webkit.org/show_bug.cgi?id=22378 > > > > Any suggestions/patches to get it working in .xhtml ?? > > > > > > Here's the test content: > > ------------------------------- > > <?xml version="1.0" encoding="UTF-8"?> > > <!DOCTYPE html PUBLIC > > "-//W3C//DTD XHTML 1.0 Transitional//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > > <head> > > <meta http-equiv="content-type" content="application/xhtml+xml; > > charset=UTF-8"/> > > <title>Form access </title> > > </head> > > <body > > style="background-color:white;border-left:0px;border-top:0px;overflow:hidden;" > >> > > <form name="MyForm" method="POST" action="about:blank"> > > <input type="hidden" name="name" value=""></input> > > </form> > > > > <script type="text/javascript"> > > document.MyForm.name.value="test"; > > document.MyForm.setAttribute("action","about:blank"); > > document.MyForm.submit(); > > </script> > > </body> > > </html> > > ------------------------------------------------------------------ > > > > Raghavendra Deshpande > > > > ________________________________ > The information contained in this message may be confidential and legally > protected under applicable law. The message is intended solely for the > addressee(s). If you are not the intended recipient, you are hereby notified > that any use, forwarding, dissemination, or reproduction of this message is > strictly prohibited and may be unlawful. If you are not the intended > recipient, please contact the sender by return e-mail and destroy all copies > of the original message. > > _______________________________________________ > webkit-dev mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev > > _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

