Question

1
Replies
37
Views
MVoss Member since 2016 17 posts
Sopra Steria AG
Posted: 1 year ago
Last activity: 1 year 8 months ago
Closed

Parse XML boolean element with value 0 or 1

Hello,

I am parsing a XML where one element is from type xs:boolean. I am parsing it on a boolean property in Pega. In the XML, I am getting 0 or 1 as a valid value for that element. Pega is now not parsing it as false or true on that property. It keeps the "interger" value.

Is there any good way to solve this issue? By good way I mean not to manually overwrite the property after parsing.

Thank you, Marcel

Low-Code App Development Low-Code App Development Dev/Designer Studio Data Integration
Moderation Team has archived post
Share this page LinkedIn