Closed mkevin1993 closed 3 years ago
Could you explain what you mean by If a subfield is sent separately and not in HEX
You mean sent with each field but in XML like I see?
Yes. Field 127.25 specifically. The xml data will include all the sub fields of 127.25 i.e 127.25.2, 127.25.3, 127.25.4, 127.25.5 ... and so on. So if a payload contains field 127.25, there should be no need to parse the respective sub fields.
I see so your case you have "127.25"
as XML string , Two questions:
127.25
should be encoded and sent as is?Both yes
Request to add a feature for xml support in field 127.25
The current implementation creates subfields of 127.25 from the data received in field 127. If a subfield is sent separately and not in HEX, the lib breaks.
Example: The following data works well: All subfields are derived from the hex in field 127.
The elements of subfield 127.25 are parsed correctly because data is in HEX format.
When field 127.25 is sent separately(not parsed from 127) and as XML, parsing breaks
Below is the stack trace
Solution suggestion: If field 127.25 is sent/present it should be left as is
Thanks.