[jboss-dev-forums] [Design of JBossXB] - Re: Recent tests

alex.loubyansky@jboss.com do-not-reply at jboss.com
Wed Dec 6 15:13:01 EST 2006


I've implemented handling of complex type with simple content that have only attributes of type xsd:ID as simple types. And created a config option for this simpleContentWithIdAsSimpleType which is true by default. But if there is a ClassMetaData associated with the type, the value of the option is ignored.

I don't like the fall back approach, i.e. if the type is complex and the class resolution failed then try handling it as a simple type. Is there a real use-case where it's useful?

Haven't committed yet. Still thinking.


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

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



More information about the jboss-dev-forums mailing list