Menu

#290 When HTML parser fails Modeler HTML tree displays nothing

Inconvenience
closed-fixed
GUI Issue (89)
5
2005-05-12
2004-05-18
No

When the HTML parser fails (for whatever reason) then
the HTML tree tab displays absolutely nothing, and the
structure tab folders have no content. This is
unfortunate because the parsing up to the point of
failure may have been successful and the specifying
DOM identifiers (prior to the parser failure) in the LOAD
RESPONSE_INFO do work if their format can be worked
out without the aid of the GUI.

Causing the HTML parser to fail is usually down to bad
HTML so a workaround is to fix the HTML you are
parsing but sometimes this is not possible. The HTML
parser can be made to fail by something as simple as
missing the closing greater than off the close HTML tag
but this problem report is not about HTML parser
stability.

Discussion

  • Daniel Sutcliffe

    • status: open --> open-accepted
     
  • Daniel Sutcliffe

    Logged In: YES
    user_id=19748

    Proposed fix is to display the HTML parsing as far as
    it was successful. This would allow the possible DOM
    identifiers to at least be accessed and used.

    An error message would also be useful to warn that
    HTML parsing has failed.

     
  • Daniel Sutcliffe

    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. The fix includes an
    error dialog which announces the line number the HTML
    parsing failed on followed by display of the HTML elements
    that the DOM parser can cope with.

    Modeler: 1.4.3.3
    OpenSTA: 1.4.3.4

     
  • Daniel Sutcliffe

    • status: open-accepted --> open-fixed
     
  • Daniel Sutcliffe

    • status: open-fixed --> closed-fixed
     

Log in to post a comment.