[
https://issues.apache.org/jira/browse/DAFFODIL-2871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Thompson closed DAFFODIL-2871.
-----------------------------------
Verified the specified commit (commit cdb41212d755c45f23f981c395dd24ab56303b45)
is included in the latest pull from the daffodil repository.
Verified, via review, changes identified in the commit comment were
implemented.
Verified the affected daffodil subproject sbt test suites executed
successfully, including the added tests.
Verified the nightly test suite executes successfully with no unexpected
failures.
> No way to pad after affix if positive pattern does not have an affix in
> textNumberPattern
> -----------------------------------------------------------------------------------------
>
> Key: DAFFODIL-2871
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2871
> Project: Daffodil
> Issue Type: Bug
> Components: Front End
> Affects Versions: 3.6.0
> Reporter: Steve Lawrence
> Assignee: Steve Lawrence
> Priority: Major
> Fix For: 3.7.0
>
>
> ICU only uses the positive pattern of the textNumberPattern property to
> determine pad character and position, completely ignoring the negative
> pattern. If the positive pattern has no affix associated with the pad
> character, then there is an ambiguity if the pad character should appear
> before or after the negative affix when unparsing negative numbers. In this
> case, ICU defaults to before the affix, with no way to change it via the
> pattern. This effectively means it is not possible for ICU number padding to
> appear after a negative affix if there is no positive affix.
> We need a way to specify that ICU pad characters should apper after an affix
> if the positive pattern does not have an affix.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)