WordPress.org

Ready to get started?Download WordPress

Forums

bug in function <?php trackback_rdf(); ?>? (1 post)

  1. RobertHarm
    Member
    Posted 6 years ago #

    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 >?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.