note 29417 added to ref.xml
| From: | duerst at w3 dot org | Date: | Wed, 12 Feb 2003 22:28:34 +0000 |
| Subject: | note 29417 added to ref.xml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43850@lists.php.net to get a copy of this message | ||
"anony at mous dot com" said at http://www.php.net/manual/en/function.xml-parser-set-option.php
on 20-Apr-2000 06:26: "Disable case folding or your code will be violating the XML 1.0
specification."
This is very true, and very important. Any script that does not use something like
xml_parser_set_option ($xml_parser, XML_OPTION_CASE_FOLDING, FALSE);
immediately after every call to xml_parser_create() is in serious danger to create great confusion.
I cannot understand why the default for PHP is set to casefolding, and why this option is even
available in the first place. Element and attribute names in XML are NOT case sensitive, period.
--
http://www.php.net/manual/en/ref.xml.php
http://master.php.net/manage/user-notes.php?action=edit+29417
http://master.php.net/manage/user-notes.php?action=delete+29417
http://master.php.net/manage/user-notes.php?action=reject+29417