W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2005

[XHTML 2] 18.1.2 type confusion

From: Jim Ley <jim@jibbering.com>
Date: Sat, 28 May 2005 22:17:12 +0100
Message-ID: <012201c563ca$9d42c6f0$0a00000a@Snufkin>
To: <www-html-editor@w3.org>
Cc: <xhtml2-issues@hades.mn.aptest.com>

Dear HTML Working Group,

Where multiple content types are given as the type attribute, which is used 
by the user agent?

Consider the example below:

<handler type="application/x-javascript; version=1.2, 
application/x-javascript;version=1.5">
  x=new Array(8);
  alert(x.length)
</handler>

What is the result alerted, if the user agent supports both JavaScript 1.2 
and 1.5 ?  (the behaviour of Array(8) differs between those two versions)

Please change handler to only define one type to remove this ambiguity, or 
clear up the ambiguity for all content types.

Regards,

Jim Ley 
Received on Saturday, 28 May 2005 21:17:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:54 GMT