You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by GitBox <gi...@apache.org> on 2018/07/19 19:21:00 UTC
[GitHub] stevedlawrence opened a new pull request #85: Fix bugs associated
with truncateSpecifiedLengthString="yes"
stevedlawrence opened a new pull request #85: Fix bugs associated with truncateSpecifiedLengthString="yes"
URL: https://github.com/apache/incubator-daffodil/pull/85
- Check to make sure an explicit length string actually needs to be
truncated before trying to truncate it, otherwise it results in an
StringIndexOutOfBoundsException. We have the check for character
lengths, but were missing it for bit/byte lenghts.
- Allow truncateSpecifiedLengthString="yes" when
textStringJustification="center". This is legal according to the spec,
but should result in a processing error in cases where truncation is
needed.
DAFFODIL-1969
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services