W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

<embed>, <applet> ==> <object>

From: Rzepa, Henry <h.rzepa@ic.ac.uk>
Date: Sat, 8 Jul 2000 10:39:30 +0100
Message-Id: <p04320403b58ca4e1eb8a@[]>
To: html-tidy@w3.org
Cc: g.gkoutos@ic.ac.uk
Since both <embed> and <applet> are deprecated in favour of
<object>, it seems a worthwhile task for  Tidy to undertake.
Unless  I have missed the option, it does not currently?

In any event, we are using  JTidy in batch mode, and have written
our own classes to do the above conversion. I guess the problem is
that there are many options, which may be subject specific.

Thus in our case, chemists often transclude molecules using either

<embed> (resolving to a plugin which the user may or may not have)


<applet>  (resolving to java which the user may or may not have enabled)

Neither is failsafe, ie both risk no display at all.

Our code could automatically translate either of the above options
<object>  This to be either Java or plugin  (or vice versa)
	<object> This to be either plugin or Java (or vice versa)
		<object>  This to include an image if the above fail

One can see the complexity. Is this perhaps why  Tidy does not
currently handle this conversion?

Are there other issues relating to this we might have missed? 
What for example should one do about  <img>?  Should it be
converted to  <object> or left well alone? 


Henry Rzepa. Imperial College, Chemistry Dept.
+44 020  7594 5774 (Office) +44 020 7594 5804 (Fax)
Received on Saturday, 8 July 2000 05:41:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:48 UTC