> > What if we got rid of the setter of $datapath, and make setDatapath > check for the $datapath attribute if there is one. The compiler can always > > place a value in the "datapath" attribute, in both the case of a > <datapath> > tag, or 'datapath' attribute. If there is a <datapath> tag, the xpath will > be placed in the "datapath" attribute, and the complete set of args will > be placed in the $datapath attribute. That way the setDatapath setter gets > triggered in all cases where you specified a datapath. > > I'm going to try this. The only worry I have is if someone is > depending on the "earlySetter" behavior somehow. It would be bad if > they are, because the behavior is different in the two cases. >
Or alternatively move the setDatapath setter to be an early setter , and merge it with the __LZmakeDatapath setter? > > -- > Henry Minsky > Software Architect > [EMAIL PROTECTED] > > -- Henry Minsky Software Architect [EMAIL PROTECTED]
