Description

Code asserts because it assumes that a self closing node is within another node or has another node left in the doc to parse

Steps to Reproduce

Test code that reproduces the issue with the file data below

if (FParse::Command(&Cmd, TEXT("TESTXML")))

{ FString XmlFileName(TEXT("D:\\dev\\XmlTest.txt")); FXmlFile XmlFile(XmlFileName, EConstructMethod::ConstructFromFile); return true; }

with a file that contains

<?xml version="1.0" encoding="UTF - 8"?>
<model />

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-30393 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.11
Target Fix4.16
Fix Commit3229692
Main Commit3279775
CreatedMay 5, 2016
ResolvedDec 9, 2016
UpdatedApr 27, 2018
View Jira Issue