[Design the new POJO MicroContainer] - Re: MC + JAXB (JBossXB Builder)
by adrian@jboss.org
"alesj" wrote : "adrian(a)jboss.org" wrote :
| | 3) ... update the Spring parsing.
| |
| Do we really want to also re-write Spring schema into JBossXB Builder annotated metadata, hence removing the .xsd file?
|
It's not removed. Its just used for validation during parsing.
In princple we could also map the same classes to the spring namespace
or the unqualified namespace (and use the Spring schema)
if that is what Spring actually uses.
anonymous wrote :
| I don't really want to modify/remove anything that exists in Spring.
| But on the other hand, we're already doing that by shipping slightly modified schema file (due to that fix with infinity * infinity).
|
| Doing that also defeats the purpose of having single metadata to handle both schemas, MC and Spring's.
| Since the functionality is almost the same, it's the attribute and element names that differ.
|
I'm not going to maintain two sets of xml parsing going forwards.
If you want to copy the schema initialzier into the Spring project
and try to keep it in step that's fine. But don't come crying to me
when it breaks. ;-)
You should at least change it to use the BeanMetaDataBuilder. ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133713#4133713
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133713
16 years, 2 months