Skip to content

Conversation

oziriemeka
Copy link

Fixes SimpleXMLElement::xpath(): Undefined namespace prefix when reading VML comments/shapes by registering x: (Excel) and o: (Office) namespaces alongside v:.

Includes:

  • tests/PhpSpreadsheetTests/Reader/Xlsx/Issue4505Test.php
  • tests/data/Reader/XLSX/issue.4505.xlsx

Refs: #4505

…ice#4505

Fixes SimpleXMLElement::xpath(): Undefined namespace prefix when reading VML comments/shapes by registering x: (Excel) and o: (Office) namespaces alongside v:.

Includes:
- tests/PhpSpreadsheetTests/Reader/Xlsx/Issue4505Test.php
- tests/data/Reader/XLSX/issue.4505.xlsx

Refs: PHPOffice#4505
@oleibman
Copy link
Collaborator

oleibman commented Oct 3, 2025

Thank you, I will study this over the weekend. Just to put your mind at ease, do not worry about the coverage failure; coveralls has been having a lot of troubles lately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants