[wp-testers] bug in <?php trackback rdf(); ?>?

Robin Adrianse robin.adr at gmail.com
Tue Jan 15 15:54:13 GMT 2008


I can't speak for the interpretation by browsers, but I'm pretty sure that's
invalid HTML. If someone else can reproduce this on trunk or the latest
branch, then a bug should probably be filed.

On Jan 15, 2008 7:41 AM, <robert at harm.co.at> wrote:

> I use the following code in index.php and single.php:
>
> <!--
> <?php trackback_rdf(); ?>
> -->
>
> when checking the html-output, I noticed, that there is an additional
> space
> before < and after >
>
> <!--
> < 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="REPLACED" dc:identifier="REPLACED"
> dc:title="REPLACED" trackback:ping="REPLACED" / >
> < /rdf:RDF >
> -->
>
> Shouldn´t this look like:
>
> <!--
> <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="REPLACED" dc:identifier="REPLACED"
> dc:title="REPLACED" trackback:ping="REPLACED" />
> </rdf:RDF>
> -->
>
> HTML-Tags like < a href="link" >Link < /a > cannot be interpreted by my
> browser (FF2). Isnt the same true for < rdf >...< /rdf >?
>
>
>
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list