Re: Some draft code for mobileOK Basic Tests RI

>> Write XPath Queries into the meta-xml-doc and transform it to an  
>> XSLT.
>
> Yes but you need the css as XML before you can do that, I think
sure, but this is a job for the 'preprocessor' - not for the  
validating process.

>> OK, only to check if I am right:
>> We have a incoming, meta and result doc.
>> The preprocessor transforms the incoming markup, HTTP headers and
>> parsing information in one big XML.
>> The validation processor (XSLT) uses the meta doc to check the XML
>> and generate a result doc.
>> Is this correct?
>>
> I think these are the Meta doc contents:
> - pre-processor version and name
> - original URI requested
> - http headers used in request
> - details of 3xx redirects and final response
> 	- time start, time end, result
> 	- http headers
> 	- payload of doc (untidy)
> 	- tidied payload of doc
> 	- external resources
> 		- encoding and validity check on images, plus intrinsic sizes
> 		- CSS as XML ???
I have some to add:
- parsing informations
        - errors, warnings (structure, encoding)
- document size of the response document?
- external resources
        - (image) HTTP Response Headers and real content type

  roland

Received on Wednesday, 7 February 2007 13:33:20 UTC