[DFDL-WG] data where inactive escape character is to be retained
Mike Beckerle
mbeckerle.dfdl at gmail.com
Fri May 2 16:46:35 EDT 2014
We have data that has ; as separator and has fields that look like this:
abcd \; efgh
That's a single field.
The backslash escapes the ; so that the data is abcd ; efgh.
This same data set also has
abcd \n efgh
Here the backslash precedes an ordinary non-delimiter. The data is supposed
to be abcd \n efgh. That is, this data set requires the backslash to be
retained in the data when it is not preceding the start of a delimiter.
Am I missing something or is it impossible to model this?
It would seem there needs to be a flag to indicate whether the escape
characters that don't actually escape a delimiter are to be retained or
not.
Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology |
www.tresys.com
Please note: Contributions to the DFDL Workgroup's email discussions are
subject to the OGF Intellectual Property
Policy<http://www.ogf.org/About/abt_policies.php>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20140502/e6d7973a/attachment.html>
More information about the dfdl-wg
mailing list