#89 [NEW]: XML attribute names should not be treated as case-insensitive

From: Date: Sun, 12 Oct 2003 19:07:41 +0000
Subject: #89 [NEW]: XML attribute names should not be treated as case-insensitive
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22615@lists.php.net to get a copy of this message
From: c960657 at hotmail dot com Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: XML_Tree Bug description: XML attribute names should not be treated as case-insensitive Description: ------------ The Node::{get|set}Attribute() functions convert the attribute name to lower case before handling it. In XML attribute names are case-sensitive, i.e. <lorem foo="bar"> and <lorem FOO="bar"> are not equivalent. When called on the element <lorem foo="bar">, $node->getAttribute('FOO') currently returns "bar" which is wrong. Instead it should return NULL. -- Edit bug report at http://pear.php.net/bugs/bug.php?id=89&edit=1 --

« previous php.pear.dev (#22615) next »