-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
.NET provides the XmlConvert
class for converting XML strings to proper .NET types, this seems like a better approach for parsing XML files since it already has built-in support for converting "1" or "true" to true
and "0" or "false" to false
. This would require changing some stuff around with the extension methods but it would prevent the need for trying to read a boolean attribute as an integer and checking the value. Doesn't change much other than readability and would prevent future problems like what happened with parsing attributes for TextObject.
If you are interested in something like this I can work on making a PR.
Metadata
Metadata
Assignees
Labels
No labels