PAGE_SIZE_LIMIT [was mobileOK Basic 1zl - proposed LC-4 draft]

Hi,

As agreeded by the group PAGE_SIZE_LIMIT test should take into account
object tasting request to the total size. To achieve this we should
process from top objects element until we reach a supported object
(image/jpeg or image/gif). So the initial input will be all top-level
objects (objects that has no object element ancestor) and recursively
apply a processing object rule until reached a supported object or the
last nested object.

--- begin ---
For each included NON-object resource, as defined in 2.4.6 Included
Resources:

Request the referenced resource

Add the size of the response body to the running total

For each object element that has no object element ancestor
	Apply Processing Object Rule
--- end ---

(I've splitted the loop in two (object and non-object) for clarity
sake.)


--- begin ---
Processing Object Rule
	If no type attribute is set retrieve the resource:
		Add the size of the response
		If the resource retrieved is nor "image/jpeg" neither
"image/gif" apply this rule to its object children
	
	If type attribute is either "image/jpeg" or "image/gif" retrieve
it and add the size of the response
	
	If type attribute is nor "image/jpeg" neither "image/gif" apply
this rule to its object children
--- end ---

Miguel

Received on Wednesday, 7 May 2008 15:41:13 UTC