[whatwg] [wf2] seeding SELECT with ambiguous XML

Ian Hickson ian at hixie.ch
Wed Jul 20 13:50:08 PDT 2005


On Wed, 20 Jul 2005, Anne van Kesteren wrote:
>
> Say I load this file through a DATA attribute of a SELECT element:
> 
> <xh:select xmlns:xh="http://www.w3.org/1999/xhtml">
>  <xh:option>FAIL</xh:option>
>  <foo xmlns="tag:example.org,2005:/test">
>   <xh:option selected="selected">PASS</xh:option>
>  </foo>
> </xh:select>
> 
> Should it say PASS? Is it undefined? Is there a specification which 
> defines this?

It should do exactly the same as if that markup was included directly 
inside an XHTML file; the data="" attribute is not relevant here.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list