--On Tuesday, April 11, 2006 11:20 PM -1000 Austen Ito <[EMAIL PROTECTED]> 
wrote:

Right now the default runtime string in XmlData is set to "runtime".  If we 
want to
make it a convention to have "runTime" as the default runtime string I can 
change it.


I can tell we're entering a period of endless misery here. :-)

Yes, Austen, please change XmlData to use "runTime" as the attribute. As of our meeting last week, that is the New Official Scrabble Dictionary Approved spelling of runTime.

To hopefully help deal with this problem, I've just committed a new SensorDataPropertyMap method called "getRunTime()". This method tries getting the value associated with the key "runTime", and if there is none, tries "runtime" as well. Analyses that want the runTime property can use this method to avoid having to deal with this issue.

Note that since properties are by definition "optional", analysis code should not be written to bomb out if the optional property is not present. Just discard data that does not contain it.

Cheers,
Philip

Reply via email to