<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Draconian Error Handling in XML</title>
	<link>http://lucumr.pocoo.org/cogitations/2008/03/11/draconian-error-handling-in-xml/</link>
	<description>Armin Ronacher thinking</description>
	<pubDate>Fri, 25 Jul 2008 13:00:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: Armin Ronacher</title>
		<link>http://lucumr.pocoo.org/cogitations/2008/03/11/draconian-error-handling-in-xml/#comment-2951</link>
		<author>Armin Ronacher</author>
		<pubDate>Fri, 21 Mar 2008 16:05:35 +0000</pubDate>
		<guid>http://lucumr.pocoo.org/cogitations/2008/03/11/draconian-error-handling-in-xml/#comment-2951</guid>
		<description>Well. I don't want to be a jerk so I don't blame you for having a page that once had invalid XML on it. Without a proper XML toolchain it's quite hard to get it right. Especially when dealing with data from external websites encodings, and broken markup makes it tricky to still produce parsable XML.</description>
		<content:encoded><![CDATA[<p>Well. I don&#8217;t want to be a jerk so I don&#8217;t blame you for having a page that once had invalid XML on it. Without a proper XML toolchain it&#8217;s quite hard to get it right. Especially when dealing with data from external websites encodings, and broken markup makes it tricky to still produce parsable XML.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karl dubost, w3c</title>
		<link>http://lucumr.pocoo.org/cogitations/2008/03/11/draconian-error-handling-in-xml/#comment-2950</link>
		<author>karl dubost, w3c</author>
		<pubDate>Fri, 21 Mar 2008 15:16:04 +0000</pubDate>
		<guid>http://lucumr.pocoo.org/cogitations/2008/03/11/draconian-error-handling-in-xml/#comment-2950</guid>
		<description>ahah good catch. 

We are using MT which doesn't catch all mistakes. 
MT publishes the entry on a machine. This machine has a cron running locally and check if there are new pages, if yes, it cvs add and commit them to the W3C server.
We have a program on W3C server which every day takes the cvs commit in the cvs log and checks if the files are valid. If not, it sends an email to the committer saying "dude, your code is not valid, fix it."  maybe less casual :p

The code we use for checking the URI is the LogValidator (you can find it on W3C site.).

so not perfect, but we try to catch the errors when they show up. Maybe we could improve a bit by checking before committing, but that would require to hack MT a bit more, which makes it a bit more fragile with regards to future updates.</description>
		<content:encoded><![CDATA[<p>ahah good catch. </p>
<p>We are using MT which doesn&#8217;t catch all mistakes.<br />
MT publishes the entry on a machine. This machine has a cron running locally and check if there are new pages, if yes, it cvs add and commit them to the W3C server.<br />
We have a program on W3C server which every day takes the cvs commit in the cvs log and checks if the files are valid. If not, it sends an email to the committer saying &#8220;dude, your code is not valid, fix it.&#8221;  maybe less casual :p</p>
<p>The code we use for checking the URI is the LogValidator (you can find it on W3C site.).</p>
<p>so not perfect, but we try to catch the errors when they show up. Maybe we could improve a bit by checking before committing, but that would require to hack MT a bit more, which makes it a bit more fragile with regards to future updates.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
