SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    May 2006
    Posts
    143
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ghost validation error

    Every time I run my markup through validation I get this error:

    Error Line 131 column 6: character data is not allowed here.

    <ul>���<li><a href="http://mysite.com/2006/11/30/chis-debu

    You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).
    I check my code and there's nothing there. What's causing this and how can I fix it? Thank you.

  2. #2
    Word Painter silver trophy Shyflower's Avatar
    Join Date
    Oct 2003
    Location
    Winona, MN USA
    Posts
    10,053
    Mentioned
    142 Post(s)
    Tagged
    2 Thread(s)
    In order to get help with this, you'll need to show your code. Either leave a link to your page, a link to the validation page, or use the Site Point code tags ( [ code ] [ /code ] without the spaces) to show your html.
    Linda Jenkinson
    "Say what you mean. Mean what you say. But don't say it mean." ~Unknown

  3. #3
    \m/\m/ karinne's Avatar
    Join Date
    Dec 2002
    Location
    Aylmer, QC, Canada
    Posts
    409
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    From what you've given here ... I'll assume that you have ??? somewhere in your code between the <ul> and <li> ... which you can't.

    But ... Like Shyflower said, without seeing the code ... it's hard to say.

  4. #4
    Guru Meditation Error gnarly's Avatar
    Join Date
    Dec 2003
    Location
    Cheltenham, United Kingdom
    Posts
    692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by belledumonde View Post
    I check my code and there's nothing there. What's causing this and how can I fix it? Thank you.
    Try removing any white-space from between the <ul> and the <li> - your text editor might have put something spurious in there.
    Olly Hodgson
    thinkdrastic.net

  5. #5
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    It's spyware!

  6. #6
    Word Painter silver trophy Shyflower's Avatar
    Join Date
    Oct 2003
    Location
    Winona, MN USA
    Posts
    10,053
    Mentioned
    142 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by Raffles View Post
    It's spyware!
    What leads you to believe this without even seeing the code? Don't be ridiculous.
    Linda Jenkinson
    "Say what you mean. Mean what you say. But don't say it mean." ~Unknown

  7. #7
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Sorry... just a ridiculous joke.

  8. #8
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Your encoding is probably wrong especially if you have 'REPLACEMENT CHARACTER' (U+FFFD) (�) appearing. It also looks like you probably have unclosed elements or text appearing outside them.

  9. #9
    SitePoint Zealot
    Join Date
    May 2006
    Posts
    143
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I checked and checked then found out it's the plugin I'm using. I downloaded the new version where the problem of the weird characters is fixed. Thanks anyway!


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
  •