[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: MC + JAXB (JBossXB Builder)
alesj
do-not-reply at jboss.com
Mon Jan 7 13:23:54 EST 2008
"adrian at jboss.org" wrote :
| I've just done that. But there are a number of problems still to resolve.
|
| 1) I don't know why but there is a change in the way JAXB was handling elements.
| e.g. I had to reinstate the "bean" element in BeanSchemaBindingHelper.configureValueBindings()
| But the same issue is broken for PolicySchemaBindingHelper in that it doesn't
| recognise the nested value in the BindingComplexValue test.
|
| 2) The new JAXB wasn't even working. I've udpated some of the none xml properties
| e.g. getChildren() on most of the metadata to mark it @XmlTransient.
| It can now actually build the schema ;-)
|
Uf, we were doing the same thing, and you beat me to it. :-)
I'll revert my changes, and do an update.
"adrian at jboss.org" wrote :
| There was some other fixes as well.
|
| 3) The remaining issues are the BeanFactory tests are all failing.
| And the way I did MapMetaData in the jbossxb is wrong.
| In the JBossXB tests I implemented it as a Set
| but this is obviously wrong, since it is a Map not a Set.
|
| The current way to markup a Map is to use XmlAdapter
| http://viewvc.jboss.org/cgi-bin/viewvc.cgi/common/jbossxb/trunk/src/test/java/org/jboss/test/xb/builder/object/element/javatypeadapter/support/
| But it would be better if we had native support like we do for collections.
|
Yup, I noticed that.
I can have a look at this.
"adrian at jboss.org" wrote :
| Off Topic. I'm seeing some other tests. e.g. the value-factory tests
| are failing because of AccessControlException when trying to get the classloader.
That's what I was explaining here:
- http://www.jboss.org/index.html?module=bb&op=viewtopic&t=125785&postdays=0&postorder=asc&start=0
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117658#4117658
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117658
More information about the jboss-dev-forums
mailing list