W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > May 2011

Re: Detection of HTML namespace fails when xmlns attribute is on separate line

From: Francois Daoust <fd@w3.org>
Date: Tue, 17 May 2011 12:59:58 +0200
Message-ID: <4DD2552E.8060306@w3.org>
To: lucp@skopos.be
CC: public-mobileok-checker@w3.org
Hello Luc,

On 05/16/2011 11:02 AM, Luc Pardon wrote:
> Hello all,
>
> When the xmlns attribute is not on the same source line as the html
> element declaration, the mobileOK checker erroneously claims that "the
> root html element does not declare its namespace".
>
> This is what triggered it for me:
>
> <html lang="nl" xml:lang="nl"
>     xmlns="http://www.w3.org/1999/xhtml">
>
> Just in case: there's a newline in front of "xmlns".

Dammit, I fixed a very similar bug a year ago for the DOCTYPE declaration and thought I had checked other possibilities as well. Apparently not :/

I checked and confirm the bug.


[...]
> Does that mean bug 5359 [1] has to be reopened or is this a feature of mobile browsing ;-) ?

That's a bug in the mobileOK Checker ;)

Bug 5359 was really about adding support for checking the HTML namespace, so I created a follow-up bug:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12666

Many thanks for reporting the issue!
Francois.
Received on Tuesday, 17 May 2011 11:00:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 17 May 2011 11:00:26 GMT