From: <ad...@jb...> - 2005-05-10 19:43:59
|
Actually, it looks like I spoke too soon. e.g. What is a good format for defining a map that has non-trivial objects in the key as well as the value. | <map> | <entry> | <key><set><value>1</set></key> | <value>collection><value>2</value></collection></value> | </entry> | </map> | Perhaps this is such a stupid use case we shouldn't support it, and just incorporate the key into the entry i.e. only support trivial keys: | <map> | <entry key="1" class="java.lang.Integer"> | <collection><value>2</value></collection> | </entry> | </map> | I think this would also solves the parsing problem, mentioned above. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877241#3877241 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877241 |