[jboss-dev-forums] [Design of JBossXB] - Re: 2 root elements question
jeff.zhang
do-not-reply at jboss.com
Mon Feb 9 08:26:29 EST 2009
Hi Alex,
Could you give me some tip about how to use this feature in the metadata test framework?
Almost testcase use like this:
public static SchemaBindingResolver initResolver()
{
DefaultSchemaResolver resolver = new DefaultSchemaResolver();
resolver.addClassBindingForLocation("jboss-ds_5_0.xsd", ManagedConnectionFactoryDeploymentGroup.class);
return resolver;
}
And unmarshal.
I tried and another root element class into resolver, but testcase fail. I saw your change (Revision 2956) only modify JBossXBBuilder and JBossXBNoSchemaBuilder. That mean the testcase should use these XBBuilder directly? Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208197#4208197
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208197
More information about the jboss-dev-forums
mailing list