[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Getting content of XML element
adrian@jboss.org
do-not-reply at jboss.com
Tue Mar 25 15:25:37 EDT 2008
"kabir.khan at jboss.com" wrote :
| I think the simple cases can be rewritten using Element for the nested data/transaction-attribute elements? They only map onto name/value pairs - the name of the tag being the name, and the content being the value.
|
| The SecurityClassMetaDataLoader needs replacing with something else, but it should be able to parse the style of xml shown. I don't see any other way at the moment than being able to take Element?
You can get JBossXB/JAXB to pass you the element. That's how we do the
old InvokerProxyBindings in EJB2, but then you have to parse it (again) yourself.
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/metadata/trunk/src/main/java/org/jboss/metadata/ejb/jboss/InvokerProxyBindingMetaData.java?revision=65629&view=markup
Of course this kind of usage of xml makes schema validation impossible
so lots of typos by the user unfortunatley. ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138809#4138809
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138809
More information about the jboss-dev-forums
mailing list