The XML below shows incorrectly encoded "&" characters in activity
keywords received from the Output API.
This causes our parser to fail.
Oddly, there are examples of both correctly and incorrectly encoded
ampersands in the same set of keywords:
<keyword>employment & training advice</keyword> << GOOD
<keyword>photocopying (colour and b&w)</keyword> << BAD
Cheers,
John
-------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plings SYSTEM "
http://feeds.plings.net/xml.activity.dtd">
<plings>
<generated>
<year>2009</year>
<month>06</month>
<monthName>June</monthName>
<dayofmonth>17</dayofmonth>
<hour>12</hour>
<min>17</min>
<sec>15</sec>
<requested></requested>
</generated>
<activity id="96241">
<Name>Libraries - North City</Name> <Starts>2009-06-17 09:00:00</
Starts> <Ends>2009-06-17 20:00:00</Ends>
<Details><p><strong>Opening Hours</strong> </
p><ul>Monday: 9.00am - 8.00pm Tuesday: 9.00am - 8.00pm
Wednesday: 9.00am - 8.00pm Thursday: 9.00am - 8.00pm Friday 9.00am -
5.00pm Saturday 9.00am - 5.00pm Sunday: 12.00noon - 4.00pm</
ul><p><strong>Regular Events </strong></
p><ul>Benefits surgery (Help and advice about Housing Benefit
and Council Tax Benefit) on Tuesday 10am - 4.30pm (Please phone the
Revenues and Benefits Unit on 0161 234 3695 for an appointment) Coffee
Break on first Wednesday of the month 2 - 3pm Councillors&#39;
Surgery every Monday 6.30 - 7.15pm Local History Group (Please contact
us for details of next meeting) Reading Group on second Sunday of the
month 1.30 - 3pm Tiny Tots and Toddler Time on Thursday 10:30 -
11:30am (term time only)</ul></Details> <MinAge>0</MinAge>
<MaxAge>0</MaxAge> <Cost>0.00</Cost> <ProviderProjectDept></
ProviderProjectDept> <ContactName>North City Library</ContactName>
<ContactNumber>0161 219 6442</ContactNumber>
<ContactEmail>
n...@manchester.gov.uk</ContactEmail>
<ContactAddress>North City Library<br />Rochdale Road<br /
>Harpurhey<br />Manchester<br />M9 4AF</
ContactAddress> <categories>
<category>Creative & Cultured</category>
<category>Art</category>
</categories>
<ecmareas>
<ecmarea>Enjoy and Achieve</ecmarea>
</ecmareas>
<keywords>
<keyword>access point</keyword>
<keyword>books for loan</keyword>
<keyword>books for loan in vietnamese</keyword>
<keyword>business information zone</keyword>
<keyword>cds for loan</keyword>
<keyword>children's dvds for loan</keyword>
<keyword>computer trainer</keyword>
<keyword>computing facilities</keyword>
<keyword>dvds for loan</keyword>
<keyword>employment & training advice</keyword>
<keyword>health information point</keyword>
<keyword>homework club</keyword>
<keyword>local studies collection</keyword>
<keyword>macmillan information service</keyword>
<keyword>meeting room</keyword>
<keyword>newspapers and magazines</keyword>
<keyword>photocopying (colour and b&w)</keyword>
<keyword>playstation games for loan</keyword>
<keyword>reading group</keyword>
<keyword>talking books for loan</keyword>
<keyword>visually impaired peoples' unit</keyword>
<keyword>Internet access</keyword>
<keyword>Using Computers</keyword>
<keyword>Reading</keyword>
</keywords>
<venue id="1771">
<Name>North City Library</Name> <BuildingNameNo>North City Library</
BuildingNameNo> <Street>Rochdale Road</Street> <Town></Town>
<PostTown>Manchester</PostTown> <County>Lancashire</County>
<Postcode>M9 4BP</Postcode> <Telephone>0161 219 6442</Telephone>
<PlingsPlacesLink>
http://places.plings.net/index.php/v/1771</
PlingsPlacesLink> <Latitude>53.511782</Latitude> <Longitude>-2.214101</
Longitude> </venue>
<provider id="331">
<Name>Manchester Libraries</Name> <Website>
www.manchester.gov.uk/
libraries/</Website> <Contact>. .</Contact> <Email>.</Email> <Phone>.</
Phone> <Fax></Fax> <BuildingNameNo>City Hall</BuildingNameNo>
<Street></Street> <Town></Town> <PostTown></PostTown> <County></
County> <Postcode>M60 2LA</Postcode> <Latitude></Latitude>
<Longitude></Longitude> </provider>
</activity>
</plings>