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

Omniture markup added in the api docs gives an html4 validation error for javascript tags

XMLWordPrintable

    • b01
    • b20
    • generic
    • generic
    • Verified

        Api docs have omniture markup added before the files are staged on java.net.
        This omniture markup is giving html4 validation error for the script with language as the attribute.

        It is used as follows:
        <script language="JavaScript" src="path to js file">
        Correct use:
        <script type="text/javascript" src="path to js file">

        attribute 'langugage' has been deprecated as per the W3C documentation: http://www.w3.org/TR/html4/interact/scripts.html

        However, this error still allows javascript to run as tested on a sample html file with sample javascript file.
        Sample File: http://sqeweb.sfbay.sun.com/net/sqenfs-1/export1/comp/quality1/deployment2/sonali/omnitureMarkup/test.html
        Validation report: http://10.132.185.86:8080/check?uri=http://sqeweb.sfbay.sun.com/net/sqenfs-1/export1/comp/quality1/deployment2/sonali/omnitureMarkup/test.html

        Tested on Windows Vista with FF3.6/IE8/Chrome12.0

        Requesting deferral for 8.

              aywang Amy Wang
              sogoel Sonali Goel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: