Java ApachePOI是否与XalanJAR有任何依赖关系?

Java ApachePOI是否与XalanJAR有任何依赖关系?,java,excel,apache-poi,xalan,Java,Excel,Apache Poi,Xalan,我们正在使用poi在UNIX平台中生成Excel文件报告。删除xalan.jar时遇到问题。在检查apache poi运行时依赖项页面时,我们找不到提到的任何依赖项。我们正在使用apache poi 4.1.2 ApachePOI是否与XalanJAR有任何依赖关系? 删除xalan.jar后,即使生成的xlsx大小相同,但在打开时,我们得到以下错误 “Excel无法打开文件'XRFWIN_410613396.xlsx',因为文件格式或文件扩展名无效。请验证文件是否已损坏,以及文件扩展名是否与文

我们正在使用poi在UNIX平台中生成Excel文件报告。删除xalan.jar时遇到问题。在检查apache poi运行时依赖项页面时,我们找不到提到的任何依赖项。我们正在使用apache poi 4.1.2

ApachePOI是否与XalanJAR有任何依赖关系? 删除xalan.jar后,即使生成的xlsx大小相同,但在打开时,我们得到以下错误

“Excel无法打开文件'XRFWIN_410613396.xlsx',因为文件格式或文件扩展名无效。请验证文件是否已损坏,以及文件扩展名是否与文件格式匹配。”

我们提取并比较了使用和不使用xalan生成的Excel文件

对于错误场景,生成的xml是(没有xalan)


而在成功案例中,它的生成如下(使用xalan)


错误场景不包括“id”、“目标”和“类型”


您能在这方面帮助我们吗。

xerces和xalan是两个XML解析器,通过java SPI在声明性问题中查找,其中一个将被使用。检查差异,可能使用了xalan的特定功能。Xalan离开后,您又回到了哪个XML库?
<?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
<Relationship ="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"/>
<Relationship ="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"/>
<Relationship ="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"/></Relationships>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
<Relationship Id="rId1" Target="xl/workbook.xml" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"/>
<Relationship Id="rId2" Target="docProps/core.xml" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"/>
<Relationship Id="rId3" Target="docProps/app.xml" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"/></Relationships>