W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] [wf2] seeding SELECT with ambiguous XML

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 20 Jul 2005 20:50:08 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0507202048290.15581@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 20 July 2005 13:50:08 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC