note 29417 deleted from ref.xml by didou
| From: | didou@php.net | Date: | Thu, 03 Feb 2005 19:42:58 +0000 |
| Subject: | note 29417 deleted from ref.xml by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-84458@lists.php.net to get a copy of this message | ||
Note Submitter: duerst at w3 dot org
----
"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.