Not a valid xml BUG
I have code similar like this
SomeObject is complex object that has properties as List<SomeOtherObject>
report works ok but when it saves like invalid XML document.
problem is
the attribute Enabled is generated twice for the last nest level (maxNestingLvl)
report.RegisterData(List<SomeObject>, "Some DataSource", maxNestingLvl)
var ds = report.GetDataSource("Some DataSource");
ds.Enabled = true;
SomeObject is complex object that has properties as List<SomeOtherObject>
report works ok but when it saves like invalid XML document.
problem is
<BusinessObjectDataSource Name="ListProperty" Enabled="false" DataType="System.Collections.Generic.List`1[[......]]" Enabled="false"/>
the attribute Enabled is generated twice for the last nest level (maxNestingLvl)
Comments
FastReport.Net uses own xml reader, so this bug is not essential. Anyway I will fix it in the next daily build.