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

HTML parser doesn't handle hexadecimal numeric character references

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • client-libs
    • beta
    • x86
    • windows_nt

        Name: anR10225 Date: 12/05/2003


          HTML parser doesn't handle such references as '&#xH;' where H is a
        hexadecimal number.
          The following test case reproduces the problem:
                JEditorPane p = new JEditorPane("text/html", "Z");
                Document d = p.getDocument();
                String cont = d.getText(0, d.getLength());
                System.out.println("'" + cont + "'");

        letter 'Z' here should be printed here instead of 'Z'

        ======================================================================
        ###@###.### 10/13/04 17:55 GMT

              idk Igor Kushnirskiy (Inactive)
              naasunw Naa Naa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: