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

Have difference two message for one key in XSLTErrorResources.java

XMLWordPrintable

    • 1.2.0
    • generic
    • generic
    • Verified

      In file XSLTErrorResource.java, the contents[i][1] ( i from 190 to 199) item, have two difference message, such as:

      The first:
         /*
          /** Cannot find SAX1 driver class *
        public static final int ER_CANNOT_FIND_SAX1_DRIVER = 190;

        static
        {
          contents[ER_CANNOT_FIND_SAX1_DRIVER][1] =
            "Cannot find SAX1 driver class {0}";
        }

      The second:
         /** Fragment cannot be set when path is null */
        public static final int ER_FRAG_WHEN_PATH_NULL = 190;

        static
        {
          contents[ER_FRAG_WHEN_PATH_NULL][1] =
             "Fragment cannot be set when path is null";
        }

      And also in file XPATHErrorResources.java, the contents[78][1] have two difference message.

            duke J. Duke
            lefan Leon Fan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: