Skip to content

Conversation

@alfsb
Copy link
Member

@alfsb alfsb commented Mar 9, 2025

DOMDocument->xinclude() returns negative numbers on partial executions, meaning that this return cannot be used for counting or stopping conditions on loops.

The old code sometimes reports errors of previous runs, also fixed.

The function xinclude_debug_report() can probably be removed, as the new warning reporting on failed XInclude now duplicated the errors, and is less expressive.

alfsb and others added 6 commits March 10, 2025 11:14
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
@alfsb alfsb merged commit 45f488c into php:master Mar 13, 2025
12 checks passed
@alfsb alfsb deleted the qax11 branch March 13, 2025 19:18
@alfsb
Copy link
Member Author

alfsb commented Mar 13, 2025

This fixed various real XInclude warnings, in almost all translations.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants