Description

As title describes, the FXmlFile(const FString&) constructor fails to parse an XML that is as such:

 

<?xml version = "1.0" ?>
<parent name="aTag" link= "linkName">
<origin xyz="0.0000000000E+00 0.0000000000E+00 0.0000000000E+00" rpy="0.0000000000E+00 0.0000000000E+00 0.0000000000E+00"/>
</parent>

While it will succeed parsing a version of the above with the space after "link=" removed:

 

<?xml version = "1.0" ?>
<parent name="aTag" link="linkName">
<origin xyz="0.0000000000E+00 0.0000000000E+00 0.0000000000E+00" rpy="0.0000000000E+00 0.0000000000E+00 0.0000000000E+00"/>
</parent>

 

Looking at the generated tokens, it looks like the first example would make the Tokenize() function fail to separate the angle bracket after "linkName" as a separate token:

[Image Removed]

This is extremely problematic, since both examples above are well-formed XMLs, as confirmed by several validators.

Have Comments or More Details?

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

0
Login to Vote

Backlogged
CreatedOct 22, 2024
UpdatedSep 11, 2025
View Jira Issue