[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TV] XML files now valid and UTF-8

ukgold still got an error.

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.


Reference to undefined entity 'pound'. Error processing resource
'file:///C:/xml/uk_gold.xml'. Line 40, Position 147

    <desc>Crime drama series.   It might be a scam, or he might be the most
honest man  in town - but Conway has his own ideas about who brought
&pound;500,000 into Sun  Hill.   Starring Ben Roberts and Jeff

But rest are fine



-----Original Message-----
From: Andrew Flegg [mailto:andrew@xxxxxxxx]
Sent: 06 August 2003 15:15
To: tvdevel@xxxxxxxx
Subject: [TV] XML files now valid and UTF-8


The XML files which caused a problem today, and all ones generated in
future (ie. day 6 tomorrow) will now only have the standard XML entities
encoded (eg. <, >, & and "). All other stuff (such as &nbsp;) is now
stored as UTF-8. This means that today's five.xml now contains a 2-byte
wide character instead of &nbsp;.

On the user-interface side of things Perl is automagically translating
these to ISO-8859-1 for me, but others may need to check their code and
be careful.

It does mean, however, that all the pre-parsing steps necessary for
MSXML etc. are no longer needed.



Andrew Flegg -- mailto:andrew@xxxxxxxx  |  http://www.bleb.org/

Distributed to the bleb.org/tv developer list.
Archive available at: http://www.bleb.org/tv2/maillist/

To unsubscribe, send 'UNSUBSCRIBE rdyas@xxxxxxxxxx' to
mailto:tvdevel-request@xxxxxxxxx If you have any problems please contact