- From: <Paul.V.Biron@kp.org>
- Date: Thu, 29 Dec 2005 15:30:25 -0800
- To: petexmldev@tech-know-ware.com
- Cc: paul.downey@bt.com, public-xsd-databinding@w3.org, public-xsd-databinding-request@w3.org, ylafon@w3.org
> > type myInteger is range 10000 .. 99999; > > Even though these sorts of constraints are not natively supported by the > class based languages such as C++ and Java, they can be readily applied > through the use of accessor methods for get() and set(). They can also be > applied during unmarshalling. Even languages such as C, which can't control > access to private variables in the same way that C++ and Java can, can apply > the constraints at marshalling time (possibly a case of better late than > never!). > > Hence for most languages such constraints should not be a problem. +1. Don't forget constructors, as well. pvb
Received on Thursday, 29 December 2005 23:51:17 UTC