|
From: nicolas de l. <nic...@gm...> - 2007-02-23 07:50:13
|
I'd suggest to use '#' or '@' as an alternative, but any other char could do the job - ref="#myFactory" - ref="!myFactory" - ref="^myFactory" - ref="@myFactory" ... 2007/2/22, Rod Johnson <ro...@in...>: > > I agree. The ampersand (which Juergen didn't much like at the time back > in early 2003) probably wasn't one of my better decisions :-) > > Juergen Hoeller wrote: > > I agree that "&" is not that great a choice given XML as primary > > configuration format, so I guess supporting an alternative marker for > > nicer references in XML would be worthwhile. > > > > Syntax suggestions? Other opinions? > > > > Juergen > > > > > > ------------------------------------------------------------------------ > > *From:* spr...@li... > > [mailto:spr...@li...] *On > > Behalf Of *nicolas de loof > > *Sent:* Tuesday, February 13, 2007 9:16 AM > > *To:* spr...@li... > > *Subject:* [Springframework-developer] FACTORY_BEAN_PREFIX > > > > Hello, > > > > I'd like to suggest to define an alternative value for > > BeanFactory.FACTORY_BEAN_PREFIX as "&" is the XML entity prefix. > > > > To use this prefix in a spring XML context it is required to setup > > something like : > > > > <property name="" ref="&ID" /> > > > > Doesn't look very nice. > > > > Having a second prefix supported by spring XML-based applicationcontext > > would make this cleaner. > > > > Nico. > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys-and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |