- From: Francois Daoust <fd@w3.org>
- Date: Thu, 05 Jun 2008 16:04:39 +0200
- To: public-mobileok-checker@w3.org
Hi guys, There are a bunch of error messages (mostly HTTP_RESPONSE-xx and LINK_TARGET_FORMAT-xx ones) that read like: "The request to the resource PLACEHOLDER_1..." or "...(in reponse to the resource PLACEHOLDER_1)..." or "The linked resource PLACEHOLDER_2..." But on may also use the <position> element to reference a resource, and indeed, the <position> element is used each time we have a more detailed error Wouldn't it make more sense to use a <position> element each time the resource that triggers the message is not the main page? For instance, if you take a look at the mobileOK report for: http://mobile.lemonde.fr ... you'll see that the report returns the following result: <result name="HTTP_RESPONSE-5" outcome="WARN"> <info>WARN: The HTTP status (in response to the resource http://logc2.xiti.com/hit.xiti?s=43260&s2=27&p=mobile_une&)indicates redirection (status code 3xx) and the URI identified by the HTTP Location header is a relative URI </info> </result> Having: <result name="HTTP_RESPONSE-5" outcome="WARN"> <info>WARN: The HTTP status indicates redirection (status code 3xx) and the URI identified by the HTTP Location header is a relative URI </info> <position tidied="false" type="GENERAL" url="http://logc2.xiti.com/hit.xiti?s=43260&s2=27&p=mobile_une&" /> </result> would make the resource available in a fairly easy and consistent way for machine consumption, instead of having to parse the info string in search of the URI. Does that make sense? Francois.
Received on Thursday, 5 June 2008 14:05:13 UTC