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

plugin HTML converter produces extra --> in displayed output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.1.1
    • deploy
    • sparc
    • solaris_8

      If the applet tag of a html page has comments, due to the processing of the converter, the displayed html contains visible --> tags.

      Original:
      <HTML>
      <HEAD>
      <TITLE>JavaLab</TITLE>
      </HEAD>
      <BODY>
      <H1>JavaLab</H1>
      <APPLET CODE = "JavaLab.class" WIDTH = 250 HEIGHT = 150 NAME = "javalab" >
      <PARAM NAME = "port" VALUE ="4070"><!-- BLASKET -->
      <PARAM NAME = "remotemachine" VALUE ="ray">
      </APPLET>

      </BODY>
      </HTML>

      Converted: (default Solaris Win95 convert):
      <HTML>
      <HEAD>
      <TITLE>JavaLab</TITLE>
      </HEAD>
      <BODY>
      <H1>JavaLab</H1>
      <!--"CONVERTED_APPLET"-->
      <!-- CONVERTER VERSION 1.0 -->
      <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
      WIDTH = 250 HEIGHT = 150 NAME = "javalab" codebase="http://java.sun.com/products/plugin/1.1.1/jinstall-111-win32.cab#Version=1,1,1,0">
      <PARAM NAME = CODE VALUE = "JavaLab.class" >
      <PARAM NAME = NAME VALUE = "javalab" >

      <PARAM NAME="type" VALUE="application/x-java-applet;version=1.1">
      <PARAM NAME = "port" VALUE ="4070">
      <PARAM NAME = "remotemachine" VALUE ="ray">
      <COMMENT>
      <EMBED type="application/x-java-applet;version=1.1" java_CODE = "JavaLab.class" NAME = "javalab" WIDTH = 250 HEIGHT = 150 port = "4070" remotemachine = "ray" pluginspage="http://java.sun.com/products/plugin/1.1.1/plugin-install.html"><NOEMBED></COMMENT>
      <!-- BLASKET -->
      </NOEMBED></EMBED>
      </OBJECT>

      <!--
      <APPLET CODE = "JavaLab.class" WIDTH = 250 HEIGHT = 150 NAME = "javalab" >
      <PARAM NAME = "port" VALUE ="4070">
      <PARAM NAME = "remotemachine" VALUE ="ray">
      <!-- BLASKET -->

      </APPLET>
      -->
      <!--"END_CONVERTED_APPLET"-->


      </BODY>
      </HTML>

      As you can see, then embedded comment in the applet tag was moved to the bottom of the converted output, however, you are left with a nested comment tag,
      as comment tags don't nest, the first close comment tag (-->), closes the comment, leaving the second comment tag to display.

            stanleyh Stanley Ho (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: