Author |
Message |
Topic: Escaping a Character in DFDL |
TheYodas
Replies: 23 Views: 15071
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu Oct 02, 2014 6:46 am Subject: Escaping a Character in DFDL |
Thanks for the confirmation Kimbert.
In case the field was in the middle of the record then I have to use EscapeScheme. Is this right? |
Topic: Escaping a Character in DFDL |
TheYodas
Replies: 23 Views: 15071
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Oct 01, 2014 6:50 am Subject: Escaping a Character in DFDL |
Thank you Kimbert. This worked.
Looks like a bug as you mentioned.
Question, why doesn't Escape scheme work in this case? My understanding was for my scenario Escapescheme wou ... |
Topic: Escaping a Character in DFDL |
TheYodas
Replies: 23 Views: 15071
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue Sep 30, 2014 6:19 am Subject: Escaping a Character in DFDL |
I should have mentioned that in my previous post. I did try that too. It didnt work. Here is the DFDL definition:
<xsd:element dfdl:lengthKind="delim ... |
Topic: Escaping a Character in DFDL |
TheYodas
Replies: 23 Views: 15071
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Sep 29, 2014 2:48 pm Subject: Escaping a Character in DFDL |
Now then, I did as you suggested. It is not expecting "comma" before Text field now. I tested using DFDL Test on Eclipse. Here is the error trace:
Sep 29, 2014 6:24:54 PM info: Offset: ... |
Topic: Escaping a Character in DFDL |
TheYodas
Replies: 23 Views: 15071
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Sep 29, 2014 8:51 am Subject: Escaping a Character in DFDL |
Actually the terminator :
dfdl:terminator="%CR;%LF;"
Will signal the end of "TransactionDetailRecord" record. The elements within TransactionDetailRecord are all delimited by ... |
Topic: Escaping a Character in DFDL |
TheYodas
Replies: 23 Views: 15071
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Sep 29, 2014 8:45 am Subject: Escaping a Character in DFDL |
The Text field is the last field in the record "TransactionDetailRecord", as described in the schema i posted in my last post. Sorry, I should have mentioned that before. |
Topic: Escaping a Character in DFDL |
TheYodas
Replies: 23 Views: 15071
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Sep 29, 2014 8:38 am Subject: Escaping a Character in DFDL |
Hi Kimbert,
My requirement is any "comma" in Text field should not be considered as delimiter. For this reason this is how I defined my DFDL:
<xsd:element dfdl:lengthKind=&quo ... |
Topic: Escaping a Character in DFDL |
TheYodas
Replies: 23 Views: 15071
|
Forum: WebSphere Message Broker (ACE) Support Posted: Sun Sep 28, 2014 6:09 pm Subject: Escaping a Character in DFDL |
Hi kimbert,
I have the right input message. There is no indicator in my case to indicator the next comma should not be interpreted as delimiter.
May I know the reason behind your doubt? |
Topic: Escaping a Character in DFDL |
TheYodas
Replies: 23 Views: 15071
|
Forum: WebSphere Message Broker (ACE) Support Posted: Fri Sep 26, 2014 2:13 pm Subject: Escaping a Character in DFDL |
Sorry for the delay.
Input Message:
16,115,10006218,S,0,9362257,643961,,0012345,NBR OF ITEMS: 11,PROCESS SITE: LONDON
Trace Node:
(0x01000000:Name):Transactions ... |
Topic: Escaping a Character in DFDL |
TheYodas
Replies: 23 Views: 15071
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Sep 24, 2014 1:58 pm Subject: Escaping a Character in DFDL |
Hi,
I have an DFDL parser which is ","(comma) delimited. In one of the field comma will appear within the value of the field, hence I have to escape the comma character for this field. Bu ... |
Topic: Defining BAI 88 Record(Continuation) using DFDL |
TheYodas
Replies: 16 Views: 34565
|
Forum: WebSphere Message Broker (ACE) Support Posted: Tue May 06, 2014 12:55 pm Subject: Defining BAI 88 Record(Continuation) using DFDL |
Thanks tim,
I am adding %LF to both 03 and 16 record.
Now, I am having issue with TranFundsType.
Valid Values are as follows :
0 = immediate availability (zero)
1 = one-day availability ... |
Topic: Defining BAI 88 Record(Continuation) using DFDL |
TheYodas
Replies: 16 Views: 34565
|
Forum: WebSphere Message Broker (ACE) Support Posted: Thu May 01, 2014 7:54 am Subject: Defining BAI 88 Record(Continuation) using DFDL |
I am still having issue parsing.
Here is my DFDL schema:
BAIFile:
<?xml version="1.0" encoding="UTF-8"?><xsd:schema targetNamespace="btmu:bai&qu ... |
Topic: Defining BAI 88 Record(Continuation) using DFDL |
TheYodas
Replies: 16 Views: 34565
|
Forum: WebSphere Message Broker (ACE) Support Posted: Wed Apr 30, 2014 8:16 am Subject: Defining BAI 88 Record(Continuation) using DFDL |
Thanks for your response and suggestion kimbert.
Actually, I did do the work around by reading as BLOB adn then reading record by record of 80 bytes each. And then for every record which has 88 rec ... |
Topic: Defining BAI 88 Record(Continuation) using DFDL |
TheYodas
Replies: 16 Views: 34565
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Apr 28, 2014 11:00 am Subject: Defining BAI 88 Record(Continuation) using DFDL |
Detailed Specs can be found at following location:
http://www.bai.org/operations/PDF/Cash_Management_2005.pdf |
Topic: Defining BAI 88 Record(Continuation) using DFDL |
TheYodas
Replies: 16 Views: 34565
|
Forum: WebSphere Message Broker (ACE) Support Posted: Mon Apr 28, 2014 10:47 am Subject: Defining BAI 88 Record(Continuation) using DFDL |
Hello,
I am modelling a BAI definition using DFDL. Here are the details about the definition.
The BAI file contains following records. A sample BAI
file is posted at the end.
88 Contin ... |