I'm wondering... why doesn't the serializer (WTKXSerializer in my case)
set the properties of the object it is constructing in the
processStartElement method instead of processEndElement? I had to move
this initialization from the latter to the former in order to implement
some kind of scripting functionality or something. Something having to do
with having access to the object's properties while the script is running.
I don't know. That was last week. I can dig it up if necessary.
Anyway, I haven't run into any trouble with the change I made yet. It
seems to me having access to property values as soon as possible is a good
thing.
Cheers,
Michael
- earlier versus later property initialization Michael Allman
-