php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72473 different case tag vs xml file for xml_parser
Submitted: 2016-06-23 01:51 UTC Modified: 2016-07-10 01:43 UTC
From: jim dot michaels at Jesusnjim dot com Assigned:
Status: Closed Package: XML related
PHP Version: 7.1.0alpha1 OS: vista32,pae amd
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: jim dot michaels at Jesusnjim dot com
New email:
PHP Version: OS:

 

 [2016-06-23 01:51 UTC] jim dot michaels at Jesusnjim dot com
Description:
------------
the case of var_dump() of an XML element in $xmlArray's ['tag'] is different than xml file's tag. xml is supposed to be all lower case, or maybe it is even case sensitive. w3.org has appropriate spec, but it is licensed in a visually intrusive way, which I am hoping will go away or be rewritten to require less support costs.

Expected result:
----------------
either all lower case or same case as source xml file.

Actual result:
--------------
(
    [tag] => VISITOR
    [type] => complete
    [level] => 5
    [attributes] => Array
        (
            [PRIORITY] => 0.8
            [HREF] => /studies/personal/joy.html
            [TITLE] => Joy
        )

)

[tag]: wrong case

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-06-23 02:59 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2016-06-23 02:59 UTC] requinix@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2016-07-03 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2016-07-10 01:43 UTC] jim dot michaels at Jesusnjim dot com
-Status: No Feedback +Status: Closed
 [2016-07-10 01:43 UTC] jim dot michaels at Jesusnjim dot com
the following tags are wrong case:
[tag] wrong case
[attributes][attribute_name] wrong case
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Jan 18 17:03:14 2022 UTC