<?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>{codesqueeze} &#187; Usability</title>
	<atom:link href="http://www.codesqueeze.com/category/usability/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codesqueeze.com</link>
	<description>Ideas for building efficient developers and software</description>
	<lastBuildDate>Wed, 28 Dec 2011 16:55:01 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Can XHTML Strict Ever Be A Practical Standard?</title>
		<link>http://www.codesqueeze.com/can-xhtml-strict-ever-be-a-practical-standard/</link>
		<comments>http://www.codesqueeze.com/can-xhtml-strict-ever-be-a-practical-standard/#comments</comments>
		<pubDate>Fri, 10 Aug 2007 09:19:34 +0000</pubDate>
		<dc:creator>Max Pool</dc:creator>
				<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://www.codesqueeze.com/can-xhtml-strict-ever-be-a-practical-standard/</guid>
		<description><![CDATA[Whenever possible my web applications comply to the XHTML Strict standard; however, the ever growing want for Web 2.0 mashup applications forces developers to create content for multiple platforms such as PDAs, RSS readers, and multiple web browsers. It pains me when I need to enforce styles across platforms thus forcing me to downgrade from [...]<p><strong>[Advertisement]</strong> - Atlassian provides zero-friction <a href="http://www.atlassian.com/software/jira/">bug tracking</a> and <a href="http://www.atlassian.com/software/bamboo/">continuous integration</a> solutions for software development teams. Visit <a href="http://www.atlassian.com/">Atlassian</a> for free 30 day product trials. 
<hr/>
Copyright 2009 - <a href="http://www.codesqueeze.com/">{codesqueeze}</a> - <br/><br/><a href="http://www.codesqueeze.com/can-xhtml-strict-ever-be-a-practical-standard/">Can XHTML Strict Ever Be A Practical Standard?</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Whenever possible my web applications comply to the <a href="http://en.wikipedia.org/wiki/XHTML">XHTML Strict</a> standard; however, the ever growing want for Web 2.0 mashup applications forces developers to create content for multiple platforms such as PDAs, RSS readers, and multiple web browsers. It pains me when I need to enforce styles across platforms thus <strong>forcing me to downgrade from Strict to Transitional</strong>.</p>
<p>For example, in <a href="http://www.codesqueeze.com/the-software-process-imprinting-dilemma/">a recent post</a> I included a picture of a <a href="http://www.codesqueeze.com/wp-content/2007/08/duck.gif">baby duck wearing glasses</a>.  In my layout I wanted it to float right.  Easy enough, I just place a class on it and define my style in the CSS.  It looks great on the page and is Strict compliant, but then it renders incorrectly in feed readers such as Google Reader.</p>
<p><img src='http://www.codesqueeze.com/wp-content/2007/08/xhtml-test.gif' alt='Feed reader differences' class='block'/></p>
<p>In this example, I don&#8217;t give a hoot how the baby duck renders in Google Reader, but what if I did?  I would be reduced to make the following change:</p>
<div style="font-size: 10pt; margin: 10px; font-family: courier new; background-color: #eeeeee; word-wrap: break-word; border: white 2px ridge; padding: 10px"><font color="#0000ff">&lt;</font><font color="#800000">img</font><font color="#ff0000">&nbsp;src</font><font color="#0000ff">=&quot;&#8230;&quot;</font><font color="#ff0000">&nbsp;class</font><font color="#0000ff">=&quot;right&quot;</font><font color="#ff0000">&nbsp;</font><font color="#0000ff">/&gt;<br style="clear:both;" /><br />changed to<br style="clear:both;"/><br />
</font><font color="#0000ff">&lt;</font><font color="#800000">img</font><font color="#ff0000">&nbsp;src</font><font color="#0000ff">=&quot;&#8230;&quot;</font><font color="#ff0000">&nbsp;style</font><font color="#0000ff">=&quot;float:right;&quot;</font><font color="#ff0000">&nbsp;</font><font color="#0000ff">/&gt;<br />
 </font></div>
<p>

</p>
<p>As a result, this is not XHTML Strict complaint and I would have to mark the entire page Transitional.  Perhaps this sounds silly, but <strong>as data is passed more freely between multiple systems this problem will only get worse</strong>.  As a result a decision must be made between two choices:</p>
<ul>
<li>Keep data and display decoupled, but surrender render details on other systems</li>
<li>Embed styles and render how <em>you </em>want, but surrender decoupling</li>
</ul>
<p><strong>Does it need to be this black and white? </strong> Can a happy medium be meet with a new standard?  For example, what would happen if the next version of RSS allowed you to add the location of an associated CSS file?  Would this solve the problem or would it create more problems?  </p>
<p>Shout back&#8230;</p>
<p><script language="javascript" src="http://www.polldaddy.com/p/81133.js"> </script> <noscript> <a href ="http://www.polldaddy.com" >Free Poll</a> &#8211; <a href ="http://www.polldaddy.com/poll.asp?p=81133" >Take Our Poll</a> </noscript></p>
<p><br/><br/><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.codesqueeze.com/xhtml-gotchas-with-aspnet/" rel="bookmark" title="June 21, 2007">XHTML Gotchas With ASP.NET</a></li>
<li><a href="http://www.codesqueeze.com/how-to-write-validators-that-demand-attention/" rel="bookmark" title="June 10, 2007">How To Write Validators That Demand Attention</a></li>
<li><a href="http://www.codesqueeze.com/the-software-process-imprinting-dilemma/" rel="bookmark" title="August 1, 2007">The Software Process Imprinting Dilemma</a></li>
<li><a href="http://www.codesqueeze.com/software-teams-vs-superheroes-why-the-solo-developer-is-dead/" rel="bookmark" title="October 26, 2007">Software Teams vs. Superheroes: Why the Solo Developer is Dead</a></li>
<li><a href="http://www.codesqueeze.com/careless-obfuscation-can-lose-you-business/" rel="bookmark" title="July 24, 2007">Careless Obfuscation Can Lose You Business</a></li>
</ul>
<p><!-- Similar Posts took 3.673 ms --></p>
<p><strong>[Advertisement]</strong> - Atlassian provides zero-friction <a href="http://www.atlassian.com/software/jira/">bug tracking</a> and <a href="http://www.atlassian.com/software/bamboo/">continuous integration</a> solutions for software development teams. Visit <a href="http://www.atlassian.com/">Atlassian</a> for free 30 day product trials. 
<hr/>
Copyright 2009 - <a href="http://www.codesqueeze.com/">{codesqueeze}</a> - <br/><br/><a href="http://www.codesqueeze.com/can-xhtml-strict-ever-be-a-practical-standard/">Can XHTML Strict Ever Be A Practical Standard?</a></p>
<div class="tweetmeme_button" style="margin-right: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.codesqueeze.com%2Fcan-xhtml-strict-ever-be-a-practical-standard%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.codesqueeze.com%2Fcan-xhtml-strict-ever-be-a-practical-standard%2F" height="61" width="51" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.codesqueeze.com/can-xhtml-strict-ever-be-a-practical-standard/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

