Hi Folks, Suppose I have comma-separated records and the second field of each record may have an escape block (quote is the begin and end escape character). Here's a sample instance:
a,b,c d,"e,f,g",h Clearly the second field of the first record does not need the escape block. Parsing produces: <csv> <record> <field>a</field> <field>b</field> <field>c</field> <record> <record> <field>d</field> <field>e,f,g</field> <field>h</field> <record> </csv> If the DFDL schema specifies generateEscapeBlock="always", then as I understand it unparsing will always escape the second field even if it's not needed. Do I understand correctly? So, the output of unparsing is: a,"b",c d,"e,f,g",h Notice that the second field of the first record is now escaped even though it's not needed. If my understanding is correct, then Daffodil v3.0 is not behaving correctly since it produces: a,b,c d,"e,f,g",h Thoughts? /Roger