Description

In XML, single or double quotes can be used to surround an attribute value. Furthermore, it is legal to use whichever character isn't chosen within that attribute value without escaping it. Currently, we don't ensure the closing character is the same as the opening, leading to errors when parsing some valid XML files.

Steps to Reproduce
  1. Create an XML with an attribute containing single or double quotes
    <tag attr="test's"/>
    
  2. Parse your XML using the FastXML parser
  3. Observe that errors are returned due to the attribute being closed on the single quote (apostrophe) character instead of the double quote

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-50629 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.18
Target Fix4.18
Fix Commit3675461
Release Commit3675461
CreatedOct 2, 2017
ResolvedOct 2, 2017
UpdatedApr 27, 2018