[wp-trac] [WordPress Trac] #15197: WXR export/import umbrella ticket
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 29 17:45:29 UTC 2010
#15197: WXR export/import umbrella ticket
--------------------------+-------------------------------------------------
Reporter: duck_ | Owner: duck_
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 3.1
Component: Export | Version:
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by duck_):
Replying to [comment:15 nacin]:
> Patch is pretty lame. If we're receiving a WP_Error for malformed WXR,
we should probably just go straight to regexp instead of stopping at
libxml first. Also, the many WP_Errors that get returned in
$class::parse() should probably have unique IDs (to the class), that way
we can better detect invalid XML versus, say, incorrect format.
Updated version so SimpleXML and XMLParser skip straight to regex if
malformed XML error, otherwise return results/other error. Should we print
anything about the malformed XML error even though we're gonna continue
trying anyway?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15197#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list