GitHub user mbeckerle reopened a pull request:
https://github.com/apache/incubator-daffodil/pull/6
Eliminate spurious SDE when using lengthKind pattern on all-text file.
DAFFODIL-1864
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mbeckerle/incubator-daffodil support/v2.0.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-daffodil/pull/6.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6
----
commit 22b7bc7238a5434570ebd088357c9f25bf09a8c9
Author: mbeckerle <[email protected]>
Date: 2017-11-22T18:18:00Z
Eliminate spurious SDE when using lengthKind pattern on all-text file.
The isScannable computation is incorrect. For entirely textual formats
in one encoding it still comes up with isScannable false.
This causes a SDE if you are using lengthKind pattern. The SDE says the
data must be scannable in order to use lengthKind pattern.
DAFFODIL-1864
----
---