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

JEditorPane can not parse <H1></H1> between <A HREF=""></A>

XMLWordPrintable

      JEditorPane can not parse H[number] tag between <A HREF=""></A>. The following is the exception I got from <A HREF="test.html"><H1>Test</H1></A>.

      Exception:java.awt.swing.text.html.ParseException: Encountered "H1" at line 7, c
      olumn 24.
      Was expecting one of:
          "textarea" ...
          "select" ...
          "input" ...
          "a" ...
          "img" ...
          "applet" ...
          "font" ...
          "basefont" ...
          "br" ...
          "script" ...
          "map" ...
          "em" ...
          "strong" ...
          "dfn" ...
          "code" ...
          "samp" ...
          "kbd" ...
          "var" ...
          "cite" ...
          "tt" ...
          "i" ...
          "b" ...
          "u" ...
          "strike" ...
          "s" ...
          "big" ...
          "small" ...
          "sub" ...
          "sup" ...

            tprinzing Tim Prinzing (Inactive)
            bkimsunw Bae-chul Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: