"adrian(a)jboss.org" wrote : The @XmlChild from some other part of the group
| needs to replace the CDATA. The CDATA and subelements are mutually
| exclusive. You can't have
|
| | <key class="java.lang.Integer">12
| | <list ...>
| | </key>
| |
|
| It doesn't make sense. :-)
Ok, if that doesn't make sense we can throw an exception. My question is then does the
following make sense? Not in the given MC example but in general. Can this be useful?
| <wrapper attr="val1">
| <child ...>
| </wrapper>
| <wrapper attr="val2">
| <wildcard-content ...>
| </wrapper>
| <wrapper attr="val3">12</wrapper>
|
My point was it didn't matter what the content of wrapper was, the attr should still
be set in the same way.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134779#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...