- This topic has 9 replies, 4 voices, and was last updated 20 years, 3 months ago by Riyad Kalla.
-
AuthorPosts
-
Jason HobbsParticipantOk, I’m at the end of my rope here.
Can anyone tell me what’s wrong with the HTML below that makes the Visual Designer tab of HTML Editor crash eclipse? (CPU pegged at 100%)?
…Other pages work fine and this page reported as OK thru several online validators.MyEclipse 3.7.200 (3.8B2)
Eclipse 3.0.0 (Build id: 200406251208)
java.runtime.version=1.4.2_03-b02—-file.html—-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta name="generator" content="HTML Tidy, see www.w3.org"> <title>edit_fur.html</title> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="this is my page"> </head> <body> <table cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> <td nowrap width="20%" bgcolor="#ffffcc" height="10"> </td> <td nowrap width="20%" bgcolor="#ccffff" height="10"> </td> <td nowrap width="20%" bgcolor="#ccffff" height="10"> </td> <td nowrap width="20%" bgcolor="#ccffff" height="10"> </td> <td nowrap width="20%" bgcolor="#ccffff" height="10"> </td> </tr> <tr> <td nowrap width="20%" bgcolor="#ffffcc"> <p align="center"><font face="Arial">Inventory</font></p> </td> <td nowrap width="20%" bgcolor="#ccffff"> <p align="center"><a href="receipts.html"><font face= "Arial">Receipts</font></a></p> </td> <td nowrap width="20%" bgcolor="#ccffff"> <p align="center"><a href="transfers.html"><font face= "Arial">Transfers</font></a></p> </td> <td nowrap width="20%" bgcolor="#ccffff"> <p align="center"><a href="adjustments.html"><font face= "Arial">Adjustments</font></a></p> </td> <td nowrap width="20%" bgcolor="#ccffff"> <p align="center"><a href="reporting.html"><font face= "Arial">Reporting</font></a></p> </td> </tr> <tr> <td nowrap width="20%" bgcolor="#ffffcc" height="10"> </td> <td nowrap width="20%" bgcolor="#ccffff" height="10"> </td> <td nowrap width="20%" bgcolor="#ccffff" height="10"> </td> <td nowrap width="20%" bgcolor="#ccffff" height="10"> </td> <td nowrap width="20%" bgcolor="#ccffff" height="10"> </td> </tr> <tr> <td colspan="5"> <table cellspacing="0" cellpadding="5" width="100%" border="1"> <tr> <td valign="top"> <p dir="ltr" style="MARGIN-RIGHT: 0px"><font face= "Arial"><font face="Arial"><strong><a href= "inventory.html">Inventory</a> - Edit Fur</strong></font></font></p> <blockquote dir="ltr" style="MARGIN-RIGHT: 0px"> <font size="+0"></font> <p dir="ltr" style="MARGIN-RIGHT: 0px"><font size= "+0"><br> <font face="Arial">Edit item details:</font></font></p> <a href="edit_fur_save.html"><font face= "Arial"></font></a> <p dir="ltr" style="MARGIN-RIGHT: 0px"></p> <table cellspacing="0" cellpadding="5" width="200" summary="" border="1"> <tr> <td><font face="Arial" size= "2">LineID</font></td> <td><font face="Arial" size= "2">024545</font></td> <td> </td> <td> </td> <td> </td> </tr> <tr> <td><font face="Arial" size= "2">Fur Origin</font></td> <td><select name= "origin"> <option value="Argentina" selected> Argentina </option> <option value="Canada"> Canada </option> <option value="Denmark"> Denmark </option> <option value="Finland"> Finland </option> <option value="Norway"> Norway </option> <option value="USA"> USA </option> </select></td> <td> </td> <td> </td> <td> </td> </tr> <tr> <td><font face="Arial" size= "2">Treatment</font></td> <td><select name="treatment"> <option value="Dyed"> Dyed </option> <option value="Natural" selected> Natural </option> </select></td> <td> </td> <td> </td> <td> </td> </tr> <tr> <td><font face="Arial" size= "2">Color</font></td> <td> </td> <td> </td> <td> </td> <td> </td> </tr> <tr> <td><!--StartFragment --><font face="Arial" size= "2">Silhouette</font></td> <td> </td> <td> </td> <td> </td> <td> </td> </tr> <tr> <td><!--StartFragment --><font face="Arial" size= "2">Description</font></td> <td> </td> <td> </td> <td> </td> <td> </td> </tr> </table><br> <br> <p dir="ltr" style="MARGIN-RIGHT: 0px">Save Fur Details</p> </blockquote> </td> </tr> </table> </td> </tr> </table><br> </body> </html>
…Any help appreciated.
Riyad KallaMemberI don’t know, but taht snippet sure as heck does crash the designer… thanks for the test case, I’ll pass it along in a bug report!
Riyad KallaMemberMoving to bugs…
Scott AndersonParticipantJason,
I’m sorry you’re experiencing trouble with this. I checked it out and replicated the problem you’re reporting. I also ran our validator on it (rt-click > validate) and noticed some empty font tags. I removed them, but this didn’t stop the problem either. I’ve opened a high-priority bug report on it with your example and will see if we can find a workaround for you in the interim once we figure out the cause.
Jason HobbsParticipantAwesome stuff. You guys rock.
Thanks!
GregMemberJason,
I removed the two <!–StartFragment–> comments and no longer see the error. We don’t quite yet know the cause of the error so unfortunatlely the only workaround I can offer is just to remove those comments. You can actually just move them around abit…
<tr> <!--StartFragment --> <td><font face="Arial" size="2">Silhouette</font></td>
A quick trace of the problem reveals a problem in internal html handling code. In the upcoming GA release we are going to revamp this html handling code that will address this problem and others like it. Thanks for your patience as we continue to improve the HTML designer.
Jason HobbsParticipantAwesome. Thanks for the turbo-enabled response.
What are the StartFragment comments used for? I assume they have some internal function in the editor (and that that is in fact where they came from), it’s not quite apparent to me when I look at the code.
Thanks again for the work-around. Keep rockin’.
Riyad KallaMemberUpdate,
this seems to be *fixed* already in internal builds due to the fact that Greg wouldn’t go home because he refused “… to let Jason down!”, is that commitment or what?
Jason HobbsParticipantWow… that’s just perverted. Tell Greg I owe him a beer 🙂
Riyad KallaMemberFixed in 3.8 GA
-
AuthorPosts