<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Copac Blog &#187; errror handling</title>
	<atom:link href="http://copac.ac.uk/blog/tag/errror-handling/feed/" rel="self" type="application/rss+xml" />
	<link>http://copac.ac.uk/blog</link>
	<description>News and developments from the Copac team</description>
	<lastBuildDate>Mon, 21 May 2012 10:26:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Handling XML errors</title>
		<link>http://copac.ac.uk/blog/2008/09/handling-xml-errors/</link>
		<comments>http://copac.ac.uk/blog/2008/09/handling-xml-errors/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 10:13:51 +0000</pubDate>
		<dc:creator>Ashley Sanders</dc:creator>
				<category><![CDATA[developments]]></category>
		<category><![CDATA[Interfaces]]></category>
		<category><![CDATA[errror handling]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://copac.ac.uk/development-blog/?p=97</guid>
		<description><![CDATA[I&#8217;ve just installed some updated software that should increase the reliability of the web service. Unfortunately, while I was installing the software people using the service will have seen error messages in place of our records. The disruption should only &#8230; <a href="http://copac.ac.uk/blog/2008/09/handling-xml-errors/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just installed some updated software that should increase the reliability of the web service. Unfortunately, while I was installing the software people using the service will have seen error messages in place of our records. The disruption should only have lasted a minute or two and everything should be working now.</p>
<p>The update allows us to better cope with errors in the records. In the past an XML error in one record in a page of results was causing users to see a &#8220;500 Internal Server Error&#8221; page rather than their records. Things are now better, though not perfect. We still cannot display the record with the errors, but the rest of the records are displayed and there should be no more Internal Server Error pages because of bad XML. Records with errors will now show as follows in the brief display:</p>
<div id="attachment_98" class="wp-caption aligncenter" style="width: 310px"><a href="http://copac.ac.uk/news/wp-content/uploads/2008/09/error-record.png"><img class="size-medium wp-image-98" title="error-record" src="http://copac.ac.uk/news/wp-content/uploads/2008/09/error-record.png" alt="An undisplayable record in the Brief display." width="300" height="37" /></a><p class="wp-caption-text">An un-displayable record in the Brief display.</p></div>
<p>As I mentioned in a <a href="http://copac.ac.uk/development-blog/2008/08/re-structuring-the-database/trackback/">previous post</a> our database software does not natively support XML and it is occaisionally inserting line-breaks where it shouldn&#8217;t â€” such as in the middle of an XML Entity! Our next task is to modify our line breaking algorithm (so that the database doesn&#8217;t need to do it itself) and correct the the affected records.</p>
]]></content:encoded>
			<wfw:commentRss>http://copac.ac.uk/blog/2008/09/handling-xml-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

