-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xinclude destroys live node #17847
Labels
Comments
Looks like a variant of #14702 but with the node reference existing in the xinclude element outside of the fallback. |
nielsdos
added a commit
to nielsdos/php-src
that referenced
this issue
Feb 21, 2025
dom_xinclude_strip_fallback_references() now also takes into account xi:include nodes children. This now subsumes all work done normally by the old start/end node removal, so we can remove that code and start using XML_PARSE_NOXINCNODE.
nielsdos
added a commit
that referenced
this issue
Feb 21, 2025
* PHP-8.3: Fix GH-17847: xinclude destroys live node
nielsdos
added a commit
that referenced
this issue
Feb 21, 2025
* PHP-8.4: Fix GH-17847: xinclude destroys live node
charmitro
pushed a commit
to wasix-org/php
that referenced
this issue
Mar 13, 2025
dom_xinclude_strip_fallback_references() now also takes into account xi:include nodes children. This now subsumes all work done normally by the old start/end node removal, so we can remove that code and start using XML_PARSE_NOXINCNODE. Closes phpGH-17878.
nielsdos
added a commit
to nielsdos/php-src
that referenced
this issue
Mar 17, 2025
Follow-up for phpGH-17847 but now for attributes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The following code:
Resulted in this output:
To reproduce:
Commit:
Configurations:
Operating System:
This report is automatically generated by FlowFusion
Related: #17188, #16777
PHP Version
8af9042
Operating System
No response
The text was updated successfully, but these errors were encountered: