<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Error Messages in a RESTful API</title>
	<atom:link href="http://www.jrandolph.com/blog/2005/11/11/error-messages-in-a-restful-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jrandolph.com/blog/2005/11/11/error-messages-in-a-restful-api/</link>
	<description>software development and testing</description>
	<lastBuildDate>Thu, 24 Apr 2008 12:51:01 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Josh</title>
		<link>http://www.jrandolph.com/blog/2005/11/11/error-messages-in-a-restful-api/comment-page-1/#comment-186</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Mon, 14 Nov 2005 00:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.jrandolph.com/blog/?p=13#comment-186</guid>
		<description>Or just don&#039;t use a RESTful API. Nobody wants to bind to it anyway :)</description>
		<content:encoded><![CDATA[<p>Or just don&#8217;t use a RESTful API. Nobody wants to bind to it anyway :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nat</title>
		<link>http://www.jrandolph.com/blog/2005/11/11/error-messages-in-a-restful-api/comment-page-1/#comment-185</link>
		<dc:creator>Nat</dc:creator>
		<pubDate>Fri, 11 Nov 2005 22:35:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.jrandolph.com/blog/?p=13#comment-185</guid>
		<description>This would require the error attribute to be included in the schema or DTD of every validatable XML file sent back.  Also, the message cannot contain rich information such as links.  It might be better to define an error namespace and allow some subset of XHTML or similar markup to be used in the error message, like:

&lt;expense-item xmlns:error=&quot;http://www.jrandolph.com/xmlns/error/1,0&quot;&gt;
  &lt;project&gt;&lt;error:report&gt;Project not a &lt;a href=&quot;valid_codes.html&quot;&gt;valid code&lt;/a&gt;&lt;/error&gt;
...</description>
		<content:encoded><![CDATA[<p>This would require the error attribute to be included in the schema or DTD of every validatable XML file sent back.  Also, the message cannot contain rich information such as links.  It might be better to define an error namespace and allow some subset of XHTML or similar markup to be used in the error message, like:</p>
<p>&lt;expense-item xmlns:error=&#8221;http://www.jrandolph.com/xmlns/error/1,0&#8243;&gt;<br />
  &lt;project&gt;&lt;error:report&gt;Project not a &lt;a href=&#8221;valid_codes.html&#8221;&gt;valid code&lt;/a&gt;&lt;/error&gt;<br />
&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

