Re: Case of XML tags and attributes

From: Date: Sat, 15 Jul 2000 02:10:15 +0000
Subject: Re: Case of XML tags and attributes
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-24606@lists.php.net to get a copy of this message
The manual says: The element handler functions may get their element names case-folded. Case-folding is defined by the XML standard as "a process applied to a sequence of characters, in which those identified as non-uppercase are replaced by their uppercase equivalents". In other words, when it comes to XML, case-folding simply means uppercasing. On Fri, 14 Jul 2000, Andrei Zmievski wrote the following to Joey Smith : > At 08:04 PM 7/14/00 -0600, Joey Smith wrote: > >xml_parser_set_option($parser_handle, XML_OPTION_CASE_FOLDING, 0); > > > >will make it go away. Why it is done at all is beyond me. > > Well, what if I want case-folding but expect all the tags to be lowercase? > I just wonder why expat does uppercase as default. > > -Andrei > >

« previous php.dev (#24606) next »