Files
pandoc/test
Nacho García 1b31dce55d Xlsx reader: resolve package-absolute relationship targets. (#12018)
Relationship targets were turned into archive paths by prefixing
`xl/`. OPC also allows targets relative to the package root, starting
with `/`, and openpyxl (and so pandas) writes worksheet targets that
way, so every workbook they write failed with "Entry not found:
xl//xl/worksheets/sheet1.xml". A root relationship to
`/xl/workbook.xml` failed the same way.

Targets are now resolved as OPC specifies: a target starting with `/`
from the package root, any other relative to the folder of the part
that holds the relationship. This applies to the workbook, worksheets,
shared strings and styles.

The test fixture was written part by part with a Python script, using
absolute targets throughout.

Closes #12013.
2026-10-29 21:30:37 -07:00
..
…
…
…
…
…
…
…