-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Test failures with upcoming libxml2 2.14 #18009
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
Comments
Thanks for the heads up and for even triaging it! |
It looks like GNOME/libxml2@1f5b537 broke two soap tests as well:
I haven't yet figured that out, I will first commit the test fixes. |
@nwellnhof Just reverting this part of the diff fixes the soap tests: GNOME/libxml2@1f5b537#diff-65f1a082f56ebd52b4eaabdbe54d6e516736c8d9186b8c82c8ca55ad3cac105eL4913-R4934 (you need to scroll down manually to see the highlighted area) I don't know the details (yet) about this libxml code, and I don't have a reduced reproducer yet. Maybe you intuitively see the problem? |
|
The analysis above is wrong. The "keepBlanks" behavior has always been enabled if the |
Should be fixed in libxml2 here: https://gitlab.gnome.org/GNOME/libxml2/-/commit/8696ebe182b9867cbded474e1a977664d3e0e144 I also added the PHP tests to the libxml2 CI tests: https://gitlab.gnome.org/GNOME/libxml2/-/commit/5338e43f1531f449f320e7be05ae69834be03d1a Everything is green: https://gitlab.gnome.org/GNOME/libxml2/-/jobs/4855772 |
Thanks a lot Nick, works here too! |
Description
I just ran the php-src test suite against the libxml2 master branch from which the 2.14.0 release will be cut soon. This resulted in a few errors in HTML tests. All these errors are expected after making libxml2's HTML parser more HTML5-conformant.
Several non-standard warnings were removed:
NUL bytes are handled properly:
Creation of non-standard "implied"
<p>
tags was removed:The tokenizer now conforms to HTML5:
PHP Version
8.5.0-dev
Operating System
No response
The text was updated successfully, but these errors were encountered: