document #339
Clarify encodingErrorPolicy 'error' behaviour when pre-decoding data when parsing
Status: | closed | Start date: | 12/07/2018 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | DFDL v1.0 | |||
Document Type: | Proposed Recommendation |
Description
Pre-decoding will cause a processing error when encodingErrorPolicy is 'error'. Some useful libraries will inevitably pre-decode and we don't want to make DFDL implementations difficult to write by having rules that prevent such libraries from being used. Wording needs adding to section 11.2.1.1 to clarify the behaviour, eg:
"Implementations may pre-decode a limited number of characters for efficiency; however, such implementation-dependent pre-decoding can cause parse errors to be detected in some implementations of DFDL that are not detected by others.
Schema authors are advised not to rely on decoding errors for backtracking to control the behavior of the parser."
History
Updated by Michael Beckerle almost 3 years ago
- Target version set to DFDL v1.0
Updated by Michael Beckerle almost 2 years ago
- Status changed from submitted to closed
Moved to public comment here: https://github.com/OpenGridForum/Editor/issues/9
(Other formats not available in this archive.