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

too few arguments passed for message formatting for EqRequiredInAttribute

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: xml

      Description

      Malformed XML results in the following exception. Notice the unexpanded {1} entry. This works correctly in 1.5.

      Exception in thread "main" org.xml.sax.SAXParseException: Attribute name "{1}" associated with an element type "C2" must be followed by the ' = ' character.
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
      at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1404)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanAttribute(XMLDocumentFragmentScannerImpl.java:1520)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp

        Attachments

          Activity

            People

            • Assignee:
              spericas Santiago Pericasgeertsen
              Reporter:
              never Tom Rodriguez
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: