Hi Michael,

On Sat, Aug 25, 2012 at 08:53:34AM +0100, Michael Bauer wrote:
> Good point actually, this XML set was done such a long time ago...
> Two questions

I'm no expert here, I just happen to know C++ and how to build AOO ;)
Nevertheless I'll try to search in the source and answer as far as
I could understand


> 1) Does AOO handle the abbreviations the same way as CLDR? For
> example, if CLDR has dd/MM/yyyy but the AOO has DD/MM/YYYY, does
> that produce the same output?

The DTD doesn't say this explicitly, but all instructions are uppercase
for both date and time format. You can find the DTD in
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/i18npool/source/localedata/data/locale.dtd?revision=1292501&view=markup#l234
It has some interesting comments and hints, like the one for
OOO_ENABLE_LOCALE_DATA_CHECKS

> 2) If it says
> default="false"
> does that mean the format is ignored completely or just not the
> default format?

default="false" means it's not treated as the default format for that
usage and type. Note that there can be only one default="true" per usage
and type, according to
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/i18npool/source/localedata/LocaleNode.cxx?revision=1198251&view=markup#l652


> I may have to tweak, depending on the answer to either question, sorry.

Once you attach the new version to the bug, I can commit this in trunk
and you can try it with a nightly build; unfortunately, the only build
bot finishing its build is the Linux 64 bits bot.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: pgpddXRKkoaoC.pgp
Description: PGP signature

Reply via email to