anonymous wrote : | Only thing is that the metadata becomes invalidatable... |
Correct. Now my next suggestion is to allow ANY content from all the way down from the root element... | <deployment> | <bean name="SimpleBean1" | bean="org.jboss.test.kernel.xml.support.SimpleBeanImpl"> | <property name="other"><dependency value="SimpleBean2"/></property> | </bean> | <bean name="SimpleBean2" | bean="org.jboss.test.kernel.xml.support.SimpleBeanImpl"> | <constructor> | <parameter type="java.lang.String">Bean2</parameter> | </constructor> | </bean> | </deployment> | Becomes... | <deployment> | <Import name = "org.jboss.test.kernel.xml.support.SimpleBeanImpl">SimpleBean</Import> | | <SimpleBean> | <Other ref = "bean2"/> | </SimpleBean> | | <SimpleBean name="bean2"> | <Constructor type = "String">Bean2</Constructor> | </SimpleBean> | | </deployment> | Wow.. that's almost readable... now if we could only get rid of those angled brackets.... So what's wrong with writing a custom parser/validator? :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870778#3870778 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870778 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
