RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Arbitrary tag names in rpm headers

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 29 Nov 2007 - 02:08:10 CET
Message-Id: <FBC1FDE3-7706-412F-900D-EA1F8A74307C@mac.com>

On Nov 28, 2007, at 7:53 PM, Michael Jennings wrote:

>
> Back when I wrote HTML, I used all-caps for tag and attribute names so
> they were easier to distinguish from attribute values and non-HTML
> data.  I was very angry when XML forced me to lower-case everything
> because the result was significantly harder to read (as most normal
> text and user data is lowercase and blended in with the tags).
>

Well, anger understood.

> My vote would be "case insensitive" for similar reasons:  it lets
> people capitalize freely, and it prevents the conflict/confusion which
> will result when somebody like SuSE comes along and decides to change
> case for some reason or when "Buildhost" does not match "BuildHost"
>

Unfortunately there are no case insensitive digests that I'm aware of.
One chooses a canonical representation, converts from whatever, then
computes a digest.

Sure on input case insensitivity will be arranged. But i need a  
canonical
form defined to compute the tag number to be associated with an
arbitrary tag, and that canonical form will likely be used as output  
display as well.

73 de Jeff
Received on Thu Nov 29 02:08:40 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.