Friday, 30 April 2004

More broken XML generated by blogging tools

First it was Movable Type doing it… now, WordPress generates differently but equally-broken XML for its inline trackback RDF discovery. Here’s an example:


<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<rdf:Description
    rdf:about="http://xrlq.com/archives/2004/04/30/1475/hat-of-the-day-chip-frederick/"
    dc:identifier="http://xrlq.com/archives/2004/04/30/1475/hat-of-the-day-chip-frederick/"
    dc:title="\'Hat of the Day:  Chip Frederick"
    trackback:ping="http://xrlq.com/wp-trackback.php/1475" />
</rdf:RDF>

Backslashes don’t escape anything in XML

Update: Per the trackback below, WordPress fixed it! So, the current score is: WP 1, MT 0. (So, my message to all you WordPress bloggers over there on the sidebar: get thee to an update.)