[Mono-bugs] [Bug 521231] System.Configuration skips xml nodes when reading two ConfigurationElementCollections in a row.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 14 13:12:18 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=521231

User greg.smolyn at strangeloopnetworks.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=521231#c5





--- Comment #5 from Greg Smolyn <greg.smolyn at strangeloopnetworks.com>  2009-07-14 11:12:17 MDT ---
So the other test case that seems to fail is:

<fooconfig><baz><frob id="1"/><glob id="1"/></baz></fooconfig>

The issue here is that the reader gets to the attribute of frob, then exits the
recursive call from frob, sees it as an "Empty element", because it is, and
then does a read.Skip() which puts it _past_ glob, missing glob entirely.

I've fixed both of these bugs and attached a diff.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list