Re: simple redraft Re: Environment Variable Retrieval Spec
Uche Ogbuji <[email protected]>
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <[email protected]> |
John L. Clark wrote: > On Sat, Feb 18, 2006 at 12:24:34AM +0000, Colin Paul Adams wrote: > >> One thought has occurred to me. Environment variables are usually >> define in upper case, but not all O/Ss are case sensitive >> - Linux certainly is, but Windows is not. >> >> Should we change the specification to say that the local name should >> be upper-cased to determine the name of the environment variable? >> > > Well, that would exclude referencing environment variables with > lower-case letters on case sensitive systems. Should we just say that > implementations on case insensitive systems ought to compare the local > name to the environment variable name in a case insensitive manner? > I agree. Colin does raise an important point, but I think the only really sane thing to do is to make the matching implementation specific. Yeah, this isn't the best for compatibility, but I think there's not really much to be done about it. -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://fourthought.com http://copia.ogbuji.net http://4Suite.org Articles: http://uche.ogbuji.net/tech/publications/