[wp-trac] Re: [WordPress Trac] #1451: RSS feeds are not valid if there are special characters in the title

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 5 08:35:32 GMT 2006


#1451: RSS feeds are not valid if there are special characters in the title
----------------------------------------+-----------------------------------
 Reporter:  sameerd                     |        Owner:  anonymous
     Type:  defect                      |       Status:  new      
 Priority:  low                         |    Milestone:  2.0.4    
Component:  Administration              |      Version:  1.5.2    
 Severity:  minor                       |   Resolution:           
 Keywords:  RSS XML special characters  |  
----------------------------------------+-----------------------------------
Changes (by ptvguy):

  * milestone:  => 2.0.4

Comment:

 Displays fine in 2.0.4, but still messed up on feed.

 Goes out in ATOM as follows:
 {{{
 <title type="text/html" mode="escaped"><![CDATA[Test blog ; &#038; ” ‘
 ; < > ! special chars]]></title>
 }}}

 and in RSS2, it causes this error:
 {{{
 XML Parsing Error: not well-formed
 Location: http://localhost/wordpress/?feed=rss2
 Line Number 17, Column 36:              <title>Test blog ; &#038; ” ‘
 ; < > ! special chars</title>
 }}}

 due to this titling:
 {{{
 <title>Test blog ; &#038; ” ‘ ; < > ! special chars</title>
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/1451>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list