pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #15820] Can not read sav file


From: John Darrington
Subject: Re: [bug #15820] Can not read sav file
Date: Sat, 25 Feb 2006 08:50:36 +0800
User-agent: Mutt/1.5.4i

On Fri, Feb 24, 2006 at 07:52:14AM -0800, Ben Pfaff wrote:
     
     > In view of this rather less than ideal design of SPSS system files, I
     > think the only thing we can do is to forget validation of variable
     > names when reading system files (or at least make the validation
     > rather sloppy). 
     
     How about if we disallow names that begin with the "forbidden"
     characters @ and #, but forgo other forms of validation?
     Allowing @ and # could throw a wrench into other code, but other
     "invalid" characters will just make it difficult or impossible to
     refer to those variables.


That sounds reasonable. It would cause a problem if there is a locale
which considers '@' and '#' to be alphabetic characters, but I'm not
aware of any such locale.  There may also be other characters that we
can safely disallow in any part of a name, for example '=', '+', '/'
etc.

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: pgp9vfLFkKbJq.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]