W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > January 2009

Main Document Test / META_HTTP_EQUIV-2

From: Roland Gülle <roland@7val.com>
Date: Mon, 12 Jan 2009 09:23:56 +0100
Message-Id: <CD7B61F1-A964-4383-85F7-07B7A8089704@7val.com>
To: public-mobileok-checker <public-mobileok-checker@w3.org>

Hi checker friends,

I have one question about the Main Document Test / META_HTTP_EQUIV-2.
This check generates a warning when checking our mobile engine (as  
example, http://wikipedia.7val.com),
but I guess it's a bug in the test.

The XPath:
	/moki/primaryDoc/retrieval/HTTPResponse[last()]/header[@name= 
$meta_equiv]/@value
doesn't match with the moki structure:
...
             <header name="content-type">
                <element name="application/xhtml+xml">
                   <parameter name="charset" value="utf-8"/>
                </element>
             </header>
...

We have to add one more test:
	if the attribute header[@name="$meta_equiv"]/@value is available, we  
take this.
	If not, we have to use the @name attribute.
		If there are parameter nodes, we add them:
		 ;@name=@value

Locally I've added this test and it works fine.
If I should commit this changes, please let me know.

Cheers,
  Roland
Received on Monday, 12 January 2009 08:24:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 12 January 2009 08:24:38 GMT