Title: semantic code errors
Last modified: August 18, 2016

---

# semantic code errors

 *  Resolved [craigh](https://wordpress.org/support/users/craigh/)
 * (@craigh)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/semantic-code-errors/)
 * Hi All,
 * Think I’m getting out of my depth with this and would appreciate some help.
 * trying to improve some google ranking it was suggested I used a semantic extration
   tool to see how the page was viewed by a bot. I used the free checker at [http://www.w3.org/2003/12/semantic-extractor.html](http://www.w3.org/2003/12/semantic-extractor.html)
   
   Anyone used this before?
 * It came back with the message below. It appears to me that it can not read the
   page becuase of incomplete code, however the pages display ok and I didn’t write
   them in code only in the visual posting.
 * Is it likley that in visual posting I’m getting incomplete code that could cause
   a bot to not be able to crawl a page correctly?
 * Your thoughts would be appreciated.
 * sematanic extractor came back with:
 * Using org.apache.xerces.parsers.SAXParser
    Exception net.sf.saxon.trans.DynamicError:
   org.xml.sax.SAXParseException: The element type “span” must be terminated by 
   the matching end-tag “</span>”. org.xml.sax.SAXParseException: The element type“
   span” must be terminated by the matching end-tag “</span>”.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/semantic-code-errors/#post-606365)
 * what is the url of the site you are running this “checker thing” on?
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/semantic-code-errors/#post-606366)
 * And closing a span is not unreasonable.
 *  Thread Starter [craigh](https://wordpress.org/support/users/craigh/)
 * (@craigh)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/semantic-code-errors/#post-606382)
 * Thnaks for looking at this.
 * my page is [http://www.loanchecker.com.au](http://www.loanchecker.com.au)
 * Also used the markup validation tool at [http://validator.w3.org/](http://validator.w3.org/)
   and it came back with 16 errors on the page.
 * I’ll fix those and see if I get a better result
 * Would it be normal to have so many errors when writing a page in visual?
    If 
   so wil have to make it a habit of checking code on every post I write
 *  Thread Starter [craigh](https://wordpress.org/support/users/craigh/)
 * (@craigh)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/semantic-code-errors/#post-606427)
 * Arrgh frustrating! I must be missing something here.
 * I run a check using [http://validator.w3.org/](http://validator.w3.org/) and 
   it comes back with heaps of errors. most appear to be related to closing font
   code, closing papargraph codes etc. If I clean these up the problem is whenever
   I edit or post anything I get heaps more errors again. It appears from looking
   at this that the code generated by wordpress when posting in visual is faulty
   or incomplete. The pages display OK so is it faulty code or is the code Validator
   having problems recognising it.
 * I’m new to this and don’t really understand code that well. Has anybody had the
   same experience?
 *  Thread Starter [craigh](https://wordpress.org/support/users/craigh/)
 * (@craigh)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/semantic-code-errors/#post-606431)
 * Ok done a lot more reading and playing around but haven’t really progressed. 
   With validator I can see the supposed xhtml issues on their page however I don’t
   see some of these peices of code when in wordpress to edit the post for example
   the validator tells me that </p> is missing however the > however I can’t see
   this code in the edit screen. Is there a setting somewhere that allows me to 
   see all code in a post?
 *  [DianeV](https://wordpress.org/support/users/dianev/)
 * (@dianev)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/semantic-code-errors/#post-606434)
 * I don’t know. However, when you have a pile of errors like that, and fixing them
   just calls up more errors, it’s likely that you have a coding problem somewhere
   that’s throwing the checker off. Only … you have to find it.
 * First of all, I would use the CSS file to specify fonts because the `<font>` 
   tag is deprecated (means you really shouldn’t use it nowadays). This would also
   mean that your font tag problems would go away.
 * Then, when you set an image, you need to “close” the img tag:
 * `<img src="someimage" />`
 * See that /> ?? That’s what it’s looking for.
 * Clean up some of that stuff, and your problems will likely lessen.
 *  Thread Starter [craigh](https://wordpress.org/support/users/craigh/)
 * (@craigh)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/semantic-code-errors/#post-606436)
 * Hi Dianne, thanks heaps for your help, I’ve progressed a bit with this one and
   put in a new topic:
 * wordpress XHTML not compliant??
 * Looks life I have some sort of databse error throwing this up. if you get a chance
   please feel free to look at this other thread.
    Cheers, Craig
 *  [DianeV](https://wordpress.org/support/users/dianev/)
 * (@dianev)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/semantic-code-errors/#post-606464)
 * Which other thread. Could you post a link to it?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘semantic code errors’ is closed to new replies.

## Tags

 * [code errors](https://wordpress.org/support/topic-tag/code-errors/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 4 participants
 * Last reply from: [DianeV](https://wordpress.org/support/users/dianev/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/semantic-code-errors/#post-606464)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
