One of my favorite RSS display programs is picky, and displays (Invalid Date) on the
items' date entries. Investigation into this revealed that it insists on the correct
format of the dc:date element in the item's header.
This is specified by ISO 8601, which in turn refers to the W3C standards, which indicate
that the separator between the date and time fields, which for most sane people is a
space, must be an upper-case 'T'.
I dutifully changed XWiki.WebRssCode and XWiki.BlogRssCode, et voilĂ : no more error, just
nice date/time fields.
Life is good - until my sysadmin starts complaining about megabytes per minute of logfile
accumulation, resulting from 20 60+-line exception stack traces per RSS request. I look
at the logs and what do I see? Each one is a complaint from
java.text.SimpleDateFormat.compile:
java.lang.IllegalArgumentException: Illegal pattern character 'T'
I have sought in vain for how to get this 'T' into the default pattern character
array. It looks like it could be one of the things I can set in the Locale, but I have so
far failed to figure out where the defaults are located or what key they have.
Any clues?
Brian M. Thomas - Senior Technical Architect
AT&T Services, Inc.
One SBC Center, Room 24D3
St. Louis, MO 63101
314 235 3141