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

Re: xmlspec Update



On Thu, 2002-05-30 at 15:04, Jeff Johnson wrote:
> I'd *love* to tighten up the parser, but here's the current rules
> for character set usage in name-version-release:
> 
> 	0) Anything that's not forbidden is allowed.
> 
> 	1) The '-' character is forbidden in version and release.
> 
> So that check is already implemented, perfectly I might add.

I wasn't thinking about that specific check, but since you brought it
up, how about adding all characters on an standard American English 101
key keyboard besides A-Z a-z . _ - and 0-9 to the forbidden list? 
And/or making the allowed list only have characters that are printable
(e.g. isgraph())

Thanks.
Peter





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