Main Document Test / META_HTTP_EQUIV-2

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 UTC