W3C home > Mailing lists > Public > www-validator@w3.org > May 2006

Feed Validator : Parsing error in Atom [entity preceding closing tag]

From: Neil Smith <Neil_Smith@hargreaveslansdown.co.uk>
Date: Thu, 25 May 2006 11:15:27 +0100
Message-ID: <F8003EC770ECF341A39411089ED06E342AB314@hlemail01.hargreaveslansdown.co.uk>
To: <www-validator@w3.org>

When submitting a document in Atom format to the feed validator service 
http://validator.w3.org/feed/check.cgi

Inclusion of an &amp; entity followed by a single character in the range a-zA-Z only, before the closing <title /> element tag causes the feed validator to report " EOF in middle of entity" :

Use of more than one alpha character after the &amp; entity does not cause this error in the validator.
It should of course be reasonable to end a title element in for example E&amp;O, or in our case the abbreviation for a company, i.e A&amp;L

I haven't tested any elements other than <title /> and <content /> : content seems to work OK though.


Basic repro case follows ; Error message : 
line 1, column 452: Invalid HTML: EOF in middle of entity or char ref



<feed xmlns="http://www.w3.org/2005/Atom"><title>Hargreaves Lansdown News and Research</title><link rel="self" href="http://dev.hlsipp/listings_and_research/news_views.hl"></link><updated>2006-05-25T11:06:39+01:00</updated><id>urn:uuid:2c2416d4-a466-93a4-3db8-9bc2c9300c76</id><entry><author><name>Digital Look</name></author><contributor><name>Hargreaves Lansdown</name></contributor><title type="html">Viridian results higher on Irish businessE&amp;O</title><link rel="alternate" type="text/html" href="http://dev.hlsipp/listings_and_research/rss/articles/704151.hl?rq=article"></link><id>urn:uuid:4e7d0a30-72fb-f689-f50c-016bca3b327b</id><summary type="text">Ulster-based power group Viridian posted a rise in full-year revenue and profits as its energy businesses in Ireland performed strongly</summary><content type="text">Ulster-based power group Viridian posted a rise in full-year revenue and profits as its energy businesses in Ireland performed strongly

Revenue increased to 976m compared with 835m in 2005 due to increased revenue from NIE Supply and Viridian Power &amp; Energy.

&quot;Our regulated businesses in Northern Ireland have each delivered strong performances while meeting the demands of their price controls, said chairman Dipesh Shah.

Pre-tax profit soared to 129m from 76m last year, while the pro-forma operating profit from continuing operations increased to 132m from 119m.

&quot;We place the delivery of strong operating performance at the heart of our approach to the business, as demonstrated again by this year's results,&quot; added the group.</content><updated>2006-05-23T08:52:00+01:00</updated><published>2006-05-25T11:06:39+01:00</published><category term="News and Announcements" label="Company News : News and Announcements"></category></entry></feed>


==============================================================================
For more information on Hargreaves Lansdown, visit our web site http://www.hargreaveslansdown.co.uk
IMPORTANT NOTICE
This email is intended solely for the recipient and is confidential and not for third party unauthorised distribution. If an addressing, or transmission, error has misdirected this email, please notify the author by replying to this email or notifying the system manager (internal.security@hargreaveslansdown.co.uk) if you are not the intended recipient you must not disclose, distribute, copy, print or rely on this email. 
Any opinions expressed in this document are those of the author and do not necessarily reflect the opinions of Hargreaves Lansdown. In addition, staff are not authorised to enter into any contract through email and therefore nothing contained herein should be construed as such. This email has been prepared using information believed by the author to be reliable and accurate but Hargreaves Lansdown makes no warranty as to the accuracy or completeness. In particular, Hargreaves Lansdown does not accept responsibility for any changes made to this email after it was sent. 
Hargreaves Lansdown Asset Management, Hargreaves Lansdown Fund Managers, Hargreaves Lansdown Pensions Direct and Hargreaves Lansdown Stockbrokers are authorised and regulated by the Financial Services Authority and registered in England and the registered office is Kendal House, 4 Brighton Mews, Clifton, Bristol, BS8 2NX. Telephone: 0117 9889880


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
Received on Thursday, 25 May 2006 10:37:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:22 GMT