SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard
    Join Date
    Apr 2004
    Location
    dublin
    Posts
    2,036
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    XHTML Validation Error

    Hi all,

    What does the below validation errors mean??

    Error
    Line 56 column 268:
    non SGML character number 148.
    the right “measurements” as well

    Error Line 60 column 3: document type does not allow element "tr" here. <tr>

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is this first error highlighting the 'n' or the quotation marks? If the quote marks have come from Word, you need to replace them.
    The second error is probably because you're missing a closing tag somewhere.

  3. #3
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by obrienkev
    Error
    Line 56 column 268:
    non SGML character number 148.
    the right “measurements” as well
    It means exactly what is says. You have an invalid character code in your markup (code point 148, which is within the range reserved for C1 control characters). You've probably copied and pasted from some Microsoft application that uses Microsoft's non-standard encoding cp-1252, or a DOS encoding (like cp-850). (In cp-850, 148 is 'ö'; in cp-1252 it's the typographically correct right double quotation mark: ”.)

    If it's the quotation mark, replace the character with &#38;#8221;.

    Quote Originally Posted by obrienkev
    Error Line 60 column 3: document type does not allow element "tr" here. <tr>
    It means exactly what is says. You have a <tr> somewhere where it's not allowed.
    Birnam wood is come to Dunsinane


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
  •