[wp-trac] [WordPress Trac] #7400: WXR doesn't use an XML parser

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 24 21:58:04 GMT 2008

#7400: WXR doesn't use an XML parser
 Reporter:  link92   |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.7      
Component:  General  |     Version:           
 Severity:  normal   |    Keywords:           
 '<title foo:bar="heh>"
 xmlns:foo="tag:gsnedders.com,2008-07-21:WXR_b0rked">My amazing
 title</title>' should give 'My amazing title' as the content if parsed
 with an XML parser, yet your non-XML parser gives '"
 xmlns:foo="tag:gsnedders.com,2008-07-21:WXR_b0rked">My amazing title'. You
 just strip out <![CDATA[ and ]]> from the data, giving them absolutely no
 meaning. <category><![CDATA[&gt;foo>]]></category> and
 <category>&gt;foo></category> are two totally different categories (the
 former is '&gt;foo>', the latter is '<foo>').

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

More information about the wp-trac mailing list