[XHTML 2] 18.1.2 type confusion

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 UTC