[wp-trac] [WordPress Trac] #25872: WXR export tool generates XML which is not well-formed

WordPress Trac noreply at wordpress.org
Thu Nov 7 21:41:12 UTC 2013


#25872: WXR export tool generates XML which is not well-formed
--------------------------+-----------------------------
 Reporter:  tomdxw        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Export        |    Version:  3.7.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 1. Paste a form feed character (aka \f or U+000C) into a post
 2. Tools > Export > Download Export File
 3. Validate the exported file (i.e. xmlstarlet validate --well-formed
 ~/Downloads/test.wordpress.2013-11-07.xml)

 The resulting file is not well-formed XML because WordPress has failed to
 strip characters which are not allowed by the XML specification (
 http://www.w3.org/TR/REC-xml/#charsets ).

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


More information about the wp-trac mailing list