[xsd-users] Customize sequence and optionals

WEBER Stefan stefan.weber at efgfp.com
Wed Jan 28 04:34:19 EST 2009


Hi Boris,

> Another, probably easier, approach would be to customize the 
> parsing constructor for Outer. In it you will fist call the 
> OuterBase version and then initialize the missing optional 
> elements with default value.
> This way you won't need to "hide" any functions. The only 
> drawback of this approach is that the user of your object 
> model will still have to go though the optional interface 
> though the check for presence is no longer necessary.

That's another good idea, thanks a lot--however this only works for the
optionals, not for the sequences.

Another possibility to avoid hiding functions is to specify a regex for
the accessors and modifiers of the optionals/sequences.

Stefan

==== The EFG Mail Gateway made the following annotation =====
This message is for the addressee only and may contain confidential or
privileged information. You must delete and not use it if you are not
the intended recipient. It may not be secure or error-free. All e-mail
communications to and from the EFG Financial Products Group may be monitored.
Processing of incoming e-mails cannot be guaranteed. Any views expressed
in this message are those of the individual sender. This message is for
information purposes only. All liability of the EFG Financial Products Group
and its entities for any damages resulting from e-mail use is excluded.
US persons are kindly requested to read the important legal information
presented at following URL: http://www.efgfp.com. If you suspect that the
message may have been intercepted or amended, please call the sender.
Should you require any further information, please contact the Compliance
Manager on compliance at efgfp.com.
=============================================================





More information about the xsd-users mailing list