You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The characters to escape are hard-coded in IBM_EDI_Format.dfdl.xsd. This means that during unparsing, when non-default delimiters are used, characters which should not be escaped are escaped anyway.
Solving this bug is tricky because there isn't an easy way to dynamically set the characters to be escaped from the DFDL schema. This issue has been reported to the Daffodil team and a JIRA issue was created.
To Reproduce
Go to the XML-to-EDI example and remove the workaround that declares a new escape scheme. Run the example and the following will be printed to the console:
HDR*1*0*59.97*64.92*4.95*Wed Nov 15 13?:45?:28 EST 2006
CUS*user1*Harry^Fletcher*SD
ORD*1*1*364*The 40-Year-Old Virgin*29.98
ORD*2*1*299*Pulp Fiction*29.99
Expected behavior
Referencing the earlier example, the expected output should be:
HDR*1*0*59.97*64.92*4.95*Wed Nov 15 13:45:28 EST 2006
CUS*user1*Harry^Fletcher*SD
ORD*1*1*364*The 40-Year-Old Virgin*29.98
ORD*2*1*299*Pulp Fiction*29.99
Environment
Smooks: 2.0.0-RC3
The text was updated successfully, but these errors were encountered:
Describe the bug
The characters to escape are hard-coded in
IBM_EDI_Format.dfdl.xsd
. This means that during unparsing, when non-default delimiters are used, characters which should not be escaped are escaped anyway.Solving this bug is tricky because there isn't an easy way to dynamically set the characters to be escaped from the DFDL schema. This issue has been reported to the Daffodil team and a JIRA issue was created.
To Reproduce
Go to the XML-to-EDI example and remove the workaround that declares a new escape scheme. Run the example and the following will be printed to the console:
Expected behavior
Referencing the earlier example, the expected output should be:
Environment
The text was updated successfully, but these errors were encountered: