Not a valid xml BUG

edited March 2010 in FastReport .NET
I have code similar like this
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

  • edited 11:32AM
    Hello,

    FastReport.Net uses own xml reader, so this bug is not essential. Anyway I will fix it in the next daily build.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.