ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Concatenated initiator

Post new topic  Reply to topic
 Concatenated initiator « View previous topic :: View next topic » 
Author Message
petervh1
PostPosted: Thu Apr 25, 2019 4:02 am    Post subject: Concatenated initiator Reply with quote

Centurion

Joined: 19 Apr 2010
Posts: 122

I am trying to model data that contains the following:

Code:
xxxx2.64:SRERSHITRS12345RS0...


Where the 3 occurrences of RS in this string are ASCII Record Separator characters (x'1E').

In the XSD I've set up a statement:

Code:
dfdl:initiator="{fn:concat('2.64:SRE','%#x1E','HIT')}"


This fails during the Test Parse Model with:

Quote:
PM fatal: CDTV1438E CDTV1438E DFDL propery 'initiator' contains an invalid entity '2.64:SRE%#x1EHIT'. A valid entry must obey pattern ...


How can I code the pattern for the RS (x'1E') so that it's transformed into RS for the initiator?

Thanks
Back to top
View user's profile Send private message
timber
PostPosted: Fri Apr 26, 2019 7:38 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

You don't need the fn:concat or the quotes. This should do it:
Code:
dfdl:initiator="2.64:SRE%#x1E;HIT"
The character entity for 0x1E is delimited by the % and the ; as described in the DFDL specification here: https://daffodil.apache.org/docs/dfdl/#_Toc398030739
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Concatenated initiator
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.