[jboss-dev-forums] [Design of JBossXB] - Re: Attributes problem
alex.loubyansky@jboss.com
do-not-reply at jboss.com
Fri Mar 7 05:01:30 EST 2008
adrian wrote : With the current rules it will parse the attribute and set it on the CDATA type
| (StringValueMetaData). But since there is no CDATA, it is child element
| instead, the attribute will be discarded and the child type used e.g. ListValueMetaData.
|
| We don't currently throw an exception for this. The spurious attribute is just ignored.
Yes, I understand this is what you need. But this, as a rule, looks very bizarre to me :) And I've been trying to make it more general hoping that it would make it less bizarre :) At least less bizarre to me and still do what you need :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134790#4134790
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134790
More information about the jboss-dev-forums
mailing list