Bug #73053 [Com]: XML reader with setSchema now fails under 5.6.25

From: Date: Thu, 10 Aug 2023 13:22:06 +0000
Subject: Bug #73053 [Com]: XML reader with setSchema now fails under 5.6.25
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-245151@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73053&edit=1

 ID:                 73053
 Comment by:         asdasuh at gmail dot com
 Reported by:        bruceleister at gmail dot com
 Summary:            XML reader with setSchema now fails under 5.6.25
 Status:             Suspended
 Type:               Bug
 Package:            XML Reader
 Operating System:   Windows Server 2012R2 Standard
 PHP Version:        5.6.25
 Block user comment: N
 Private report:     N

 New Comment:

'Test Results,' 'Customer Survey' is well executed and written. 
Recently, I had to take my publix Customer Experience survey at the official survey portal
Publixsurvey.online to share my honest feedback about the shopping experience. After shopping,
Don't miss the chance to win a $1000 Sweepstakes Gift card by taking the Publix Survey.
Survey portal for publix customers https://github.com.php)(https://publixsurvey.online/)


Previous Comments:
------------------------------------------------------------------------
[2016-09-10 22:24:07] cmb@php.net

Added a test case: <http://git.php.net/?p=php-src.git;a=commit;h=326a4e38>.

------------------------------------------------------------------------
[2016-09-10 19:38:50] cmb@php.net

I have submitted PR <https://github.com/winlibs/libxml2/pull/2>.

I'm suspending this ticket until the issue will be fixed with a
new libxml2 release.

------------------------------------------------------------------------
[2016-09-10 15:19:46] cmb@php.net

I can reproduce the issue as of PHP 5.6.23. The culprit is libxml2
2.9.4, which introduced a severe regression with regard to XSD
schema validation[1].

As libxml2 2.9.4 fixed several security issues, I don't think it
would be good to switch back to 2.9.3 for now, but perhaps a
bugfix in winlibs/libxml2[2] would be appropriate, so that PHP
5.6.26+ could be shipped with working XSD validation even if no
new libxml2 version would be released in the meantime).

[1] <https://bugzilla.gnome.org/show_bug.cgi?id=766834>
[2] <https://github.com/winlibs/libxml2>

------------------------------------------------------------------------
[2016-09-10 00:53:19] cmb@php.net

Thanks! I'll have a look at it ASAP.

------------------------------------------------------------------------
[2016-09-10 00:39:04] bruceleister at gmail dot com

Thanks for looking at this,

I saw the point increase of libXMl2, but I'm running on Windows pre-build binaries, so can not
change the build.

I have sent sample files via email from my work's email

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=73053


--
Edit this bug report at https://bugs.php.net/bug.php?id=73053&edit=1


Thread (9 messages)

« previous php.bugs (#245151) next »