This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 240960 - Error in processing <object> tag
Summary: Error in processing <object> tag
Status: RESOLVED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: applet (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-25 23:09 UTC by brucekhaddon
Modified: 2015-06-09 09:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brucekhaddon 2014-01-25 23:09:10 UTC
In the HTML editor, in an <object> element, if the "code" attribute is used, the editor gives a warning:

 The "code" attribute on the "object" element is obsolete. Use the "data" and "type" attributes to invoke plug-ins.

This advice is correct, according to w3c documents.

However, if the "code" attribute is changed to the "data" attribute, when the applet is invoked using the NetBeans appletviewer (right-click "Run"), the only output is: 

 Warning: <object> tag requires code attribute.

If the "data" attribute is changed back to "code" then the applet runs.
Comment 1 Vladimir Riha 2014-01-27 08:22:56 UTC
So the issue is not about HTML validation, but about Applet Viewer. Maybe you are using it wrong? Reassigning to applet component.