"adrian(a)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(a)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/...
| 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(a)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&a...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117658#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...