<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DEYBQHo5cSp7ImA9WhRaE0o.&quot;"><id>tag:blogger.com,1999:blog-1352313730090487691</id><updated>2012-02-16T08:09:11.429+01:00</updated><category term="xdv" /><category term="theming" /><category term="plone" /><category term="osx" /><title>lzdych's BOX</title><subtitle type="html">Can it be so simple..</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.lukaszdych.net/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.lukaszdych.net/" /><author><name>Lukáš Zdych</name><uri>http://www.blogger.com/profile/15805853389140700035</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://1.bp.blogspot.com/-9QSabH93CwI/TXiLJ9SLNSI/AAAAAAAAEfs/l4KeJBoqzrE/s220/lzdych.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/LzdychsBox" /><feedburner:info uri="lzdychsbox" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;AkIGQ384eSp7ImA9WhdXEEw.&quot;"><id>tag:blogger.com,1999:blog-1352313730090487691.post-7459430262419097765</id><published>2011-08-22T14:56:00.003+02:00</published><updated>2011-08-22T15:08:42.131+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-22T15:08:42.131+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="theming" /><category scheme="http://www.blogger.com/atom/ns#" term="xdv" /><category scheme="http://www.blogger.com/atom/ns#" term="plone" /><title>When XDV produces weird page source output</title><link rel="replies" type="application/atom+xml" href="http://www.lukaszdych.net/feeds/7459430262419097765/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.lukaszdych.net/2011/08/when-xdv-produces-weird-page-source.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1352313730090487691/posts/default/7459430262419097765?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1352313730090487691/posts/default/7459430262419097765?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/LzdychsBox/~3/5Ctzoz7Hz9o/when-xdv-produces-weird-page-source.html" title="When XDV produces weird page source output" /><author><name>Lukáš Zdych</name><uri>http://www.blogger.com/profile/15805853389140700035</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://1.bp.blogspot.com/-9QSabH93CwI/TXiLJ9SLNSI/AAAAAAAAEfs/l4KeJBoqzrE/s220/lzdych.jpg" /></author><thr:total>0</thr:total><content type="html">I just met strange behavior of the xdv with Plone where all non-ascii characters where transformed to html entities. Note: you won't notice it in the firebug but in the raw page source.

Here is simple solution which seems to be solving it:
Open your rules.xml file containing xdv rules for your theme and enclose all of them by the following xsl rule:

&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;rules
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZD5js6st_S2YCkTiV42uBCPPm-k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZD5js6st_S2YCkTiV42uBCPPm-k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZD5js6st_S2YCkTiV42uBCPPm-k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZD5js6st_S2YCkTiV42uBCPPm-k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/LzdychsBox/~4/5Ctzoz7Hz9o" height="1" width="1"/&gt;</content><feedburner:origLink>http://www.lukaszdych.net/2011/08/when-xdv-produces-weird-page-source.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8CSH06fip7ImA9WhdXEEw.&quot;"><id>tag:blogger.com,1999:blog-1352313730090487691.post-6851585034505908514</id><published>2011-03-20T13:07:00.003+01:00</published><updated>2011-08-22T14:57:49.316+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-22T14:57:49.316+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="osx" /><title>How to get md5sum to your Mac (Leopard)</title><link rel="replies" type="application/atom+xml" href="http://www.lukaszdych.net/feeds/6851585034505908514/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.lukaszdych.net/2011/03/how-to-get-md5sum-to-your-mac-leopard.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1352313730090487691/posts/default/6851585034505908514?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1352313730090487691/posts/default/6851585034505908514?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/LzdychsBox/~3/wreSWTV1Wjc/how-to-get-md5sum-to-your-mac-leopard.html" title="How to get md5sum to your Mac (Leopard)" /><author><name>Lukáš Zdych</name><uri>http://www.blogger.com/profile/15805853389140700035</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://1.bp.blogspot.com/-9QSabH93CwI/TXiLJ9SLNSI/AAAAAAAAEfs/l4KeJBoqzrE/s220/lzdych.jpg" /></author><thr:total>1</thr:total><content type="html">Today I needed md5sum info for my buildout setup which downloads external archives but I realized there isn't any "md5sum" binary to use on my mac.

Here is how to install it in a moment using terminal:

$: cd /tmp
$: wget http://www.microbrew.org/tools/md5sha1sum/md5sha1sum-0.9.5.tar.gz
$: tar xvzf md5sha1sum-0.9.5.tar.gz
$: cd ./md5sha1sum-0.9.5
$: ./configure
$: make

Note: I didn't need to 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/roCNZwHqheVrJC3pIAQFNbHe544/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/roCNZwHqheVrJC3pIAQFNbHe544/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/roCNZwHqheVrJC3pIAQFNbHe544/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/roCNZwHqheVrJC3pIAQFNbHe544/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/LzdychsBox/~4/wreSWTV1Wjc" height="1" width="1"/&gt;</content><feedburner:origLink>http://www.lukaszdych.net/2011/03/how-to-get-md5sum-to-your-mac-leopard.html</feedburner:origLink></entry></feed>

