[wp-trac] [WordPress Trac] #9992: Atom feed titles are CDATA'ed and XML encoded.

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 15 23:34:25 UTC 2009


#9992: Atom feed titles are CDATA'ed and XML encoded.
------------------------------+---------------------------------------------
 Reporter:  pm24601           |        Owner:  josephscott
     Type:  defect (bug)      |       Status:  reopened   
 Priority:  normal            |    Milestone:  3.0        
Component:  Feeds             |      Version:  2.7.1      
 Severity:  normal            |   Resolution:             
 Keywords:  has-patch tested  |  
------------------------------+---------------------------------------------

Comment(by josephscott):

 Both the W3C validator and beta.feedvalidator.org show the Atom feed as
 valid (on -trunk with a test post using the example title).  I agree that
 from an XML point of view this does feel odd though, where doing one or
 the other would be technically right and doing both is, well, some what
 strange.

 What might explain this more is context of the data.  I look at it and see
 escaped HTML in a CDATA string, as opposed to escaped XML, inside another
 XML escaped string.

 I also added my test feed with this in it to Google Reader and it did the
 right thing.  I don't see this as being a major issue for 2.9, so punt for
 now and do more testing during 3.0 dev round to see if clients will choke
 on the proposed changes or not.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9992#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list