Summary: | WorkbookFactory.create bugs on Tomcat | ||
---|---|---|---|
Product: | POI | Reporter: | monnomiznogoud |
Component: | POI Overall | Assignee: | POI Developers List <dev> |
Status: | RESOLVED INFORMATIONPROVIDED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 5.0.0-FINAL | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All |
Description
monnomiznogoud
2021-06-23 12:41:17 UTC
It seems to be a QName problem. In Tomcat localName isn't enough, nameSpace is needed or something like that. Not only sheet names are affected, also reading cell values. For example a cell with a string is read as numeric; I guess it must be the string's hash or something. To sum it up there seems to be a problem getting nodes attributes by name. Could you try adding xerces 2.12 to the classpath to see if that helps? It seems possible that the XML parser that you are relying on has non-standard behaviour. (In reply to PJ Fanning from comment #2) > Could you try adding xerces 2.12 to the classpath to see if that helps? It > seems possible that the XML parser that you are relying on has non-standard > behaviour. Thanks, that solved the problem, although I do not know which parser was used before. I guess it must have been java's default parsers. |