[jboss-dev-forums] [Design of JBossXB] - Re: Attributes problem

alex.loubyansky@jboss.com do-not-reply at jboss.com
Fri Mar 7 05:47:19 EST 2008


I am fine the structure of the schema. The bizarre thing is how it is treated during unmarshalling. I am for ease of use too and clarity. But I don't know what "correct" is :)

We need to set attributes on a node that don't belong to that node. Ok. What is confusing to me is why only on CDATA and not others?
Especially in the way you just wrote the schema: the cdata is a node on the same level as other elements. Why the attribute is lost on others?

All I want to know is whether there is any other reason than "I don't need it in my example"?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134801#4134801

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134801



More information about the jboss-dev-forums mailing list