Closed ymita closed 4 years ago
@ymita This is XML specific and not reproducible with JSON binding. In order for this to work, you can change the format so there is an empty space after the < XML entity replacement - like this " \< "
In short, replace: "\<All employees" with " \< All employees" OR even "\< All employees"
@IvayloG
Thank you for your suggestion.
The customer wonders which character cannot be contained in xml data. For example, >
can be supplied while <
cannot be. Is this considered a limitation of igTree?
@ymita I will further investigate this issue as it may require an actual behavior fix.
Description
< cannot be used in node attribute. If < is supplied, the node tag is generated in an invalid form.
Steps to reproduce
var xmlDoc = '<OrgChart Name="<All employees">' +
Result
The top level node is not visible. And the generated tag is
<all employees<="" a=""></all>
.Expected result
The top level node is rendered correctly and is visible. And the generated tag should be something like
<a href="#" target="_self" class="ui-corner-all"><All employees</a>
.Attachments
Attach a sample if available, and screenshots, if applicable.
igtree__xml-binding issue.zip