<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>7442</bug_id>
          
          <creation_ts>2009-08-27 13:58:00 +0000</creation_ts>
          <short_desc>Java applets are never conforming, and sometimes don&apos;t work</short_desc>
          <delta_ts>2010-10-04 13:56:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-object-element</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NE</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Giovanni Campagna">scampa.giovanni</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>hsivonen</cc>
    
    <cc>julian.reschke</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>shadow2531</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26713</commentid>
    <comment_count>0</comment_count>
    <who name="Giovanni Campagna">scampa.giovanni</who>
    <bug_when>2009-08-27 13:58:00 +0000</bug_when>
    <thetext>The object element in HTML5 has the following attributes:
    data
    type
    name
    usemap
    form
    width
    height
while in HTML4 it had all those plus
    classid
    codetype
    archive
    codebase
(and others, that are not important now)
In particular for Java applets, codetype is required to instantiate the JVM (to say &quot;this is a Java applet&quot;, archive or codebase are required to download the .jar or .class files, classid is required to find out which class implements JApplet.
On the other hand, HTML5 says that
1) authors must not use any of those attributes in an HTML5 document
2) UAs must not use any of codetype, archive, codebase to instantiate the object
This means that a document may never use Java Applets, without using the applet element, and in any case it isn&apos;t conforming.

Therefore I propose to reintroduce those attributes for the object element and to rewrite the processing model accordingly.

PS: also the data attribute was relative to codebase in HTML4 and some content may rely on it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26714</commentid>
    <comment_count>1</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2009-08-27 14:27:43 +0000</bug_when>
    <thetext>See bug 7010.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26719</commentid>
    <comment_count>2</comment_count>
    <who name="Michael A. Puls II">shadow2531</who>
    <bug_when>2009-08-27 19:02:57 +0000</bug_when>
    <thetext>For Java applets, everything is done with params:

&lt;embed type=&quot;application/x-java-applet&quot; code=&quot;MyJavaClass&quot; codebase=&quot;dir class file and archives are in if needed&quot; archive=&quot;archive file if needed&quot; mayscript=&quot;true&quot;&gt;

&lt;object type=&quot;application/x-java-applet&quot;&gt;
    &lt;param name=&quot;code&quot; value=&quot;MyJavaClass&quot;&gt;
    &lt;param name=&quot;codebase&quot; value=&quot;dir class file and archives are in if needed&quot;&gt;
    &lt;param name=&quot;archive&quot; value=&quot;archive file if needed&quot;&gt;
    &lt;param name=&quot;mayscript&quot; value=&quot;true&quot;&gt;
&lt;/object&gt;

All object and embed do is load the plug-in. The plug-in does the rest with the params it gets.

Note that the @type value is technically plug-in-dependent, but application/x-java-applet usually triggers it.

classid can be used to trigger Java for IE. @codebase (the attribute, not the param - they&apos;re different) that IE uses for fetching the Java cab file if needed is not supported as that&apos;s just an IE thing.

And of course, you can use IE conditional comments if absolutely necessary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27285</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-18 09:17:24 +0000</bug_when>
    <thetext>As noted in the above comments, you don&apos;t need those attributes to use &lt;object&gt; with Java.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33347</commentid>
    <comment_count>4</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-03-14 14:50:15 +0000</bug_when>
    <thetext>This bug predates the HTML Working Group Decision Policy.

If you are satisfied with the resolution of this bug, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
  http://dev.w3.org/html5/decision-policy/decision-policy.html

This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>