-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Reading of Decimal broken for binary XmlDictionaryReader #73934
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @dotnet/area-system-xml Issue DetailsDescription#71752 introduced 2 bugs for reading of decimal values from binary xml
A fix for both bugs can be found in #73332 since that PR already had the necessary test added to detect the 2nd bug. Reproduction StepsSee test in #73332 Expected behaviorThe reader should properly read decimal values the same as in previous releases. Actual behaviorCode will throw or return the wrong result Regression?Yes, worked in net framework and up to net7 preview.7 Known WorkaroundsNo response ConfigurationNo response Other informationNo response
|
Description
#71752 introduced 2 bugs for reading of decimal values from binary xml
A fix for both bugs can be found in #73332 since that PR already had the necessary test added to detect the 2nd bug.
Reproduction Steps
See test in #73332
Or just try to roundtrip a decimal directly using XmlDictionaryWriter XmlDictionaryReader
Expected behavior
The reader should properly read decimal values the same as in previous releases.
Actual behavior
Code will throw or return the wrong result
Regression?
Yes, worked in net framework and up to net7 preview.7
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: