VOEvent working draft published: version, param

Alasdair Allan aa at astro.ex.ac.uk
Sat Jun 25 04:09:45 PDT 2005


> Now this is the bit of your argument I don't get, Al. are you really saying
> that it takes less time to act upon: 
>   <param name="ActionItem" value="HoistTheMainsail" ucd="ship.sail.action"
> />
> than:
>   <shipns:ActionItem>
>     HoistTheMainsail
>   </shipns:ActionItem>
> or, if you want to keep the weak typing:
>   <shipns:ActionItem value="HoistTheMainsail" />
> ?
> 
> Sorry, I don't buy that. In the case of the <param> you need to find all the
> <param> elements during the record parsing, match the names against your
> internal lookup table of names you understand and then act upon them, while
> with the simple element inclusion the action is fired when the record
> parsing hits the recognised element. The latter has to be significantly
> faster.

That depends on whether you're using a SAX or DOM based parser, surely?

Al.



More information about the voevent mailing list