php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81446 Several ext/xml tests fail when built against libexpat
Submitted: 2021-09-16 12:00 UTC Modified: -
From: cmb@php.net Assigned:
Status: Open Package: Testing related
PHP Version: master-Git-2021-09-16 (Git) OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cmb@php.net
New email:
PHP Version: OS:

 

 [2021-09-16 12:00 UTC] cmb@php.net
Description:
------------
TEST 3/44 [ext/xml/tests/bug26614.phpt]
========DIFF========
     CDATA
     <DATA> at line 2, col 0 (byte 45)
003+ </DATA> at line 9, col 0 (byte 89)
003- </DATA> at line 9, col 0 (byte 90)
     Comment
     <DATA> at line 2, col 0 (byte 45)
006+ </DATA> at line 9, col 0 (byte 89)
006- </DATA> at line 9, col 0 (byte 90)
     Text
     <DATA> at line 2, col 0 (byte 45)
009+ </DATA> at line 9, col 0 (byte 89)
009- </DATA> at line 9, col 0 (byte 90)
========DONE========

TEST 11/44 [ext/xml/tests/bug46699.phpt]
========DIFF========
001+ <a xmlns="http://example.com/foo"
002+     xmlns:bar="http://example.com/bar">
001- <a xmlns="http://example.com/foo" xmlns:bar="http://example.com/bar">
       <bar:b foo="bar">1</bar:b>
       <bar:c bar:nix="null" foo="bar">2</bar:c>
     </a>
========DONE========

TEST 25/44 [ext/xml/tests/bug81351.phpt]
========DIFF========
001+ xml_parse returned 1, xml_get_error_code = 0, xml_error_string =
002+ xml_parse returned 0, xml_get_error_code = 3, xml_error_string = no element found
001- xml_parse returned 1, xml_get_error_code = 0, xml_error_string = No error
002- xml_parse returned 0, xml_get_error_code = 5, xml_error_string = Invalid document end
========DONE========

TEST 35/44 [ext/xml/tests/xml_error_string_basic.phpt]
========DIFF========
001+ int(3)
002+ string(16) "no element found"
003+ int(4)
004+ string(31) "not well-formed (invalid token)"
     int(5)
006+ string(14) "unclosed token"
007+ int(30)
008+ string(31) "XML declaration not well-formed"
009+ int(7)
010+ string(14) "mismatched tag"
002- string(20) "Invalid document end"
003- int(47)
004- string(35) "Processing Instruction not finished"
005- int(57)
006- string(28) "XML declaration not finished"
007- int(64)
008- string(17) "Reserved XML Name"
009- int(76)
010- string(14) "Mismatched tag"
========DONE========

TEST 44/44 [ext/xml/tests/xml_set_start_namespace_decl_handler_basic.phpt]
========DIFF========
--
     ...Uri: http://www.somewhere.com/namespace1
     Namespace_Start_Handler called
     ...Prefix: aw2
009+ Namespace_End_Handler called
010+ ...Prefix: aw2
011+
012+ Namespace_End_Handler called
013+ ...Prefix: aw1
014+
     Done
========DONE========




Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Oct 25 18:03:49 2021 UTC