Make WordPress Core

Opened 6 months ago

Last modified 6 months ago

#25872 new defect (bug)

WXR export tool generates XML which is not well-formed

Reported by: tomdxw Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.7.1
Component: Export Keywords:
Focuses: Cc:


  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 ).

Change History (1)

comment:1 tomdxw6 months ago

  • Cc tom@… added
Note: See TracTickets for help on using tickets.