Support Article

Parse XML not working with SwitchToOldAssembler = false

SA-38314

Summary



User have updated from Pega 7.1.8 to Pega 7.2.2 and they have created DSS SwitchToOldAssembler = true to fix the outstanding issues with the new assembler.

However the switch caused issue where some unbounded elements are not being parsed from ParseXML rule which was working fine in Pega 7.1.8.


Error Messages



2017-05-17 11:58:46,475 [ES PassivationDaemon] [ STANDARD] [ ] (ion.xml.ParseXMLSAXRuleWrapper) DEBUG - not able to extract the property created from wrapper whose metadata is [returnedAddrFlag, suburb, created, updated, potentialDPID, DPID, state, addressLine3, postcode, addressLine2, addressLine1, country] []

Steps to Reproduce



Run the ParseXML rule after update and supply the XML by selecting TextToBeParsed Radio button.

Root Cause



A defect in Pegasystems’ code or rules when the repeating node (PageList) and child node(Page) have same name and a method is replacing the original node name at incorrect index.

Resolution



Apply HFix-34602.

Changes: Updated ParseXMLSAXRuleWarpper class to support repeating node (PageList) and child node(Page) with same name.

Published May 20, 2017 - Updated June 8, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.