HTML parser doesn't handle hexadecimal numeric character references

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 5.0
    • Component/s: 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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: