Summary: | Validation NameRange doesn't reconize 'dot' character | ||
---|---|---|---|
Product: | POI | Reporter: | renau.couture-legare |
Component: | XSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED WORKSFORME | ||
Severity: | regression | ||
Priority: | P2 | ||
Version: | 3.15-FINAL | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All |
Description
renau.couture-legare
2016-11-21 15:46:22 UTC
Do you have a piece of code that shows the changed behavior? A unit-test would be best so we can more easily reproduce this. https://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Name.html#setNameName(java.lang.String) Please see bug 56781 and bug 60246, which were fixed in 3.16 beta 1. These [1] are the rules that we have attempted to implement. If these rules have not been implemented correctly, then we need to fix it. [1] https://support.office.com/en-us/article/Define-and-use-names-in-formulas-4d0f13ac-53b7-422e-afd2-abd7ff379c64#bmsyntax_rules_for_names I interpreted the following rule to mean that a named range with the name of "." is not allowed. Is this named range allowed in Excel? If so, what versions (file format and application)? If this is the case, either I have misinterpreted this sentence or Microsoft's documentation is incorrect. > Valid characters > The first character of a name must be a > letter, an underscore character (_), or a > backslash (\). Remaining characters in the > name can be letters, numbers, periods, and > underscore characters.[1] [1] https://support.office.com/en-us/article/Define-and-use-names-in-formulas-4d0f13ac-53b7-422e-afd2-abd7ff379c64#bmsyntax_rules_for_names No update for quite some time, therefore setting this to WORKSFORME for now, please reopen if you think the current logic in the latest release is still broken. |