[Zope] Re: Quoting

Chris Withers chrisw@nipltd.com
Tue, 17 Oct 2000 13:03:18 +0100


Dieter Maurer wrote:
> Where would you use this "id_quote"?
> The only useful place might be the action of an object creation
> or renaming.

Exactly...

> However, I am not sure, that I would prefer to get a strangely
> encoded id rather than an exception that tells me some characters
> are not allowed in Id's.

But if you're automatically creating ids from text people have typed in
(and they'll never need to know the id's) it seems nicer to me for the
id to be automatically mangled to what it needs to be ratehr than
throwing a confusign error (which doesn't actually tell you which
character(s) are not allowed, IIRC)

cheers,

Chris