Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by MaryamMoazeni: http://wiki.apache.org/ws/MaryamMoazeni/GSoC2006 ------------------------------------------------------------------------------ This is the Wiki page for the Google Summer of Code Project to improve Axis2Databinding. - '''Student: ''' Maryam Moazeni + '''Student: ''' Maryam Moazeni (mmoazeni at gmail dot com) '''Mentor: ''' Davanum Srinivas @@ -58, +58 @@ I am wondering what are the restrictions one can impose in complex content other than removing optional elements in the base type? For instance, what happens when the base type is '''anyType'''? + To answer my question, I looked for a more formal definition for "inheritance by restriction". I found that : "Inheritance by restriction is when a new content model is defined that is guaranteed to be a subset of the base content model." + Therefore, The set of instances permitted by the '''derived type''' is a subset of the set of instances permitted by the '''base type'''. + + Therefore, I have to find about the '''anyType''' issue. Any Thoughts?!! :) + '''[7/01/2006]''' There's a whole different scenario for Simple Content extension, since there's no elements permitted in the Simple Content ( only attributes & text ). In this case, '''nested classes''' are used instead of inheritance. This is an example tested by XMLBeans: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
