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

------------------------------------------------------------------------------
  In the case of Complex Content restriction, overriding the '''setter''' of 
the restricted element seems to be the right solution. XMLBeans doesn't go with 
this solution, but seems this methods is more preferable since ADB is aimed to 
be a lightweight schema compiler/Java bean generator. 
  
  The overridden '''setter''' is always expected to return '''null'''. 
- So, I think in the DOM tree we should have the "property" node for each 
element of the base type, but we can add the right attributes to indicate that 
this element is restricted and its '''setter''' should be overridden and return 
'''null'''.
+ So, I think in the DOM tree we should have the "property" node for each 
element of the base type ( removed or not removed ), but we can add the right 
attributes to indicate that this element is restricted and its '''setter''' 
should be overridden and return '''null'''.
  
  I am wondering if removing optional elements in the base type is the only 
restriction one can impose?
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to