From: Colin P. A. <co...@co...> - 2008-01-03 06:56:24
|
>>>>> "Eric" == Eric Bezault <er...@go...> writes: Eric> Colin Paul Adams wrote: Eric> I can see that people who don't care about XSLT and XPath Eric> will have more classes to compile. Will there be people who Eric> will use these new functionalities in the date/time library Eric> and not the xslt/xpath libraries? >> >> Yes. Eric> Who? Me for one. I don't want to have to run an XSLT transformation just to format a date. And Mauricio thought it was a very good idea, which is why he asked me to implement it. You have received emails about this haven't you? >> The refactoring is precisely so you DON'T have to compile the >> XPath and XSLT libraries in to your application to get these >> formatting routines. Eric> But now even if you don't need these functionalities you Eric> have to compile regexp and math when you use the date/time Eric> library. Which is better? The latter, as they are much smaller. But perhaps there should be a separate formatting library, with a time cluster within it. I think that makes a lot of sense. Another thing I have long wanted to do sometime (but not now), is to generate Eiffel classes from the Common Locale Database Repository (Unicode CLDR project - see http://www.unicode.org/cldr/), and it probably makes sense for that to be another cluster in the same library. -- Colin Adams Preston Lancashire |