David,

you're right, ideally the xhtml container div would be nothing but the
div, but if it's not, we still need to be prepared to handle it.  Silent
data loss sucks, if it's silly data :-)

- James

David Powell wrote:
> Wednesday, June 28, 2006, 1:22:00 PM, James Snell wrote:
> 
>> Hiding the div completely from users of Abdera would mean
>> potentially losing important data (e.g. the div may contain an xml:lang
>> or xml:base)
> 
> I don't think that the div should contain an xml:base, because it
> isn't valid to use xml:base in XHTML 1.x. As the xhtml:div is added by
> the producer, it should be removed by the consumer, so there shouldn't
> be an xml:lang in there either. I wouldn't expect consumers to handle
> either consistently, so if you are a producer don't do it. I think in
> my implementation I handle lang and base on the div, and store them
> out-of-band, but it is more by accident than anything.
> [snip]

Reply via email to