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

Duplicate XML keys in XPATHErrorResources.java and XSLTErrorResources.java

    XMLWordPrintable

Details

    • b24
    • Verified

    Backports

      Description

        Created on behalf of Shruthi

        src/java.xml/share/classes/com/sun/org/apache/xpath/internal/XPATHErrorResources.java file has duplicate keys.
        (1) Same key and different value.
        { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
        "rtf() not supported by XRTreeFragSelectWrapper"},
        { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
        "asNodeIterator() not supported by XRTreeFragSelectWrapper"},
        (2) Same key and value.
        { ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL,
        "Source and/or Return Type can not be null"},
        { ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL,
        "Source and/or Return Type can not be null"},

        src/java.xml/share/classes/com/sun/org/apache/xalan/internal/res/XSLTErrorResources.java file has duplicate keys.
        (3) the same key and different value.
        { "xslProc_option", "Xalan-J command line Process class options:"},
        { "xslProc_option", "Xalan-J command line Process class options\u003a"},
        [Poster's Note: 0x3a is the same as ':' in ascii/utf-8 so this is actually the same key and value.]

        Attachments

          Issue Links

            Activity

              People

                joehw Joe Wang
                tsteele Tyler Steele
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: