XHTML 1.1 Compliance

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • NotALamer

    XHTML 1.1 Compliance

    I'm having trouble getting the w3c validator to validate some code as XHTML
    1.1 compliant so I though I'd seek help. The validator doesn't give me any
    error messages for this code, it just tells me it isn't compliant. I realize
    it's not that nice to look at, but it's generated by a php script and trying
    to make the html look nicer would make the script look worse.

    <?xml version="1.0" encoding="iso-8859-1">
    <!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head><title>SY MLOG
    </title></head>
    <body>

    <form action="/index.php" method="post">
    <table border="1"><tr> <th></th>
    <th align="center"> jim</th><th align="center"> joe</th><th align="center">
    bob</th></tr>
    <tr><td>1. Active, dominant, talks a lot</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>2. Extroverted, outgoing, positive</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>3. A purposeful, democratic task leader</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>4. An assertive bussiness-like leader</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>5. Authoritarian, controlling, disapproving</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>6. Domineering, tough-minded, powerful</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>7. Provocative, egocentric, shows off</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>8. Jokes around, expressive, dramatic</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>9. Entertaining, sociable, smiling, warm</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>10. Friendly, equalitarian</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>11. Works cooperatively with others</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>12. Analyitical, task-oriented, problem-solving</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>13. Legalistic, has to be right</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>14. Unfriendly, negativistic</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>15. Irritable, cynical, won't cooperate</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>16. Show feelings and emotions</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>17. Affectionate, likable, fun to be with</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>18. Looks up to others, appreciative, trustful</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>19. Gentle, willing to accept responsibility</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>20. Obedient, works submissively</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>21. Self-punishing, works too hard</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>22. Depressed, sad, resentful, rejecting</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>23. Alienated, quiet, withdraws</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>24. Afraid to try, doubts own ability</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>25. Quietly happy just to be with others</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    <tr><td>26. Passive, introverted, says little</td>
    <td align="center"> <input type="text" size="1" maxlength="1"
    name="scores[jim][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    joe][]" /></td>
    <td align="center"> <input type="text" size="1" maxlength="1" name="scores[
    bob][]" /></td>
    </tr>
    </table>
    <div>
    <input type="hidden" name="data_ente red" />
    <input type="hidden" name="names" value="jim, joe, bob" />
    <input type="submit" />
    </div></form>
    <p> <a href="http://validator.w3.or g/check/referer"><img
    src="http://www.w3.org/Icons/valid-xhtml11" alt="Valid XHTML 1.1!"
    height="31" width="88" /></a> </p>
    </body>
    </html>


  • NotALamer

    #2
    Re: XHTML 1.1 Compliance

    Wow that's extra bad, not sure what happened there, it didn't look quite
    that awful before.


    Comment

    • Jim Dabell

      #3
      Re: XHTML 1.1 Compliance

      NotALamer wrote:
      [color=blue]
      > I'm having trouble getting the w3c validator to validate some code as
      > XHTML 1.1 compliant so I though I'd seek help.[/color]

      Okay, but bear in mind it's against spec. to serve XHTML 1.1 as text/html
      (thus excluding Internet Explorer from viewing your pages). You'll
      probably want to go to XHTML 1.0, following Appendix C for pages meant for
      the WWW.

      [color=blue]
      > The validator doesn't give me any error messages for this code, it just
      > tells me it isn't compliant.[/color]
      [snip]

      It looks like a bug in the validator. Send a report to the www-validator
      mailing list:

      <URL:http://validator.w3.or g/feedback.html>

      PS: It's preferrable to send a URL to a testcase, not paste code in. People
      can't point the validator to pasted in code.

      --
      Jim Dabell

      Comment

      • NotALamer

        #4
        Re: XHTML 1.1 Compliance

        Sorry about that, I would have but I didn't have anywhere to host it. I've
        been writing it on a system that's connected with dialup so it wouldn't be
        there long if I hosted here.

        "Jim Dabell" <jim-usenet@jimdabel l.com> wrote in message
        news:37qdnVMav8 FL_xOiRVn-tw@giganews.com ...[color=blue]
        > NotALamer wrote:
        >[color=green]
        > > I'm having trouble getting the w3c validator to validate some code as
        > > XHTML 1.1 compliant so I though I'd seek help.[/color]
        >
        > Okay, but bear in mind it's against spec. to serve XHTML 1.1 as text/html
        > (thus excluding Internet Explorer from viewing your pages). You'll
        > probably want to go to XHTML 1.0, following Appendix C for pages meant for
        > the WWW.
        >
        >[color=green]
        > > The validator doesn't give me any error messages for this code, it just
        > > tells me it isn't compliant.[/color]
        > [snip]
        >
        > It looks like a bug in the validator. Send a report to the www-validator
        > mailing list:
        >
        > <URL:http://validator.w3.or g/feedback.html>
        >
        > PS: It's preferrable to send a URL to a testcase, not paste code in.[/color]
        People[color=blue]
        > can't point the validator to pasted in code.
        >
        > --
        > Jim Dabell
        >[/color]


        Comment

        • Nick Kew

          #5
          Re: XHTML 1.1 Compliance

          In article <3f8e5991@bucka roo.cs.rit.edu> , one of infinite monkeys
          at the keyboard of "NotALamer" <bas6542@cs.rit .edu> wrote:
          [color=blue]
          > I'm having trouble getting the w3c validator to validate some code as XHTML
          > 1.1 compliant[/color]

          Why XHTML 1.1? Get rid of the presentational junk (align and border -
          not too serious but far too many of them) and make proper use of
          <th> and the scope attribute, and you have a good XHTML 1.0 table.
          By using 1.1 you're excluding a majority of web users.
          [color=blue]
          > error messages for this code, it just tells me it isn't compliant.[/color]

          Can you put that at a URL where we can see the problem?
          Don't Page Valet or the WDG Validator give you a full report?
          [color=blue]
          > (chop - far, far too much code to post here; don't do it again)[/color]

          --
          Nick Kew

          In urgent need of paying work - see http://www.webthing.com/~nick/cv.html

          Comment

          • Keith Bowes

            #6
            Re: XHTML 1.1 Compliance

            Jim Dabell wrote:[color=blue]
            > Okay, but bear in mind it's against spec. to serve XHTML 1.1 as text/html[/color]

            Not exactly. There's a W3C Note about the subject, but it's not
            explicitly stated in the XHTML 1.1 spec.
            [color=blue]
            > (thus excluding Internet Explorer from viewing your pages).[/color]

            And to think, some people still resort to server-side scripting or URL
            rewriting for that.


            Comment

            • Jim Ley

              #7
              Re: XHTML 1.1 Compliance

              On Thu, 16 Oct 2003 21:13:09 +0000, Keith Bowes <do.not@spam.me >
              wrote:
              [color=blue]
              >Jim Dabell wrote:[color=green]
              >> Okay, but bear in mind it's against spec. to serve XHTML 1.1 as text/html[/color]
              >
              >Not exactly. There's a W3C Note about the subject, but it's not
              >explicitly stated in the XHTML 1.1 spec.[/color]

              There's nowhere in the XHTML 1.1 which says that text/html is
              allowable for XHTML 1.1 either, or that text/plain is. Also XHTML 1.0
              states that only Appendix C. compatible XHTML may be served as
              text/html and for many documents (all that have followed wcag
              guidelines) it is impossible to be both Appendix C and XHTML 1.1

              Jim.
              --
              comp.lang.javas cript FAQ - http://jibbering.com/faq/

              Comment

              Working...