w3c validator local installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • farazshuja
    New Member
    • Feb 2010
    • 6

    w3c validator local installation

    i have installed w3c validator on my local winxp based system using apache server.
    i am facing a strange problem. When i validate a website with the live version of w3c validator i am different validation errors as compared to validating the same site on local validator.

    i have attached both screenshots.

    Please help me out.

    thanks
    Attached Files
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    What are the extra errors you are getting on the local server?

    Comment

    • farazshuja
      New Member
      • Feb 2010
      • 6

      #3
      You can see some of errors here


      All errors are of same type.

      thanks

      Comment

      • Atli
        Recognized Expert Expert
        • Nov 2006
        • 5062

        #4
        OK. The top most warning may explain this:
        Character encoding mismatch!
        The character encoding specified in the HTTP header (utf-8) is different from the value in the <meta> element (iso-8859-1). I will use the value from the HTTP header (utf-8) for this validation.
        It seems your HTML markup and your HTTP server don't agree on the encoding of the page, forcing the validator to choose for you. And seeing as most of the errors I could see are complaining about invalid characters...

        Try manually setting the encoding used by the local validator to the ISO-8859-1 charset.

        Comment

        • farazshuja
          New Member
          • Feb 2010
          • 6

          #5
          how to manually set the local validator to ISO-8859-1??

          Comment

          • farazshuja
            New Member
            • Feb 2010
            • 6

            #6
            selecting ISO-8859-1 in drop down list changes the validation errors count from 230 to 173 but still most of the errors of same type.

            Comment

            • farazshuja
              New Member
              • Feb 2010
              • 6

              #7
              for almost all sites my local validator gives me this validator error
              reference to non-SGML character

              Comment

              • farazshuja
                New Member
                • Feb 2010
                • 6

                #8
                Ok i figured out the problem. My path to sgml-lib was not correct.

                thanks for your time

                Comment

                • Atli
                  Recognized Expert Expert
                  • Nov 2006
                  • 5062

                  #9
                  Glad to hear that :)

                  I actually just finished setting this up on my PC, just to try it out. Was going to suggest you double-check the Perl packages. - Seems you were one step ahead of me :)

                  Comment

                  Working...