Unhelpful HTML validation

Discussion in 'HTML' started by OccasionalFlyer, Mar 29, 2012.

  1. I have a web page that might or might not have an error in it close
    to the top. It's based on a page that does not have any problems,
    with a few static text changes. I think that I have added something
    that I cannot see that is causing the page to break in the special
    server it has to run on. I have tried using tools, like the debugging
    tools in Chrome and Firebug and cannot see anything wrong, but I'm
    thinking thtat there must be something wrong. I used the w3c
    validator and that gave me over 3500 errors. It complains about all
    my JavaScript, among other things. Plus, I have a special set of tags
    that are interpreted by the server this has to run on. I need another
    way to find the problem. If I try to display my page simply as a
    file, in say, FF, it comes up fine. The program that needs to read
    the page, however, seems unable to handle the page even though it says
    it imported and saved it. Any suggestion for other tools? I can't
    give you a URL. It would be in the middle of an application and you'd
    have to create a user account to get to it.

    If I look at the page source, I see a few lines of HEAD and body
    start and end tag. That suggests to me that the tool I'm using is
    punting, and not trying to show my page at all. I did see an error I
    made before because of where my cursor was, but I fixed that. I don't
    know how to find what's amiss in this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
    www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="en" />
    <title>APS Online Application | Azusa Pacific University</title>
    <link rel="stylesheet" type="text/css" media="screen,projection"
    href="https://www.apu.edu/external/crm/caps/caps-screen.css" />
    <!--[if IE 6]>
    <link rel="stylesheet" type="text/css" media="screen,projection"
    href="https://www.apu.edu/external/crm/production/caps/caps-ie6-
    screen.css" />
    <![endif]-->
    <!--[if IE 7]>
    <link rel="stylesheet" type="text/css" media="screen,projection"
    href="https://www.apu.edu/external/crm/caps/caps-ie7-screen.css" />
    <![endif]-->
    <link rel="stylesheet" type="text/css" media="print" href="https://
    www.apu.edu/external/crm/caps/caps-print.css" />
    <script type="text/javascript" src="https://www.apu.edu/external/crm/
    shared/jquery-1.2.6.js"></script>
    <script type="text/javascript" src="https://www.apu.edu/external/crm/
    caps/caps-app.js"></script>
    <script type="text/javascript">
    // Server date
    var serverdate = '<pstag:currentDate format="YYYY-MM-DD" />';
    var serveryear = serverdate.substr(0,4);
    </script>
    <!-- Protocol changed to HTTPS because of SSL issues in IE8. The
    version
    with only HTTP is the version supplied by UR. The script block
    is
    added for SSD-245 -->
    <script type="text/javascript" src="https://www.apu.edu/includes/
    omniture/s_code.js"></script>


    </head>
    <body id="page-aboutme" onLoad="executeOmniture()" >
    <div id="page">
    <div id="header">
    <img id="masthead" src="https://www.apu.edu/external/crm/caps/caps-
    header.jpg" alt="Azusa Pacific University" />
    <h1>APS Online Application</h1>
    <div id="welcome">Welcome, <span class="applicant-
    name"><pstag:profile value="Individuals.People.First Name" /></span>!
    | <a href="https://www.apu.edu/external/crm/caps/caps-help.html"
    target="_blank">Help</a></div>
    </div><!-- end #header -->
    <ul id="steps">
    <li class="active">
    <span class="numeral">1</span><span class="separator">: </
    span><span class="break"></span>
    About Me
    </li>
    <li>
    <span class="numeral">2</span><span class="separator">: </
    span><span class="break"></span>
    My Education
    </li>
    <li>
    <span class="numeral">3</span><span class="separator">: </
    span><span class="break"></span>
    My Supporting Documents
    </li>
    <li>
    <span class="numeral">4</span><span class="separator">: </
    span><span class="break"></span>
    Review and Submit
    </li>
    </ul><!-- end #steps -->
    <br style="clear: left;" />
    <div id="message">Warning: You must turn on JavaScript in your web
    browser to continue.</div>
    <script type="text/
    javascript">document.getElementById("message").innerHTML = "Please
    wait...";</script>
    <div id="main">
    There's much more but I am supposing the error, whatever it is, is up
    here at the top. Thanks for any suggestions for validation.

    Ken
     
    OccasionalFlyer, Mar 29, 2012
    #1
    1. Advertising

  2. OccasionalFlyer

    Doug Miller Guest

    OccasionalFlyer <> wrote in news:66e6b0e9-5958-4fca-8312-
    :

    > I have a web page that might or might not have an error in it close
    > to the top. It's based on a page that does not have any problems,
    > with a few static text changes. I think that I have added something
    > that I cannot see that is causing the page to break in the special
    > server it has to run on. I have tried using tools, like the debugging
    > tools in Chrome and Firebug and cannot see anything wrong, but I'm
    > thinking thtat there must be something wrong. I used the w3c
    > validator and that gave me over 3500 errors.


    Fix them and come back if you still have problems.

    >It complains about all
    > my JavaScript, among other things.


    "Complains about" is rather vague. What, specifically, does it say is the problem?
     
    Doug Miller, Apr 2, 2012
    #2
    1. Advertising

  3. Doug Miller wrote:
    > OccasionalFlyer<> wrote in news:66e6b0e9-5958-4fca-8312-
    > :
    >
    >> I have a web page that might or might not have an error in it close
    >> to the top. It's based on a page that does not have any problems,
    >> with a few static text changes. I think that I have added something
    >> that I cannot see that is causing the page to break in the special
    >> server it has to run on. I have tried using tools, like the debugging
    >> tools in Chrome and Firebug and cannot see anything wrong, but I'm
    >> thinking thtat there must be something wrong. I used the w3c
    >> validator and that gave me over 3500 errors.

    >
    > Fix them and come back if you still have problems.
    >
    >> It complains about all
    >> my JavaScript, among other things.

    >
    > "Complains about" is rather vague. What, specifically, does it say is the problem?


    Hard to say with out see it, but to take a WAG is he is using inline
    JavaScript in an XHTML document without properly marked CDATA.

    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
     
    Jonathan N. Little, Apr 3, 2012
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Colin Mackay
    Replies:
    0
    Views:
    2,723
    Colin Mackay
    Jun 25, 2003
  2. Libs
    Replies:
    0
    Views:
    1,556
  3. Colin Basterfield

    Web form validation vs object validation

    Colin Basterfield, Nov 28, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    446
    Tommy
    Nov 29, 2003
  4. Julia B
    Replies:
    2
    Views:
    476
    Julia B
    Jan 23, 2008
  5. John Nagle

    Unhelpful traceback

    John Nagle, Mar 7, 2013, in forum: Python
    Replies:
    8
    Views:
    131
    Dave Angel
    Mar 8, 2013
Loading...

Share This Page