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.
pgpDgOj3rO4de.pgp
Description: PGP signature
_______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
