[Cosmo-dev] eim timestamp format
Phillip J. Eby
pje at telecommunity.com
Wed Jan 3 17:55:55 PST 2007
At 05:14 PM 1/3/2007 -0800, Brian Moseley wrote:
>On 1/3/07, Phillip J. Eby <pje at telecommunity.com> wrote:
>
>>I don't see any problem with it, although it seems to me that there's no
>>reason to have a primitive type for it in that case; we might as well just
>>use a "Decimal" subtype with an appropriate number of digits, and no
>>decimal places.
>
>ok.
>
>> (In a similar way to how we currently represent UUIDs as a
>>"Bytes" subtype.)
>
>you are? i have uuids as strings. if we make them bytes, then we have
>to base64 encode the uuids when writing out the xml.
Hrm... Morgen, I just looked and you're currently serializing bytes in
EIMML as though they were text... we should probably:
1. base64 Bytes values
2. base UUIDs off of Text instead of Bytes :)
More information about the cosmo-dev
mailing list