Thursday, April 29, 2010

A mystery: AnteMeridiem and PostMeridiem

I was working with resource files (RESX) and been getting these obtuse messages.

 

  • Warning    4    The resource name 'AnteMeridiem ' is not a valid identifier.    \ContentPage.be.Resx
  • Warning    4    The resource name 'PostMeridiem ' is not a valid identifier.    \ContentPage.be.Resx  

Both are proper latin (for AM and PM) – and it’s a mystery why they are deemed to be invalid. To add more mystery to it – it only objects is some cultureinfo (languages).

Is this an easter egg????

1 comment:

  1. Maybe it's just a copy-and-paste or blog formatting error, but there's a trailing space inside the single quotes (after "Meridiem").

    ReplyDelete