On Nov 27, 2007, at 12:06 PM, Thomas Lotterer wrote:
>>>> On Tuesday, 27. November 2007 at 3:27 pm, Jeff Johnson wrote:
>> Originally, rpm tag names were case sensitive, just like any unix
>> input typically is.
>>
> And even XML is. Thinking towards XAR.
>
XML sez flat diddly about CDATA capitalization, and
choosing a canonical string representation is outside
the scope of XAR and XML, since the string can be
dynamically canonicalized whenever semantically.
>> So I ask:
>> should rpm interpret the following as different tags
>> arbitrary:
>> ARBITRARY:
>>
>> What say ye?
>>
> The above should be two different tags -> case sensitive
>
> In addition, a capitalization scheme known from Wikis would please my
> eye, e.g. BuildPreReq. Sounds like a can of worms being opened here.
>
The worms creep in iff there are no constraints or sensible guidance
imposed initially. I wish to get some sensible representation
in place first.
I'll make the canonicalization and comparison pluggable through
vectors, with defacto suggested default for canonicalization
being "Arbitrary", and xstrcasecmp being used for comparison
against the whilte list of arbitrary tags.
Thanks for the comments.
73 de Jeff
Received on Tue Nov 27 18:35:40 2007