<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Restlet 1.2 M1 released</title>
	<atom:link href="http://blog.noelios.com/2009/01/23/restlet-12-m1-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.noelios.com/2009/01/23/restlet-12-m1-released/</link>
	<description>Realize your Web ideas !</description>
	<lastBuildDate>Mon, 06 Sep 2010 07:27:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Jerome Louvel</title>
		<link>http://blog.noelios.com/2009/01/23/restlet-12-m1-released/#comment-7213</link>
		<dc:creator>Jerome Louvel</dc:creator>
		<pubDate>Tue, 03 Feb 2009 11:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.noelios.com/?p=368#comment-7213</guid>
		<description>Hi Xiaodong,

Restlet 1.2 M1 is your answer! It incorporates enhancements to the base XmlRepresentation class which now has a &quot;validating&quot; boolean property to configure XSD/DTD validation.

Let me know if it works better for you! The best is to continue this discussion in our mailing list at:
http://www.restlet.org/community/lists

Cheers,
Jerome</description>
		<content:encoded><![CDATA[<p>Hi Xiaodong,</p>
<p>Restlet 1.2 M1 is your answer! It incorporates enhancements to the base XmlRepresentation class which now has a &#8220;validating&#8221; boolean property to configure XSD/DTD validation.</p>
<p>Let me know if it works better for you! The best is to continue this discussion in our mailing list at:<br />
<a href="http://www.restlet.org/community/lists" rel="nofollow">http://www.restlet.org/community/lists</a></p>
<p>Cheers,<br />
Jerome</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xiaodong Qin</title>
		<link>http://blog.noelios.com/2009/01/23/restlet-12-m1-released/#comment-7212</link>
		<dc:creator>Xiaodong Qin</dc:creator>
		<pubDate>Mon, 02 Feb 2009 18:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.noelios.com/?p=368#comment-7212</guid>
		<description>Dear Jerome:

I am working for Overstock on restful web services recently.

We ran into a problem with the JAXB validation.
The web service can pass an invalid object with missing attributes, the restlet framework does not seem to capture it.

We do pass an implemented &quot;ValidationEventHandler&quot; object (with basic logging messages) to the JaxbRepresentation constructor, but the callbacks are never hit.

I was wondering if you have any insights to the following questions:

1. Is JAXB supposed to do the validation? 

2. If the &quot;ValidationEventHandler&quot; callbacks are not hit, does
    it mean it is a restlet bug, or there is something we need to
    do to turn on the JAXB validation within restlet?
 
    When and how do  the callbacks from restlet get called?

3. I believe JAXB validation can be done on either marshalling
    on client side, or unmashalling on server side, what might
    be the potential performance cost if we are able to turn
    on the validation somehow? 

4. What is preferred, client side  or server side validation? 
    I believe server side validation should be turned on anyway,
    validation is always crucial to ensure  the integrity of the 
    incoming data.

Look forward to your reply.

Thanks,

Xiaodong</description>
		<content:encoded><![CDATA[<p>Dear Jerome:</p>
<p>I am working for Overstock on restful web services recently.</p>
<p>We ran into a problem with the JAXB validation.<br />
The web service can pass an invalid object with missing attributes, the restlet framework does not seem to capture it.</p>
<p>We do pass an implemented &#8220;ValidationEventHandler&#8221; object (with basic logging messages) to the JaxbRepresentation constructor, but the callbacks are never hit.</p>
<p>I was wondering if you have any insights to the following questions:</p>
<p>1. Is JAXB supposed to do the validation? </p>
<p>2. If the &#8220;ValidationEventHandler&#8221; callbacks are not hit, does<br />
    it mean it is a restlet bug, or there is something we need to<br />
    do to turn on the JAXB validation within restlet?</p>
<p>    When and how do  the callbacks from restlet get called?</p>
<p>3. I believe JAXB validation can be done on either marshalling<br />
    on client side, or unmashalling on server side, what might<br />
    be the potential performance cost if we are able to turn<br />
    on the validation somehow? </p>
<p>4. What is preferred, client side  or server side validation?<br />
    I believe server side validation should be turned on anyway,<br />
    validation is always crucial to ensure  the integrity of the<br />
    incoming data.</p>
<p>Look forward to your reply.</p>
<p>Thanks,</p>
<p>Xiaodong</p>
]]></content:encoded>
	</item>
</channel>
</rss>
