@timber thanks for your response. I have resolve the issue by adding multiple sequence within choice and each sequence have discriminator for criteria"Message Type". Now each one works with their respective Message Type.
But I have noticed one thing if name is same like "AccountNumber" in two difference sequence it will give an error I don't understand why because sequence are difference.
I have resolve the issue by adding multiple sequence within choice and each sequence have discriminator for criteria"Message Type". Now each one works with their respective Message Type.
I can't comment on whether that is the ideal solution. I still recommend that you look carefully at the DFDL trace (if you have not done so). Sometimes it can reveal unexpected details.
Quote:
But I have noticed one thing if name is same like "AccountNumber" in two difference sequence it will give an error I don't understand why because sequence are difference.
Probably the XML Schema rule 'Unique Particle Attribution'. Hard to say, because you did not quote the error.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum