#26354 [Opn->Bgs]: <Address> forced to lower case
ID: 26354
Updated by: elmicha@php.net
Reported By: spam at tkz dot net
-Status: Open
+Status: Bogus
Bug Type: Output Control
Operating System: linux & windows xp
PHP Version: 4.3.3
New Comment:
Browser issue (at least Mozilla does this).
Previous Comments:
------------------------------------------------------------------------
[2003-11-21 14:46:56] spam at tkz dot net
accidently switched expected and actual results.
------------------------------------------------------------------------
[2003-11-21 14:45:23] spam at tkz dot net
Description:
------------
<?php
echo "<Address >blah</Address >";
echo "<Address>blah</Address>";
echo "<Add" . "ress>blah</Address>";
?>
displays:
<address>blah</address><address>blah</address><address>blah</address>
I can't seem to find a way to display Address as an XML tag. Somehow
it is automatically forced to be lower case! This is like a magic
number. If I mispell it then it comes through without modification, so
Address is a special case. I understand that functions are case
insensitive, but text shouldn't be case lowercase a magic word.
Reproduce code:
---------------
<?php
echo "<Address >blah</Address >";
echo "<Address>blah</Address>";
echo "<Add" . "ress>blah</Address>";
?>
Expected result:
----------------
<address>blah</address><address>blah</address><address>blah</address>
Actual result:
--------------
<Address>blah</Address><Address>blah</Address><Address>blah</Address>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26354&edit=1
Thread (3 messages)