|
From: Rod J. <rod...@in...> - 2003-05-30 15:23:42
|
JP, I still think that interpreting the contents of a tag differently depending on its context is inelegant, and hard to validate. Regards, Rod ----- Original Message ----- From: "JP Pawlak" <jp....@ti...> To: "Spring Developers" <spr...@li...> Sent: Friday, May 30, 2003 3:12 PM Subject: [Springframework-developer] value/ref > Hi Rod, everybody, > > You will say I come back with an old horse and continue to discuss what > I approved, but I prefer clarify now than when code is written. > > As the XML goes to complexify, we have almost everywhere to handle with > ref/values and constantly mix both. > Why not have a single tag with an optional ref attribute. In a SAX > handler, it is only a matter of switching depending of the presence of > the ref attribute instead of treating two diffrerent events. > > Can you done an example for which a single tag is not so handy as two? > > Regards > _____________________________ > Jean-Pierre Pawlak > jp....@ti... > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |