Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed LayoutRoot implementation of IXmlSerializable.ReadXml to read the end element. #1545

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

prmartinuk
Copy link

Implementations of IXmlSerializable.ReadXml are required to read the entire element from beginning to end, including all of its contents. Prior to this change it would not read the end element from the reader. This would cause issues if the LayoutRoot was being serialized as part of a parent object's xml serialization as the XmlReader would be left on an unexpected element.

Paul Martin added 2 commits October 31, 2019 17:51
…he end element.

Implementations of IXmlSerializable.ReadXml are required to read the entire element from beginning to end, including all of its contents. Prior to this change it would not read the end element from the reader. This would cause issues if the LayoutRoot was being serialized as part of a parent object's xml serialization as the XmlReader would be left on an unexpected element.
@Dirkster99
Copy link

@prmartinuk I have included your change in my branch over her:
https://github.com/Dirkster99/AvalonDock

Dirkster99/AvalonDock@ffbe014

...and will release this to Nuget with the next version this weekend. But you can of course wait about 2 years until XCeed's version 3.9 is open sourced or pay money to get the change whenever its actually included :-) even that seems to be a matter of years or never if you look at the other PRs in this repository...

@XceedBoucherS
Copy link
Collaborator

Hi @prmartinuk ,
Thank you for raising this issue. The fix will be included in v3.9.

v3.6 was released for the community a few weeks ago and v3.7 is coming in the next few days. It won't take long for v3.9 (commercial and community) versions to be released. Stay tunes !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants