Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4121028

HTML Parser goes into an infinite loop

XMLWordPrintable

    • 1.2beta4
    • x86
    • windows_nt
    • Not verified

      ==========================================================================
      carlos.lucasius@canada 1998-03-19:
      Bug reported by Corel (licensee) for JFC1.1 using JDK1.1.4 on WINNT4.0.
      Corel: "Very critical bug for our product - requires immediate attention."

      According to the W3C spec on HTML 3.2, an html file doesn't have to have the
      <BODY> or <HTML> tags. The JEditorPane gets stuck in a loop when trying to load
      a file without some sort of end tag. It looks like the html32.java class sits
      in a loop looking for either the closing BODY or HTML token but never finds
      them. Maybe if it also checks for the EOF token?

            smanisunw Sunita Mani (Inactive)
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: