Andy wrote:-> 
> Complexity of design or of implementation? If it's complexity
> of implementation, why do we need a new design?
> 

I feel, due to design, implementation was unnecessary duplicating the code to do the 
same 
stuff (Facet checks). While in new simpleType, we tried to remove it. But still 
providing 
the same as in previous design: 

  public Object validate (String, ValidateContext) throws 
InvalidDatatypeValueException;
  
Here, ValidateContext is to take care of ID/IDREF/ENTITY etc. 

>
> But the point that I'm trying to make is that I don't think
> that the new design is less complex. Exactly how is the new
> design simpler and easier to maintain?

For maintainability, we tried to put facet checking & validation in one place.Thought 
is, 
it will be easy for any developer to maintain. But i would like to know the 
complexities 
of new design.


Cheers

Gopal
------------------------
SUN Microsystems, India


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

Reply via email to