Re: SVG12: discard begin

On Jan 05, 2006, at 11:36, Bjoern Hoehrmann wrote:
> * Craig Northway wrote:
>> The group thinks that the default behaviour provided by the '0'  
>> value is
>> more intuitive to the naive user. If a discard element is present in
>> content without a begin value specified and the default of  
>> 'indefinite'
>> is used, the discard element will never have an effect unless  
>> triggered
>> by scripting. The group would prefer the elements presence to be  
>> obvious
>> due to the immediate removal of the target element.
>
> Why would an author include the target element at all if he wants  
> it to
> be removed immediately? This would also be the behavior if a Tiny user
> agent attempts to process a "Full" document which might have a value
> like begin="10:00" rather than begin="600s", does it make sense to
> discard the element immediately if the author really wanted to discard
> it after 10 minutes?

The primary goal of discard is to reclaim memory for content that is  
no longer needed. Given Full content sent to a Tiny UA (presumably  
running on a constrained device), and given that the choice is "keep  
forever" vs "discard now", the best option indeed would seem to be  
"discard now". It might break the content but then so might the other  
option, and it's more in line with the goals of discard.

Please let us know shortly if this does not address your concerns,

-- 
Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/

Received on Monday, 23 January 2006 01:14:59 UTC