Results 1 to 5 of 5

Thread: W3C Markup Validation for XHTML Mobile Profile 1.0

  1. #1
    Join Date
    Feb 2007
    Posts
    145
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Question W3C Markup Validation for XHTML Mobile Profile 1.0

    I am receiving errors on the W3C Validator regarding the XHTML doctype that i have put on my mobile website. Here are the validation results:

    http://validator.w3.org/check?uri=ht...nline&gro up=0

    I have inserted the XHTML 1.0 Doctype like this in the top of the websites code:
    Code:
    <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
    "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">


    I believe it is the Doctype that is causing me the problem because the w3c validator is saying the doctype cannot be found:
    Code:
    "Line 88, Column 1: could not get "/xhtml-mobile10-model-1.mod" from "www.openmobilealliance.org" (reason given was "Not Found")"
    I have also checked the validation on the BBC Mobile website because it using the same doctype as what my mobile website is. And it produces the same error; the W3C Validator is saying that the doctype cannot be found.

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.bbc.co.uk%2Fmobile%2Findex.html&charset=%28detect+automatically%29&doctype=Inline&group=0


    the same error is displayed:
    Code:
    Line 88, Column 1: could not get "/DTD/xhtml-mobile10-model-1.mod" from "www.openmobilealliance.org" (reason given was "Not Found")
    Is there anyway i can fix this? I have already emailed the Open Mobile Alliance about this :/

    Many thanks, Ryan.
    Last edited by Ryan Fitton; 07-03-2010 at 09:30 PM.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    That's not a real "problem" except that it makes it hard to code. It doesn't matter if it doesn't validate (with that validator), just that you have valid code.
    My only advice would be to validate it using a similar doctype and make sure all the code is fine. Then just switch doctypes.
    Hopefully in time it will be fixed. It's not your fault their doctype isn't available.
    On the other hand, if it is never available then it won't be helping your page much either so you may want to use another.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Feb 2007
    Posts
    145
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default

    Hi, thanks for replying

    I have tried validating it by taking the doctype out and it does pass just says there ain't a doctype available lol.. like i say; i ave already emailed them twice about it. And if they wont sort it out soon then i will change to another doctype. But because it is a mobile website i'm unsure about choosing another doctype, i dont know of any other doctypes that would be suitable for a mobile website.

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Temporarily just pick the standard one for the same language for regular computers. XHTML 1.0 Strict, for example. If that works, then it's probably close to the mobile standards. At least that'll help you design a bit. And hopefully it'll be fixed soon.

    Good luck.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Feb 2007
    Posts
    145
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default

    ohh


    Okay I will try that, thanks very much for your help with this, it's been frustrating me.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •