[wp-trac] Re: [WordPress Trac] #5460: WXR importer doesn't like XML files with </item><item>

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 27 22:11:47 GMT 2008


#5460: WXR importer doesn't like XML files with </item><item>
--------------------------+-------------------------------------------------
 Reporter:  JeremyVisser  |        Owner:  westi   
     Type:  defect        |       Status:  assigned
 Priority:  low           |    Milestone:  2.9     
Component:  General       |      Version:  2.3.1   
 Severity:  minor         |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by hailin):

 This is caused by the line-by-line parsing nature of the wordpress import
 code, and the assumption that only <item> or </item> can appear on a
 single line.

 The fix handles the case when both <item> and </item> appear on a single
 line.

 Tested it with the xml input file the user provided, as well as regular
 standard xml input file. It works correctly now.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5460#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list