This is a very common XHTML mistake, now growing in visibility much due to the Google Chrome boom.
Google Chrome is based on Webkit, an open source browser engine also used in Apple’s Safari; Webkit is very restrict on XHTML rules;
This particular error is caused due to common HTML entities usage on XHTML outputs, which follows XML entities rules.
Basically means you are using a -like entity, when in XHTML you should use a  -like entity;
The only named entities for XML are &, > and <. For all others you need to use the Unicode character code (eg.  ).
Here’s a HTML to XML entities conversion table:
| Character | HTML entity | XML entity |
| " | " | " |
| & | & | & |
| < | < | < |
| > | > | > |
| |   | |
| ¡ | ¡ | ¡ |
| ¢ | ¢ | ¢ |
| £ | £ | £ |
| ¤ | ¤ | ¤ |
| ¥ | ¥ | ¥ |
| ¦ | ¦ | ¦ |
| § | § | § |
| ¨ | ¨ | ¨ |
| © | © | © |
| ª | ª | ª |
| « | « | « |
| ¬ | ¬ | ¬ |
| | ­ | ­ |
| ® | ® | ® |
| ¯ | ¯ | ¯ |
| ° | ° | ° |
| ± | ± | ± |
| ² | ² | ² |
| ³ | ³ | ³ |
| ´ | ´ | ´ |
| µ | µ | µ |
| ¶ | ¶ | ¶ |
| · | · | · |
| ¸ | ¸ | ¸ |
| ¹ | ¹ | ¹ |
| º | º | º |
| » | » | » |
| ¼ | ¼ | ¼ |
| ½ | ½ | ½ |
| ¾ | ¾ | ¾ |
| ¿ | ¿ | ¿ |
| À | À | À |
| Á | Á | Á |
| Â | Â | Â |
| Ã | Ã | Ã |
| Ä | Ä | Ä |
| Å | Å | Å |
| Æ | Æ | Æ |
| Ç | Ç | Ç |
| È | È | È |
| É | É | É |
| Ê | Ê | Ê |
| Ë | Ë | Ë |
| Ì | Ì | Ì |
| Í | Í | Í |
| Î | Î | Î |
| Ï | Ï | Ï |
| Ð | Ð | Ð |
| Ñ | Ñ | Ñ |
| Ò | Ò | Ò |
| Ó | Ó | Ó |
| Ô | Ô | Ô |
| Õ | Õ | Õ |
| Ö | Ö | Ö |
| × | × | × |
| Ø | Ø | Ø |
| Ù | Ù | Ù |
| Ú | Ú | Ú |
| Û | Û | Û |
| Ü | Ü | Ü |
| Ý | Ý | Ý |
| Þ | Þ | Þ |
| ß | ß | ß |
| à | à | à |
| á | á | á |
| â | â | â |
| ã | ã | ã |
| ä | ä | ä |
| å | å | å |
| æ | æ | æ |
| ç | ç | ç |
| è | è | è |
| é | é | é |
| ê | ê | ê |
| ë | ë | ë |
| ì | ì | ì |
| í | í | í |
| î | î | î |
| ï | ï | ï |
| ð | ð | ð |
| ñ | ñ | ñ |
| ò | ò | ò |
| ó | ó | ó |
| ô | ô | ô |
| õ | õ | õ |
| ö | ö | ö |
| ÷ | ÷ | ÷ |
| ø | ø | ø |
| ù | ù | ù |
| ú | ú | ú |
| û | û | û |
| ü | ü | ü |
| ý | ý | ý |
| þ | þ | þ |
| ÿ | ÿ | ÿ |
| € | € | € |

![[del.icio.us]](http://techtrouts.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://techtrouts.com/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://techtrouts.com/wp-content/plugins/bookmarkify/facebook.png)
![[Twitter]](http://techtrouts.com/wp-content/plugins/bookmarkify/twitter.png)
November 19th, 2008 at 11:39 am
thanks for the tips.. really useful.
September 1st, 2009 at 2:39 pm
“The only named entities for XML are &, > and <.”
That’s wrong. There are five XML predefined entities:
<, ", &, ' and >
September 1st, 2009 at 2:40 pm
“The only named entities for XML are &&, &> and &<.”
That’s wrong. There are five XML predefined entities:
&<, &", &&, &' and &>
October 29th, 2009 at 6:42 pm
Maybe you’re reading a different spec than I am, but the entity is clearly defined for XHTML – look at the spec.
And if the doctype is in fact XHTML strict, they work fine in webkit.
And if the doctype is HTML transitional, which you claim should work, then it fails in Webkit.
Sorry, this is a webkit bug, pure and simple.
February 13th, 2010 at 12:39 pm
Jim D, in XHTML 5 there are no entities but the default XML ones. Of course, if Webkit has the same behavior in XHTML 1.0 and 1.1 then it’s a bug, but in XHTML 5 it’s not.
May 31st, 2010 at 12:47 pm
Hello, i’m having trouble with webkit browsers (safari and chrome) displaying my web App.
It shows this message “Entity ‘agrave’ not defined”.
Do u have any idea how can i fix this? since it’s xhtml related