Re: Case of XML tags and attributes

From: Date: Sat, 15 Jul 2000 02:27:57 +0000
Subject: Re: Case of XML tags and attributes
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-24612@lists.php.net to get a copy of this message
Except for the fact that it appears that the XML Spec. says that "folding == uppercase", you'd be 100% right. On Fri, 14 Jul 2000, Paul DuBois wrote the following to Andrei Zmievski and...: > At 9:06 PM -0500 2000-07-14, Andrei Zmievski wrote: > >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 > > > If you want them folded, isn't it just a stylistic preference to > have them be lowercase? It can't make any functional difference > for them to be uppercase. > >

« previous php.dev (#24612) next »