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

JAVA6 HTML PARSER CANNOT PARSE MULTIPLE SCRIPT TAGS IN A LINE CORRECTLY

    XMLWordPrintable

Details

    • b32
    • x86
    • windows_xp

    Backports

      Description

        Issue Clarification
          ===================
          Other
          General description of the problem
            Swing HTML Parser does not parse html files which has multiple script tags
          on a line.
            Compile attached Main.java and run it as:
              java Main sample1.html
           
            Sun bug 7011777 reads Parser.parseScript is new from java6 and it may have
          issues.
           
          How often has the customer seen the problem?
            Always.
           
          How reproducable is the problem?
            Parse an HTML file like below with a ParserDelegator object which has an
          HTMLParserCallback for events like start, end tag, etc.
           
          Does the customer see the problem in development/staging/production?
            They see the problem on the production systems.
           
          system configuration
          ====================
          Full output from java -version
          java version "1.6.0_27"
          Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
          Java HotSpot(TM) Client VM (build 20.2-b06, mixed mode, sharing)
           
          The symptom was seen on 6u31 and 7u3 too.
           
          OS and patch level
            Windows XP SP3. Problem happens on Linux too
          CPU architecture
            X86
          other

        Attachments

          Issue Links

            Activity

              People

                vikram Vikram Aroskar (Inactive)
                vikram Vikram Aroskar (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: