dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Posted by mattan 2 years 38 weeks ago

pic
 mattan
mobiForge Enthusiast
Posts: 17
Joined: 4 years ago
[offline]

The .mobi validator doesn't report the absence of xml namespace as an error.

The following will cause, some phones at least, to not render any element at all, but rather just ouput it as text.

<html>

While the following works like a charm:

<html xmlns="http://www.w3.org/1999/xhtml">

It think it would be helpful to report this as an error when validating.

// Regards Jonas

Posted by ruadhan 2 years ago

pic
 ruadhan
dotMobi logo
Mobile Champion
Posts: 710
Joined: 5 years ago
[offline]

Hi Jonas, thanks for the feedback. We'll check this out and see what we can do to accommodate.

Cheers!

Ruadhan O'Donoghue
dotMobi

Posted by John 2 years ago

pic
 John
mobiForge Newbie
Posts: 5
Joined: 5 years ago
[offline]

This was (probably still is) a huge problem with Sony Ericsson SEMC browsers. (cica 2005)
If your didn't declare the XML namespace they'd revert to cHTML

cHTML doesn't support tables and etc and so the whole page turns to poo.

Declare the correct XHTML HTTP mime type and XML namespace and it works a charm.

As stated, worth noting.

Vulpine Mobile (beta) http://www.vulpine.mobi/