dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Posted by praveendas 2 years 41 weeks ago

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

Hi all,

I'm new to mobiForge. Tried out the ready mobi test and found a few errors, can somebody help me solve this..??

This in my .mobi url :
http://mob-ex.mobi:8080/dc-mx/shipDetails?key=cisne

Error's encountered:

1.XHTML MOBILE PROFILE

PASS
Doctype correctly specified as:
-//WAPFORUM//DTD XHTML Mobile 1.0//EN

FAIL
Does not validate against -//WAPFORUM//DTD XHTML Mobile 1.0//EN

2.SECOND LEVEL DOMAIN:

FAIL
There is no site at the second level domain: mob-ex.mobi

3.VALID MARKUP:

FAIL near line 11 column 51
The reference to entity "ratio" must end with the ';' delimiter.

Posted by ruadhan 2 years ago

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

Hi, Just looking into your problems now...

Quote:
3.VALID MARKUP:

FAIL near line 11 column 51
The reference to entity "ratio" must end with the ';' delimiter.

This is coming from image URLs in your page which are not using HTML entities for '&' characters... What does that mean exactly?
It means where you have an '&' character in a URL in your page, you should replace it with '&' e.g. where you have:

<img src="/mwt/converter?name=logo.jpg&ratio=0.20&format=png" alt="logo">

you should replace it with:

<img src="/mwt/converter?name=logo.jpg&amp;ratio=0.20&amp;format=png" alt="logo">

See this page for more info!

Quote:

2.SECOND LEVEL DOMAIN:

FAIL
There is no site at the second level domain: mob-ex.mobi

Strictly I think you should pass this one - this test looks to see if your site can be accessed at http://mob-ex.mobi/ I think the port number (:8080) after the URL is causing the trouble here

Quote:
1.XHTML MOBILE PROFILE

PASS
Doctype correctly specified as:
-//WAPFORUM//DTD XHTML Mobile 1.0//EN

FAIL
Does not validate against -//WAPFORUM//DTD XHTML Mobile 1.0//EN

This depends on 3 - i.e. once you fix the validation errors this problem should go away :-)

Ruadhan O'Donoghue
dotMobi

Posted by praveendas 2 years ago

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

Hi Ruadhan,
Firstly thanks for the reply :)

The tips you provided was very useful. I managed to eliminate a few errors. However one still remains.

** Error message: At least one image did not specify width or height

FAIL near line 10 column 64
Height attribute empty or missing
&ratio=0.20&format=png" alt="logo">

FAIL near line 10 column 64
Width attribute empty or missing
&ratio=0.20&format=png" alt="logo">

I am using an image converter with the help of WURFL capabilities to dynamically re size the images. So should there be a need to specify the width or height..???

Best Regards,
PD

Posted by ruadhan 2 years ago

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

This will always be a problem with automatic image resizing unless you can somehow also know the width and height.

However, I see that you are scoring a 5 already- so I wouldn't worry too much about this one error.

Note also that a good (and free!) image resizing service is available at http://tinysrc.mobi

Ruadhan O'Donoghue
dotMobi

Posted by praveendas 2 years ago

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

thanks ruadhan.

When I use the concept of forms for the next pages I get this error message

URL : http://mob-ex.mobi:8080/dc-mx/shipDetails

Error message : Your page markup does not validate

FAIL near line 54 column 9
The content of element type "form" must match "(h1|h2|h3|h4|h5|h6|ul|ol|dl|p|div|pre|blockquote|address|hr|table|fieldset)+".

I feel the error says i need to use one of the following tags after the <form> tag.
But it shouldn't be giving this error as I'm using a <div> tag after the <form> tag.

What's your opinion..? :)

Best Regards,
PD

Posted by ruadhan 2 years ago

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

You are right there - you have got a <div> tag inside your <form> tag, but further down in your markup you use <br /> tags which are not in the list of tags allowed directly within a <form> tag

Ruadhan O'Donoghue
dotMobi

Posted by praveendas 2 years ago

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

Oh..! Thanks ruadhan, for the tip :)

Best Regards,
PD