rodneyviana / netext

WinDbg extension for data mining managed heap. It also includes commands to list http request, wcf services, WIF tokens among others
http://blogs.msdn.microsoft.com/rodneyviana
Other
224 stars 35 forks source link

[XmlParsing] Attributes with empty values seem not to get empty value restored. #9

Closed mitikov closed 4 years ago

mitikov commented 4 years ago

First of all - a huuuge thanks for the extension, it saves the day!

I'm using !wxml command with source xml like:

<dataviews>
  <dataview name="FilterDataView" assembly="Sitecore.Kernel" type="Sitecore.Web.UI.HtmlControls.FilterDataView" Parameters="" />
</dataviews>

While the restored version does not get an empty value for parameters:

As a result, the attribute without value breaks further parsing =\

I'm eager to contribute if you could hint me where to look at.

Thanks.

rodneyviana commented 4 years ago

Hi mitikov,

Thanks for bringing this up. The new version 2.1.50.5000 now available resolved the issue. If you are curious to see what was wrong you can compare the changes in source code for this new version. Please close the issue if this resolved your issue.

Thanks,

Rodney

mitikov commented 4 years ago

Thanks for prompt reply, I'll try out. P.s. Just blogged about your extension :)

rodneyviana commented 4 years ago

Nice. You should also try !wdo and !wselect * from ..

mitikov commented 4 years ago

@rodneyviana A new version clrMD is to be baked, you might want to share your thoughts: https://github.com/microsoft/clrmd/issues/311