Re: question on schemas

Steve Loughran <[email protected]>
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Andreas Unterkircher wrote:
> Hello,
> 
> is it possible to OR schemas in SmartFrog ? E.g. I have component which 
> either has to have attribute
> 
> a1 String
> a2 String 
> 
> OR
> 
> b1 Vector
> 
> "OR" means that it should be also possible to have a1,a2,b1 present but 
> not a1,b1 or a2,b1 or none of the above.
> 
> Thanks,
> Andreas

I see what you are trying to do, and the answer is no. every type is 
independent; there is no and/or/xor logic in there. that kind of 
complexity has to be handled in the component itself.

-steve


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.