[OpenSTA-devel] [ opensta-Bugs-760485 ] Modeler HTML tabs don't contain all elements for 'bad' HTML
Brought to you by:
dansut
|
From: SourceForge.net <no...@so...> - 2005-05-12 22:25:55
|
Bugs item #760485, was opened at 2003-06-25 09:30 Message generated for change (Settings changed) made by dansut You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=760485&group_id=10857 Category: GUI Issue Group: Inconvenience >Status: Closed Resolution: Fixed Priority: 5 Submitted By: Daniel Sutcliffe (dansut) Assigned to: Daniel Sutcliffe (dansut) Summary: Modeler HTML tabs don't contain all elements for 'bad' HTML Initial Comment: The Modeler tree view tabs (HTML Tree and Structure) should display the breakdown contents of HTML body content when a GET (or POST) request is selected and "Url details" requested. This may be due to the fact the HTML is not formed in a normal manner. The tree tabs seem to expect that HTML will be rooted all in a single <html></html> pair. Items that occur outside this block confuse the code that set up the tree views and it appears that only the last top level tag pair will be shown. At runtime HTML parsing using DOM identifiers still works and LOAD RESPONSE_INFO BODY's can still be used but you must code them by hand. Workaround: make your application generate nice HTML :-) ---------------------------------------------------------------------- Comment By: Daniel Sutcliffe (dansut) Date: 2004-05-18 14:30 Message: Logged In: YES user_id=19748 The fix has been merged into the CVS HEAD. It will become generally available in release 1.4.3. Problem found to be the same as report 414448. The fix creates a new top level folder to the HTML tree, called 'document' and places any 'rooted' HTML tags below this. Previously only the last 'rooted' HTML tag would show up in the HTML tree tab. Work on diagnosing and fixing this issue was kindly sponsored by Bernie @ Performax, Thanks. Modeler: 1.4.3.2 OpenSTA: 1.4.3.3 ---------------------------------------------------------------------- Comment By: Daniel Sutcliffe (dansut) Date: 2003-07-26 08:28 Message: Logged In: YES user_id=19748 The problem is exactly as described previously. The HTML shown by the Modeler in its tabs is only that between the last pair of root level tags in the HTTP body. The parser assumes there will only be a single set of root level tags. A solution to this problem needs to acknowledge the possibility of multiple root level tags but not change the DOM addressing in any way, as this would break compatibility. Problem reproduced on all OS's, NT4 upwards, and using OpenSTA 1.4.2 and all previous releases tested. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110857&aid=760485&group_id=10857 |