|Summary:||XSSFWorkbook ignores XSSFName's that have the same name|
|Component:||XSSF||Assignee:||POI Developers List <dev>|
|Attachments:||An example of getName error|
Description liad.matas 2014-09-08 17:30:16 UTC
Created attachment 31976 [details] An example of getName error Methods in XSSFWorkbook seem to ignore the fact that we can have several XSSFName's with the same name in different scopes. XSSFWorkbook.getName(String name), XSSFWorkbook.getNameIndex(String name), XSSFWorkbook.removeName(String name), and possibly other methods are affected by this. In the attachment you can see that getName returns the 1st XSSFName it finds. A better solution would be to return a collection of results.