Question

6
Replies
195
Views
Swaroop244 Member since 2008 5 posts
DXC
Posted: 4 years ago
Last activity: 4 years 5 months ago
Closed
Solved

parsing XML - processContents=lax

Hi,

I need some help  in handling the processContents=lax in Pega. We are facing an issue with Parse XML when the XML contains nodes for which the XSD definition as processContents="lax". Please find below the definition

 

When the Metadata Accelerator is run to import this XSD, Pega generated the parse XML as shown below. There is an _any_ tag and the Node contains Element Substitution.

The XML returned by the service contains additional tags which I think need to fit in the _any_ and the parse XML is supposed to parse them.

    

We created properties manually in the class and added additional elements manually in the Pega generated parse XML to parse these fields but Pega is not parsing them. We have also tried defining the element names in Element Substitution area in the XML tab of the parse XML rule but did not work.

Could you please advise how to parse the elements coming in the XML which fall into processContents=lax category.

 

Regards,

Swaroop

Data Integration
Moderation Team has archived post
Share this page LinkedIn